Re: Patches applied; initdb time!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Patches applied; initdb time!
Дата
Msg-id 26761.1019424167@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Patches applied; initdb time!  (Thomas Lockhart <thomas@fourpalms.org>)
Список pgsql-hackers
Thomas Lockhart <thomas@fourpalms.org> writes:
> More specifically, the *only* compiler warning I see (other than the
> usual yacc/lex symbol warnings) is that a routine in gram.y,
> set_name_needs_quotes(), is defined but not used. Don't know where that
> routine came from, and afaik I didn't accidentally remove a reference
> when trying to merge changes...

Yeah, you did.  However the routine could possibly go away now.
It was a hack I put in recently to handle cases like

regression=# create schema "MySchema";
CREATE
regression=# create schema "MyOtherSchema";
CREATE
regression=# set search_path TO "MySchema", "MyOtherSchema";
ERROR:  SET takes only one argument for this parameter

Formerly gram.y merged the list items into a single string, and so it
needed to double-quote mixed-case names to prevent case folding when
the string got re-parsed later.

This example worked last week, and probably would work again if the
system were applying your new list-argument logic for search_path ...
but I'm not sure where to look to learn about that.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Patches applied; initdb time!
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Patches applied; initdb time!