Re: Patch to psql to allow SEARCH_PATH to be set from env

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Patch to psql to allow SEARCH_PATH to be set from env
Дата
Msg-id 8765eewumw.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Re: Patch to psql to allow SEARCH_PATH to be set from env  (Scott Goodwin <scott@scottg.net>)
Ответы Re: Patch to psql to allow SEARCH_PATH to be set from env  (Scott Goodwin <scott@scottg.net>)
Список pgsql-patches
Scott Goodwin <scott@scottg.net> writes:
> If anyone cares to, I'd still like feedback on anything I could have
> done better in this patch

Since, you asked, two minor points: (1) palloc() is for memory
allocation in the backend; use malloc() (or a wrapper like
pg_malloc()) in frontend apps and libpq (2) naming variables like
word1_Word2 is inconsistent with the surrounding code.

-Neil


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

Предыдущее
От: Scott Goodwin
Дата:
Сообщение: Re: Patch to psql to allow SEARCH_PATH to be set from env
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Patch to psql to allow SEARCH_PATH to be set from env