From 2b84cbb60f6ff6cb58d42dff026aaf0b2e9ca8ab Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 29 Jan 2000 16:58:54 +0000 Subject: A few minor psql enhancements Initdb help correction Changed end/abort to commit/rollback and changed related notices Commented out way old printing functions in libpq Fixed a typo in alter table / alter column --- src/bin/psql/large_obj.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bin/psql/large_obj.c') diff --git a/src/bin/psql/large_obj.c b/src/bin/psql/large_obj.c index cdc2c24c065..164956fded9 100644 --- a/src/bin/psql/large_obj.c +++ b/src/bin/psql/large_obj.c @@ -1,9 +1,9 @@ /* * psql - the PostgreSQL interactive terminal * - * Copyright 2000 by PostgreSQL Global Development Team + * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/large_obj.c,v 1.6 2000/01/18 23:30:23 petere Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/large_obj.c,v 1.7 2000/01/29 16:58:48 petere Exp $ */ #include #include "large_obj.h" @@ -60,8 +60,8 @@ handle_transaction(void) if (notice[0]) { - if ((!commit && strcmp(notice, "NOTICE: UserAbortTransactionBlock and not in in-progress state\n") != 0) || - (commit && strcmp(notice, "NOTICE: EndTransactionBlock and not inprogress/abort state\n") != 0)) + if ((!commit && strcmp(notice, "NOTICE: ROLLBACK: no transaction in progress\n") != 0) || + (commit && strcmp(notice, "NOTICE: COMMIT: no transaction in progress\n") != 0)) fputs(notice, stderr); } else if (!QUIET()) -- cgit v1.2.3