Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7059464

Browse files
committed
Fix for \dd on types.
1 parent002796b commit7059464

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/psql/psql.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.117 1997/11/26 02:34:28 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.118 1997/11/30 17:46:01 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -757,6 +757,7 @@ objectDescription(PsqlSettings *pset, char *object, FILE *fout)
757757
strcat(descbuf," pg_type.oid = pg_description.objoid " );
758758
if (!(res=PSQLexec(pset,descbuf)))
759759
return-1;
760+
elseif (PQntuples(res) <=0)
760761
{
761762
PQclear(res);
762763
descbuf[0]='\0';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp