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

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

Commit: 1cef5beeea8b39a84a161c16bac0af7ee1ed2df4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-03-21T16:29:31Z
Releases: 8.0.2
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