Re: [HACKERS] psql --batch - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [HACKERS] psql --batch
Date
Msg-id alpine.DEB.2.20.1708281319120.9003@lancre
Whole thread Raw
In response to Re: [HACKERS] psql --batch  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
> I don't doubt about a sense of this configuration - but this specific
> combination depends on usage - so I don't think so using special option is
> good idea.

Although I agree with you that detailed settings are definitely debatable, 
I'd say that at least it would be a more reasonable starting point for 
scripting than the default configuration which is more interactive usage 
oriented.

So even if unperfect, one is free to update defaults to suit more closely 
their needs, eg "psql -B -F ':' ...", at least most of the scripting 
conviniencies are already there.

I think that such a scripting mode should also imply --no-readline.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] [BUGS] Bug in Physical Replication Slots (at least 9.5)?
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] 1 test fails in make installcheck-world - database "regress_ecpg_user2" does not exist