Re: VIP: new format for psql - shell - simple using psql in shell
Jim Nasby <jim@nasby.net>
From: Jim Nasby <jim@nasby.net>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2012-06-04T20:32:33Z
Lists: pgsql-hackers
On 5/26/12 10:16 PM, Pavel Stehule wrote: > My idea is secure to separator - because separator is just space and > new line and these symbols are escaped. ISTM it'd be a really good idea to support something other than space, since presumably that'd be trivial. I'm not a fan of supporting the array construction. If you get to that level of complexity in bash it's a really good sign that you need to use a real language. If we do add array support then it needs to be keyed to the actual shell in use, because it's inconsistent between them. -- Jim C. Nasby, Database Architect jim@nasby.net 512.569.9461 (cell) http://jim.nasby.net