| От | Alvaro Herrera |
|---|---|
| Тема | pgsql: Fix opclass/opfamily identity strings |
| Дата | |
| Msg-id | E1YO8gC-0003ia-LR@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/9c7dd350199fa030ccbd5538e1b8e13a9603fda4 Modified Files -------------- src/backend/catalog/objectaddress.c | 4 ++-- src/test/regress/expected/object_address.out | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера