Re: refer function name by a variable in the function body

Поиск
Список
Период
Сортировка
От amulsul
Тема Re: refer function name by a variable in the function body
Дата
Msg-id 1455713648886-5888012.post@n5.nabble.com
обсуждение исходный текст
Ответ на refer function name by a variable in the function body  (Suresh Raja <suresh.rajaabc@gmail.com>)
Список pgsql-sql
>raise info 'starting function compute_X as %' user_id || timeofday();

Use 'user' or 'current_user' instead of user_id, it will work. You've typo,
comma is missing before user_id.

Regards,
Amul Sul



--
View this message in context:
http://postgresql.nabble.com/refer-function-name-by-a-variable-in-the-function-body-tp5887848p5888012.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



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

Предыдущее
От: Suresh Raja
Дата:
Сообщение: refer function name by a variable in the function body
Следующее
От: David Binney
Дата:
Сообщение: Query about foreign key details for php framework