From: | Uriy Zhuravlev <u(dot)zhuravlev(at)postgrespro(dot)ru> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: WIP: Enhanced ALTER OPERATOR |
Date: | 2015-05-25 16:44:57 |
Message-ID: | 14346041.DNcb5Y1inS@dinodell |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello Hackers.
I reworked the patch. Now, the syntax is similar to CREATE OPERATOR.
And as I wrote earlier problems with the cache I have not found. If someone
can suggest how it could be verified that would be happy.
New syntax example:
ALTER OPERATOR === (boolean, boolean) SET (COMMUTATOR = =);
ALTER OPERATOR === (boolean, boolean) SET (NEGATOR = =);
ALTER OPERATOR === (boolean, boolean) SET (RESTRICT = example_func);
ALTER OPERATOR === (boolean, boolean) SET (JOIN = example_func);
ALTER OPERATOR === (boolean, boolean) SET (
COMMUTATOR = NULL,
NEGATOR = NULL,
RESTRICT = NULL,
JOIN = NULL
);
Thanks!
--
Uriy Zhuravlev
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Attachment | Content-Type | Size |
---|---|---|
extend_alter_operator_v2.patch | text/x-patch | 28.0 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2015-05-25 16:49:41 | Re: Run pgindent now? |
Previous Message | Bruce Momjian | 2015-05-25 16:41:18 | Re: Run pgindent now? |