|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * 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 $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -777,7 +777,8 @@ objectDescription(PsqlSettings *pset, char *object, FILE *fout)
|
777 | 777 | strcat(descbuf,"WHERE pg_operator.oprname = '");
|
778 | 778 | strcat(descbuf,object);
|
779 | 779 | 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 " ); |
781 | 782 | if (!(res=PSQLexec(pset,descbuf)))
|
782 | 783 | return-1;
|
783 | 784 | elseif (PQntuples(res) <=0)
|
|