only print postgres server version if debug enabled
This commit is contained in:
parent
23735a66de
commit
7343bbeb00
@ -34,7 +34,9 @@ namespace Colegio {
|
||||
if (db.get_status () != Postgres.ConnectionStatus.OK) {
|
||||
throw new PostgresError.CONNECT (db.get_error_message ());
|
||||
}
|
||||
#if DEBUG
|
||||
GLib.print ("Versión de servidor de Postgresql:" + " %d\n", db.get_server_version ());
|
||||
#endif
|
||||
}
|
||||
|
||||
public string escape (string str) throws PostgresError {
|
||||
|
Loading…
Reference in New Issue
Block a user