pgsql: ecpg: Catch zero-length Unicode identifiers correctly - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: ecpg: Catch zero-length Unicode identifiers correctly
Date
Msg-id E1n7aPK-0000Ix-V7@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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: https://www.postgresql.org/message-id/flat/82fafa79-331c-9d65-e51b-8b5d1b2383fc%40enterprisedb.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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Move any code specific to log_destination=csvlog to its own file
Next
From: Tom Lane
Date:
Subject: pgsql: Include permissive/enforcing state in sepgsql log messages.