pgsql: Allow type_func_name_keywords in even more places
В списке pgsql-committers по дате отправления:
| От | Stephen Frost |
|---|---|
| Тема | pgsql: Allow type_func_name_keywords in even more places |
| Дата | |
| Msg-id | E1W5p1T-0004bl-To@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
Allow type_func_name_keywords in even more places A while back, 2c92edad48796119c83d7dbe6c33425d1924626d allowed type_func_name_keywords to be used in more places, including role identifiers. Unfortunately, that commit missed out on cases where name_list was used for lists-of-roles, eg: for DROP ROLE. This resulted in the unfortunate situation that you could CREATE a role with a type_func_name_keywords-allowed identifier, but not DROP it (directly- ALTER could be used to rename it to something which could be DROP'd). This extends allowing type_func_name_keywords to places where role lists can be used. Back-patch to 9.0, as 2c92edad48796119c83d7dbe6c33425d1924626d was. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/cbd850bf609c5b1d51874ba9611723cb17da8626 Modified Files -------------- src/backend/parser/gram.y | 48 +++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 21 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера