AW: [HACKERS] Re: Regress tests reveal *serious* psql bug - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: [HACKERS] Re: Regress tests reveal *serious* psql bug
Date
Msg-id 219F68D65015D011A8E000006F8590C603FDC1FE@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> If I'm going to hack around in that code, one related question: what
> should the deal be regarding variable interpolation into quoted
> strings? Yes/No/Maybe?

definitely No. If you want to specify a string with an embedded variable,
the imho expected syntax would be:

'The table ' || :tabname || ' is empty'

Of course that has the problem, that psql would have to quote the :tabname
content.

Andreas


pgsql-hackers by date:

Previous
From: Michael Robinson
Date:
Subject: Re: [HACKERS] Copy from/to asymmetry
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: [HACKERS] Re: Regress tests reveal *serious* psql bug