BUG #2542: ALTER USER foo SET bar = func(baz) errors out

Поиск
Список
Период
Сортировка
От David Fetter
Тема BUG #2542: ALTER USER foo SET bar = func(baz) errors out
Дата
Msg-id 200607210140.k6L1eeX4070001@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #2542: ALTER USER foo SET bar = func(baz) errors out  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2542
Logged by:          David Fetter
Email address:      david@fetter.org
PostgreSQL version: All
Operating system:   All
Description:        ALTER USER foo SET bar = func(baz) errors out
Details:

foo=> ALTER USER foo SET search_path = current_setting('search_path');
ERROR:  syntax error at or near "(" at character 52
LINE 1: ...LTER USER foo SET search_path = current_setting('search_p...

is there some way to let the right hand side of SET be the (TEXT) output of
a function?

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #2540: function upper(..) and operator 'like' problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2542: ALTER USER foo SET bar = func(baz) errors out