Re: How to *really* quit psql?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: How to *really* quit psql?
Date: 2022-11-19 19:10:31
Message-ID: 2623823.1668885031@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> writes:
> - when the current script is included from something,
> you quit the current script and proceed after the \i of next -f, BAD

> Question: is there any way to really abort a psql script from an included
> file?

Under what circumstances would it be appropriate for a script to take
it on itself to decide that? It has no way of knowing what the next -f
option is or what the user intended.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2022-11-19 19:25:34 Re: How to *really* quit psql?
Previous Message Fabien COELHO 2022-11-19 18:55:36 How to *really* quit psql?