|
3 | 3 | *
|
4 | 4 | * Copyright (c) 2000-2003, PostgreSQL Global Development Group
|
5 | 5 | *
|
6 |
| - * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.83 2003/08/04 23:59:40 tgl Exp $ |
| 6 | + * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.84 2003/08/09 01:21:54 momjian Exp $ |
7 | 7 | */
|
8 | 8 | #include"postgres_fe.h"
|
9 | 9 | #include"describe.h"
|
@@ -746,7 +746,7 @@ describeOneTableDetails(const char *schemaname,
|
746 | 746 | {
|
747 | 747 | PGresult*result;
|
748 | 748 |
|
749 |
| -printfPQExpBuffer(&buf,"SELECT pg_catalog.pg_get_viewdef('%s'::pg_catalog.oid)",oid); |
| 749 | +printfPQExpBuffer(&buf,"SELECT pg_catalog.pg_get_viewdef('%s'::pg_catalog.oid, true)",oid); |
750 | 750 | result=PSQLexec(buf.data, false);
|
751 | 751 | if (!result)
|
752 | 752 | gotoerror_return;
|
@@ -926,7 +926,7 @@ describeOneTableDetails(const char *schemaname,
|
926 | 926 | footers=xmalloczero((rule_count+2)*sizeof(*footers));
|
927 | 927 | footers[count_footers]=xmalloc(64+strlen(view_def));
|
928 | 928 | snprintf(footers[count_footers],64+strlen(view_def),
|
929 |
| -_("View definition:%s"),view_def); |
| 929 | +_("View definition:\n%s"),view_def); |
930 | 930 | count_footers++;
|
931 | 931 |
|
932 | 932 | /* print rules */
|
|