mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Expose quote_literal_cstr() from core.
This eliminates the need for inefficient implementions of this functionality in both contrib/dblink and contrib/tablefunc, so remove them. The upcoming patch implementing an in-core format() function will also require this functionality. In passing, add some regression tests.
This commit is contained in:
@ -977,6 +977,7 @@ extern int32 type_maximum_size(Oid type_oid, int32 typemod);
|
||||
/* quote.c */
|
||||
extern Datum quote_ident(PG_FUNCTION_ARGS);
|
||||
extern Datum quote_literal(PG_FUNCTION_ARGS);
|
||||
extern char *quote_literal_cstr(char *rawstr);
|
||||
extern Datum quote_nullable(PG_FUNCTION_ARGS);
|
||||
|
||||
/* guc.c */
|
||||
|
Reference in New Issue
Block a user