[HACKERS] Allowing nonzero return codes from \quit
От
Corey Huinker
Тема
[HACKERS] Allowing nonzero return codes from \quit
Дата
Msg-id
CADkLM=f2+WapEyL1qc12UfgkQmW-_ykk-UNNqukDvYORd5sJAQ@mail.gmail.com
Список
Дерево обсуждения
[HACKERS] Allowing nonzero return codes from \quit Corey Huinker <corey.huinker@gmail.com>
Re: [HACKERS] Allowing nonzero return codes from \quit Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] Allowing nonzero return codes from \quit Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] Allowing nonzero return codes from \quit Corey Huinker <corey.huinker@gmail.com>
Re: [HACKERS] Allowing nonzero return codes from \quit Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] Allowing nonzero return codes from \quit Tom Lane <tgl@sss.pgh.pa.us>
Another suggestion to come out of the \quit_if discussion was that someone might want to send a return code other than 0 back. Something like this:\quit 4or even:This isn't a personal need of mine, but I figured it was an idea worth discussing on its own.
\set exit_code 127
\quit :exit_code
В списке pgsql-hackers по дате отправления