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

Commit97ad0b1

Browse files
committed
\dd fix.
1 parent43c7114 commit97ad0b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/bin/psql/psql.c

Lines changed: 3 additions & 2 deletions
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.116 1997/11/24 14:15:11 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.117 1997/11/26 02:34:28 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -777,7 +777,8 @@ objectDescription(PsqlSettings *pset, char *object, FILE *fout)
777777
strcat(descbuf,"WHERE pg_operator.oprname = '");
778778
strcat(descbuf,object);
779779
strcat(descbuf,"'" );
780-
strcat(descbuf," and pg_operator.oid = pg_description.objoid " );
780+
/* operator descriptions are attached to the proc */
781+
strcat(descbuf," and RegprocToOid(pg_operator.oprcode) = pg_description.objoid " );
781782
if (!(res=PSQLexec(pset,descbuf)))
782783
return-1;
783784
elseif (PQntuples(res) <=0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp