Re: [HACKERS] psql -e and -n flags - Mailing list pgsql-hackers

From Karl DeBisschop
Subject Re: [HACKERS] psql -e and -n flags
Date
Msg-id 200002061649.LAA07735@skillet.infoplease.com
Whole thread Raw
In response to Re: [HACKERS] psql -e and -n flags  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
List pgsql-hackers
>I'd suggest a switch style like "-ee" or "-eb" (backend) or "-ev"
>(verbatim) or ??? Comments?

Don's suggestion seems the right track for me.

It stays away from counting flags, which seems right.  It sticks with
one-char flags for single dashes whihc is not the law but is common
enough to be intuitive for many users.  PLus there's an aesthetic
appeal to -e for 'echo' and -E for 'echo everything'.  It also does
not change current behavior in cases where people are expecting psql
-e to behave a certain way.

Just my $0.02 worth as a user.



pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Implicit RTEs
Next
From: Thomas Lockhart
Date:
Subject: Duplicate table names