Search Postgresql Archives

Re: conditionally terminate psql script

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

 



On Tue, Dec 18, 2018 at 2:44 PM Steven Lembark <lembark@xxxxxxxxxxx> wrote:
> > there is a \if statement
>
> Q: What is the "abort cycle command"?
[...]
>     \if :lacks_rows
>
>         \echo foobar lacks rows to process.
>         \echo goodnight :-)
>
>         ?????????    <--- what goes here to stop execution?

\quit

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