We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273ae97 commit 60ac5b8Copy full SHA for 60ac5b8
src/bin/psql/describe.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright 2000-2002 by PostgreSQL Global Development Group
5
6
- * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.59 2002/08/10 03:56:24 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/describe.c,v 1.60 2002/08/10 16:01:16 tgl Exp $
7
*/
8
#include "postgres_fe.h"
9
#include "describe.h"
@@ -714,11 +714,7 @@ describeOneTableDetails(const char *schemaname,
714
printfPQExpBuffer(&buf, "SELECT pg_catalog.pg_get_viewdef('%s'::pg_catalog.oid)", oid);
715
result = PSQLexec(buf.data);
716
if (!result)
717
- {
718
- PQclear(res);
719
- PQclear(result);
720
goto error_return;
721
- }
722
723
if (PQntuples(result) > 0)
724
view_def = xstrdup(PQgetvalue(result, 0, 0));
0 commit comments