Tom Lane wrote: > 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). Well, OK, that may be true for -X and certain others, but not necessarily for --variable. > Furthermore, changing it would likely break existing applications. Fair enough. Any comments on my other points and questions, Tom? -Julian
Attachment:
signature.asc
Description: This is a digitally signed message part.