diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-07 20:56:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-07 20:56:07 +0000 |
commit | b4b62cff9343404edcf144df41765eb899d448bc (patch) | |
tree | dea2725fbb982d8d85643cfc2d84119cfd73e82d /src/backend | |
parent | 1b59b442cee757f28a3951de698c706035d5e278 (diff) | |
download | postgresql-b4b62cff9343404edcf144df41765eb899d448bc.tar.gz postgresql-b4b62cff9343404edcf144df41765eb899d448bc.zip |
Apply the proper version of Christopher Kings-Lynne's describe patch
(ie, the one with describe-schema support). Minor code review.
Adjust display of casts to use standard type names.
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/catalog/namespace.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/backend/catalog/namespace.c b/src/backend/catalog/namespace.c index fa0d20af307..0c571ca2a40 100644 --- a/src/backend/catalog/namespace.c +++ b/src/backend/catalog/namespace.c @@ -13,7 +13,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/catalog/namespace.c,v 1.42 2002/12/12 21:02:19 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/catalog/namespace.c,v 1.43 2003/01/07 20:56:06 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -145,6 +145,7 @@ Datum pg_operator_is_visible(PG_FUNCTION_ARGS); Datum pg_opclass_is_visible(PG_FUNCTION_ARGS); Datum pg_conversion_is_visible(PG_FUNCTION_ARGS); + /* * RangeVarGetRelid * Given a RangeVar describing an existing relation, @@ -1084,7 +1085,7 @@ ConversionIsVisible(Oid conid) ObjectIdGetDatum(conid), 0, 0, 0); if (!HeapTupleIsValid(contup)) - elog(ERROR, "Cache lookup failed for converions %u", conid); + elog(ERROR, "Cache lookup failed for conversion %u", conid); conform = (Form_pg_conversion) GETSTRUCT(contup); recomputeNamespacePath(); @@ -1104,7 +1105,7 @@ ConversionIsVisible(Oid conid) * If it is in the path, it might still not be visible; it could * be hidden by another conversion of the same name earlier in the * path. So we must do a slow check to see if this conversion would - * be found by ConvnameGetConid. + * be found by ConversionGetConid. */ char *conname = NameStr(conform->conname); |