pgsql: ecpg: Catch zero-length Unicode identifiers correctly
Started by Peter Eisentrautover 4 years ago1 messagescomitters
ecpg: Catch zero-length Unicode identifiers correctly
The previous code to detect a zero-length identifier when using
Unicode identifiers such as
exec sql select u&"";
did not work. This fixes that.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: /messages/by-id/82fafa79-331c-9d65-e51b-8b5d1b2383fc@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a18b6d2dc288dfa6e7905ede1d4462edd6a8af47
Modified Files
--------------
src/interfaces/ecpg/preproc/pgc.l | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)