107 if (SvREADONLY(sv) ||
109 (SvTYPE(sv) > SVt_PVLV && SvTYPE(sv) != SVt_PVFM))
155 return newSVpv(
str, 0);
159 sv = newSVpv(utf8_str, 0);
191 SV *errsv =
get_sv(
"@", GV_ADD);
195 ssv = mess(
"%s", utf8_str);
200 sv_setsv(errsv, ssv);
static void PGresult * res
char * pg_any_to_server(const char *s, int len, int encoding)
int GetDatabaseEncoding(void)
char * pg_server_to_any(const char *s, int len, int encoding)
char * pstrdup(const char *in)
void pfree(void *pointer)
void plperl_return_next(SV *)
HV * plperl_spi_exec(char *, int)
void plperl_spi_cursor_close(char *)
char * plperl_sv_to_literal(SV *, char *)
void plperl_spi_rollback(void)
SV * plperl_spi_query(char *)
SV * plperl_spi_prepare(char *, int, SV **)
SV * plperl_spi_query_prepared(char *, int, SV **)
static SV * cstr2sv(const char *str)
HV * plperl_spi_exec_prepared(char *, HV *, int, SV **)
static void croak_cstr(const char *str)
static char * utf_e2u(const char *str)
SV * plperl_spi_fetchrow(char *)
static char * utf_u2e(char *utf8_str, size_t len)
static char * sv2cstr(SV *sv)
void plperl_util_elog(int level, SV *msg)
void plperl_spi_commit(void)
void plperl_spi_freeplan(char *)
#define SvREFCNT_inc_simple_void(sv)