diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-02-18 14:44:27 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-02-18 14:44:27 -0300 |
commit | 9c7dd350199fa030ccbd5538e1b8e13a9603fda4 (patch) | |
tree | 017b97c385350ee6d1774a57ab8e6c9ee89468c0 /src/backend/utils/adt/array_userfuncs.c | |
parent | 0d906798f680b2dd86cbc8d31ba64685aeb12092 (diff) | |
download | postgresql-9c7dd350199fa030ccbd5538e1b8e13a9603fda4.tar.gz postgresql-9c7dd350199fa030ccbd5538e1b8e13a9603fda4.zip |
Fix opclass/opfamily identity strings
The original representation uses "opcname for amname", which is good
enough; but if we replace "for" with "using", we can apply the returned
identity directly in a DROP command, as in
DROP OPERATOR CLASS opcname USING amname
This slightly simplifies code using object identities to programatically
execute commands on these kinds of objects.
Note backwards-incompatible change:
The previous representation dates back to 9.3 when object identities
were introduced by commit f8348ea3, but we don't want to change the
behavior on released branches unnecessarily and so this is not
backpatched.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions