diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-16 23:08:12 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-16 23:08:12 +0000 |
commit | 6cef5d2549110c6c0abb92215c2593e652024493 (patch) | |
tree | 7481a5b0bec7227c23f4b846cd7a1e40b47bf20e /src/include/utils/syscache.h | |
parent | 4da51bfd6d89762f0a3cacde6edf1ac63c09349e (diff) | |
download | postgresql-6cef5d2549110c6c0abb92215c2593e652024493.tar.gz postgresql-6cef5d2549110c6c0abb92215c2593e652024493.zip |
Operators live in namespaces. CREATE/DROP/COMMENT ON OPERATOR take
qualified operator names directly, for example CREATE OPERATOR myschema.+
( ... ). To qualify an operator name in an expression you need to write
OPERATOR(myschema.+) (thanks to Peter for suggesting an escape hatch).
I also took advantage of having to reformat pg_operator to fix something
that'd been bugging me for a while: mergejoinable operators should have
explicit links to the associated cross-data-type comparison operators,
rather than hardwiring an assumption that they are named < and >.
Diffstat (limited to 'src/include/utils/syscache.h')
-rw-r--r-- | src/include/utils/syscache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h index 7d31a57be61..e567a8b22b6 100644 --- a/src/include/utils/syscache.h +++ b/src/include/utils/syscache.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: syscache.h,v 1.44 2002/04/11 20:00:17 tgl Exp $ + * $Id: syscache.h,v 1.45 2002/04/16 23:08:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -46,7 +46,7 @@ #define LANGOID 15 #define NAMESPACENAME 16 #define NAMESPACEOID 17 -#define OPERNAME 18 +#define OPERNAMENSP 18 #define OPEROID 19 #define PROCNAMENSP 20 #define PROCOID 21 |