Re: proposal - assign result of query to psql variable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal - assign result of query to psql variable
Дата
Msg-id 20927.1359221128@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal - assign result of query to psql variable  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: proposal - assign result of query to psql variable  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> +1. This looks quite nifty. Maybe useful too to have a default prefix 
> via some setting.

Meh.  I would expect that "\gset :foo" would work to specify a computed
prefix if you wanted it --- isn't that sufficient indirection?  I'm not
thrilled with further expanding the set of magic variables in psql.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: plpgsql_check_function - rebase for 9.3
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal - assign result of query to psql variable