Search Postgresql Archives

Re: "--variable foo=bar" vs. "\set foo quux" in ~/.psqlrc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Julian Mehnle <julian@xxxxxxxxxx> writes:
> Can anyone confirm that --variable command-line options are evaluated
> before .psqlrc is read and executed?  If so, does anyone know the
> rationale for that?  It seems counterintuitive to me, as it makes
> overriding variables from the command-line impossible.

Seems entirely intuitive to me, as we can certainly not process .psqlrc
before processing the command line options (one of them might be -X for
instance).  Furthermore, changing it would likely break existing
applications.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux