mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 00:03:09 -04:00
\dd fix.
This commit is contained in:
parent
43c7114b48
commit
97ad0b1cd4
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.116 1997/11/24 14:15:11 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.117 1997/11/26 02:34:28 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -777,7 +777,8 @@ objectDescription(PsqlSettings *pset, char *object, FILE *fout)
|
|||||||
strcat(descbuf, "WHERE pg_operator.oprname = '");
|
strcat(descbuf, "WHERE pg_operator.oprname = '");
|
||||||
strcat(descbuf, object);
|
strcat(descbuf, object);
|
||||||
strcat(descbuf, "'" );
|
strcat(descbuf, "'" );
|
||||||
strcat(descbuf, " and pg_operator.oid = pg_description.objoid " );
|
/* operator descriptions are attached to the proc */
|
||||||
|
strcat(descbuf, " and RegprocToOid(pg_operator.oprcode) = pg_description.objoid " );
|
||||||
if (!(res = PSQLexec(pset, descbuf)))
|
if (!(res = PSQLexec(pset, descbuf)))
|
||||||
return -1;
|
return -1;
|
||||||
else if (PQntuples(res) <= 0)
|
else if (PQntuples(res) <= 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user