File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 33 *
44 * Copyright (c) 2000-2009, PostgreSQL Global Development Group
55 *
6- * $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.141 2009/01/01 17:23 :54 momjian Exp $
6+ * $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.142 2009/04/11 18:38 :54 alvherre Exp $
77 */
88#include "postgres_fe.h"
99#include "common.h"
@@ -824,8 +824,8 @@ SendQuery(const char *query)
824824 {
825825 if (on_error_rollback_warning == false && pset .sversion < 80000 )
826826 {
827- fprintf (stderr , _ ("The server version ( %d) does not support savepoints for ON_ERROR_ROLLBACK.\n" ),
828- pset .sversion );
827+ fprintf (stderr , _ ("The server ( version %d. %d) does not support savepoints for ON_ERROR_ROLLBACK.\n" ),
828+ pset .sversion / 10000 , ( pset . sversion / 100 ) % 100 );
829829 on_error_rollback_warning = true;
830830 }
831831 else
You can’t perform that action at this time.
0 commit comments