File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 88 *
99 * Copyright (c) 2000-2009, PostgreSQL Global Development Group
1010 *
11- * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.217 2009/06/12 16:17:29 tgl Exp $
11+ * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.218 2009/06/13 13:43:34 petere Exp $
1212 */
1313#include "postgres_fe.h"
1414
@@ -1572,13 +1572,9 @@ describeOneTableDetails(const char *schemaname,
15721572 printTableAddFooter (& cont , _ ("Referenced by:" ));
15731573 for (i = 0 ; i < tuples ; i ++ )
15741574 {
1575- /*
1576- * translator: the first %s is a FK name, the following
1577- * are a table name and the FK definition
1578- */
1579- printfPQExpBuffer (& buf , _ (" \"%s\" IN %s %s" ),
1580- PQgetvalue (result , i , 0 ),
1575+ printfPQExpBuffer (& buf , " TABLE \"%s\" CONSTRAINT \"%s\" %s" ,
15811576 PQgetvalue (result , i , 1 ),
1577+ PQgetvalue (result , i , 0 ),
15821578 PQgetvalue (result , i , 2 ));
15831579
15841580 printTableAddFooter (& cont , buf .data );
You can’t perform that action at this time.
0 commit comments