Re: proposal: alternative psql commands quit and exit

2017-12-09 Thread Daniel Vérité
ble in psql. The issue of alignment is non-trivial if we wish to retain the nice-to-have property that if you copy-paste psql session in an editor, the prompting can generally be filtered out with a simple column-cut. Best regards, -- Daniel Vérité PostgreSQL-powered mailer: http://www.manitou-mail.org Twitter: @DanielVerite

Re: proposal: alternative psql commands quit and exit

2017-12-09 Thread Daniel Vérité
the line number and proper alignment, so the above session could end up displayed like this: postgres=> select 2+2 2-> help 3-> quit 4-> exit That way, the more lines are typed, the more it becomes obvious that you're in a multi-line statement. Plus numberin

Re: proposal: alternative psql commands quit and exit

2017-12-08 Thread Daniel Vérité
mplement "show tablename;"? Well, this one is impossible because SHOW is already a SQL command that does something else, so that's already the end of that road to compatibility. Personally I'm +1 on accepting the additional "exit" and "quit" as synonyms f