PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char * | strtokx (const char *s, const char *whitespace, const char *delim, const char *quote, char escape, bool e_strings, bool del_quotes, int encoding) |
void | strip_quotes (char *source, char quote, char escape, int encoding) |
char * | quote_if_needed (const char *source, const char *entails_quote, char quote, char escape, bool force_quote, int encoding) |
char* quote_if_needed | ( | const char * | source, |
const char * | entails_quote, | ||
char | quote, | ||
char | escape, | ||
bool | force_quote, | ||
int | encoding | ||
) |
Definition at line 292 of file stringutils.c.
References Assert, encoding, free, i, pg_malloc(), PQmblenBounded(), and source.
void strip_quotes | ( | char * | source, |
char | quote, | ||
char | escape, | ||
int | encoding | ||
) |
Definition at line 240 of file stringutils.c.
References Assert, encoding, i, PQmblenBounded(), and source.
Referenced by parse_slash_copy(), and strtokx().
char* strtokx | ( | const char * | s, |
const char * | whitespace, | ||
const char * | delim, | ||
const char * | quote, | ||
char | escape, | ||
bool | e_strings, | ||
bool | del_quotes, | ||
int | encoding | ||
) |
Definition at line 52 of file stringutils.c.
References encoding, free, pg_malloc(), PQmblenBounded(), start, storage, and strip_quotes().
Referenced by parse_slash_copy().