patch-db_postgres_cpp 693 B

1234567891011121314
  1. $OpenBSD: patch-db_postgres_cpp,v 1.2 2016/11/01 09:10:41 landry Exp $
  2. Fix with psql 9.2
  3. --- db/postgres.cpp.orig Mon Mar 10 14:44:59 2014
  4. +++ db/postgres.cpp Wed Apr 30 22:56:02 2014
  5. @@ -111,7 +111,7 @@ class PgData (public)
  6. "Transaction start time: " + r->getEString( "xact_start" ) + " "
  7. "Username: " + r->getEString( "usename" ) + " "
  8. "Client address: " + r->getEString( "client_addr" ) + " "
  9. - "Current query: " + r->getEString( "current_query" ).quoted(),
  10. + "Current query: " + r->getEString( "query" ).quoted(),
  11. Log::Significant );
  12. }
  13. }