File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
goto error_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 */
You can’t perform that action at this time.
0 commit comments