|
8 | 8 | *
|
9 | 9 | * Copyright (c) 2000-2009, PostgreSQL Global Development Group
|
10 | 10 | *
|
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 $ |
12 | 12 | */
|
13 | 13 | #include"postgres_fe.h"
|
14 | 14 |
|
@@ -1572,13 +1572,9 @@ describeOneTableDetails(const char *schemaname,
|
1572 | 1572 | printTableAddFooter(&cont,_("Referenced by:"));
|
1573 | 1573 | for (i=0;i<tuples;i++)
|
1574 | 1574 | {
|
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", |
1581 | 1576 | PQgetvalue(result,i,1),
|
| 1577 | +PQgetvalue(result,i,0), |
1582 | 1578 | PQgetvalue(result,i,2));
|
1583 | 1579 |
|
1584 | 1580 | printTableAddFooter(&cont,buf.data);
|
|