Search Postgresql Archives

Re: Problems with using function input paramaters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 31, 2019 at 7:05 AM stan <stanb@xxxxxxxxx> 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.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux