aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/pg_dump_sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_dump/pg_dump_sort.c')
-rw-r--r--src/bin/pg_dump/pg_dump_sort.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump_sort.c b/src/bin/pg_dump/pg_dump_sort.c
index aa3e20a2d5f..80c3fa89e49 100644
--- a/src/bin/pg_dump/pg_dump_sort.c
+++ b/src/bin/pg_dump/pg_dump_sort.c
@@ -1247,7 +1247,9 @@ repairDependencyLoop(DumpableObject **loop,
}
if (i >= nLoop)
{
- write_msg(NULL, "NOTICE: there are circular foreign-key constraints among these table(s):\n");
+ write_msg(NULL, ngettext("NOTICE: there are circular foreign-key constraints on this table:\n",
+ "NOTICE: there are circular foreign-key constraints among these tables:\n",
+ nLoop));
for (i = 0; i < nLoop; i++)
write_msg(NULL, " %s\n", loop[i]->name);
write_msg(NULL, "You might not be able to restore the dump without using --disable-triggers or temporarily dropping the constraints.\n");