Re: A couple of issues with psql variable substitution - Mailing list pgsql-hackers

From Tom Lane
Subject Re: A couple of issues with psql variable substitution
Date
Msg-id 18627.1314294640@sss.pgh.pa.us
Whole thread Raw
In response to Re: A couple of issues with psql variable substitution  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: A couple of issues with psql variable substitution
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> We could just add -b unconditionally to the flex flags and then count 
> the number of lines in lex.backup. If it's greater that 1 whine loudly, 
> or even fail, otherwise remove lex.backup. Would that avoid locale 
> dependencies?

Hm, yeah, seems like that ought to work.

I'm tempted to add "-p -p" also, even though that only results in some
whinging on stderr.  It would still probably get noticed by anyone who
was changing the lexer.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: A couple of issues with psql variable substitution
Next
From: Tom Lane
Date:
Subject: Re: A couple of issues with psql variable substitution