aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-09-17 20:01:28 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-09-17 20:01:28 +0000
commitb5d609a30087afb67b4c7dac73f63f9b471d32a6 (patch)
tree20eaa7007436db34169285dc8d898f1abc7ee814 /src
parent335248c9b7cf590f03c67aa0cadfcf95627fedd5 (diff)
downloadpostgresql-b5d609a30087afb67b4c7dac73f63f9b471d32a6.tar.gz
postgresql-b5d609a30087afb67b4c7dac73f63f9b471d32a6.zip
Improve error message for dumpRules() failure
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index ad3dc94ad69..d4e112afb9a 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -22,7 +22,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.165 2000/09/15 04:35:16 pjw Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.166 2000/09/17 20:01:28 tgl Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
@@ -3994,7 +3994,7 @@ dumpRules(Archive *fout, const char *tablename,
if (!res ||
PQresultStatus(res) != PGRES_TUPLES_OK)
{
- fprintf(stderr, "dumpRules(): SELECT failed for table %s. Explanation from backend: '%s'.\n",
+ fprintf(stderr, "dumpRules(): SELECT failed for rules associated with table \"%s\".\n\tExplanation from backend: '%s'.\n",
tblinfo[t].relname, PQerrorMessage(g_conn));
exit_nicely(g_conn);
}