Fix quote_ident to use quote_identifier rather than its own, not quite

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 775d28302cda48b3f22a2f4f9067de0cf5192fff
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-03-21T16:29:20Z
Releases: 8.1.0
Fix quote_ident to use quote_identifier rather than its own, not quite
up-to-speed logic; in particular this will cause it to quote names that
match keywords.  Remove unnecessary multibyte cruft from quote_literal
(all backend-internal encodings are 8-bit-safe).

Files

PathChange+/−
src/backend/utils/adt/quote.c modified +23 −131