diff options
| author | Bruce Momjian <bruce@momjian.us> | 2002-12-12 21:02:25 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2002-12-12 21:02:25 +0000 |
| commit | 40c4472e229e46b885f4563ab377d51ba7f5e88c (patch) | |
| tree | 39c757f80439ff64cf7de0c7b48ac6d0a4ab9843 /src/include/catalog/namespace.h | |
| parent | 8ac39d02fd6d0a5679c1e000f097c2af69ab4ced (diff) | |
| download | postgresql-40c4472e229e46b885f4563ab377d51ba7f5e88c.tar.gz | |
TODO marked as done:
* Add schema, cast, and conversion backslash commands to psql
I had to create a new publically available function,
pg_conversion_is_visible, as it seemed to be missing from the catalogs.
This required me to do no small amount of hacking around in namespace.c
I have updated the \? help and sgml docs.
\dc - list conversions [PATTERN]
\dC - list casts
\dn list schemas
I didn't support patterns with casts as there's nothing obvious to match
against.
Catalog version incremented --- initdb required.
Christopher Kings-Lynne
Diffstat (limited to 'src/include/catalog/namespace.h')
| -rw-r--r-- | src/include/catalog/namespace.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/catalog/namespace.h b/src/include/catalog/namespace.h index 793a84b7c6..27e3e75168 100644 --- a/src/include/catalog/namespace.h +++ b/src/include/catalog/namespace.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: namespace.h,v 1.22 2002/11/02 18:41:22 tgl Exp $ + * $Id: namespace.h,v 1.23 2002/12/12 21:02:25 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -65,6 +65,8 @@ extern bool OperatorIsVisible(Oid oprid); extern OpclassCandidateList OpclassGetCandidates(Oid amid); extern Oid OpclassnameGetOpcid(Oid amid, const char *opcname); extern bool OpclassIsVisible(Oid opcid); +extern bool ConversionIsVisible(Oid opcid); +extern Oid ConversionGetConid(const char *conname); extern void DeconstructQualifiedName(List *names, char **nspname_p, |
