From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | David Christensen <david(at)endpoint(dot)com>, gabrielle <gorthx(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Mark Wong <markwkm(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Explicit psqlrc |
Date: | 2010-07-20 19:18:47 |
Message-ID: | 1279653456-sup-6215@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Excerpts from Robert Haas's message of mar jul 20 11:48:29 -0400 2010:
> > That seems sub-optimal; I can see people wanting to use this feature to do something like:
> >
> > psql -c 'set work_mem = blah' -f script.sql
> >
> > and then being surprised when it works differently than just `psql -f script.sql`.
>
> I agree... but then they might also be surprised if psql -c
> 'something' works differently from psql -c 'something' -f /dev/null
I think we should just make sure -X works, and have .psqlrc be read when
it's not specified regardless of -f and -c switches.
Otherwise it's just plain confusing.
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2010-07-20 19:18:58 | Re: Some git conversion issues |
Previous Message | Peter Eisentraut | 2010-07-20 19:15:56 | Re: Some git conversion issues |