ecpg: Catch zero-length Unicode identifiers correctly
Peter Eisentraut <peter@eisentraut.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/preproc/pgc.l | modified | +1 −1 |
Discussion
- small bug in ecpg unicode identifier error handling 3 messages · 2022-01-10 → 2022-01-12