Re: Problems with using function input paramaters

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Problems with using function input paramaters
Дата
Msg-id CAKFQuwaEENXNMJy9fbxN8VjAkSrRqgMWMPFma1agLevm0bZ5_Q@mail.gmail.com
обсуждение исходный текст
Ответ на Problems with using function input paramaters  (stan <stanb@panix.com>)
Ответы Re: Problems with using function input paramaters
Список pgsql-general
On Sat, Aug 31, 2019 at 7:05 AM stan <stanb@panix.com> wrote:
                                                                CURRENT_DATE) - interval '  $1
                                                                month - 1 ' day as date)

($1 || ' month')::interval  -- should work

Content within a literal (i.e., between single quotes) is always treated as literal content.

David J.

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