#include #include #include "ecpg_informix.h" #include "ecpgerrno.h" #include "ecpgtype.h" #include "pgtypes_date.h" #include "pgtypes_error.h" #include "pgtypes_numeric.h" #include "sqlca.h" #include "sqltypes.h"">

PostgreSQL Source Code: src/interfaces/ecpg/compatlib/informix.c File Reference (original) (raw)

#include "[postgres_fe.h](postgres%5F%5Ffe%5F8h%5Fsource.html)"
#include <math.h>
#include <ctype.h>
#include <limits.h>
#include "[ecpg_informix.h](ecpg%5F%5Finformix%5F8h%5Fsource.html)"
#include "[ecpgerrno.h](ecpgerrno%5F8h%5Fsource.html)"
#include "[ecpgtype.h](ecpgtype%5F8h%5Fsource.html)"
#include "[pgtypes_date.h](pgtypes%5F%5Fdate%5F8h%5Fsource.html)"
#include "[pgtypes_error.h](pgtypes%5F%5Ferror%5F8h%5Fsource.html)"
#include "[pgtypes_numeric.h](pgtypes%5F%5Fnumeric%5F8h%5Fsource.html)"
#include "[sqlca.h](sqlca%5F8h%5Fsource.html)"
#include "[sqltypes.h](sqltypes%5F8h%5Fsource.html)"

Go to the source code of this file.

Functions
static int deccall2 (decimal *arg1, decimal *arg2, int(*ptr)(numeric *, numeric *))
static int deccall3 (decimal *arg1, decimal *arg2, decimal *result, int(*ptr)(numeric *, numeric *, numeric *))
int decadd (decimal *arg1, decimal *arg2, decimal *sum)
int deccmp (decimal *arg1, decimal *arg2)
void deccopy (decimal *src, decimal *target)
static char * ecpg_strndup (const char *str, size_t len)
int deccvasc (const char *cp, int len, decimal *np)
int deccvdbl (double dbl, decimal *np)
int deccvint (int in, decimal *np)
int deccvlong (long lng, decimal *np)
int decdiv (decimal *n1, decimal *n2, decimal *result)
int decmul (decimal *n1, decimal *n2, decimal *result)
int decsub (decimal *n1, decimal *n2, decimal *result)
int dectoasc (decimal *np, char *cp, int len, int right)
int dectodbl (decimal *np, double *dblp)
int dectoint (decimal *np, int *ip)
int dectolong (decimal *np, long *lngp)
int rdatestr (date d, char *str)
int rstrdate (const char *str, date *d)
void rtoday (date *d)
int rjulmdy (date d, short *mdy)
int rdefmtdate (date *d, const char *fmt, const char *str)
int rfmtdate (date d, const char *fmt, char *str)
int rmdyjul (short *mdy, date *d)
int rdayofweek (date d)
void dtcurrent (timestamp *ts)
int dtcvasc (char *str, timestamp *ts)
int dtcvfmtasc (char *inbuf, char *fmtstr, timestamp *dtvalue)
int dtsub (timestamp *ts1, timestamp *ts2, interval *iv)
int dttoasc (timestamp *ts, char *output)
int dttofmtasc (timestamp *ts, char *output, int str_len, char *fmtstr)
int intoasc (interval *i, char *str)
static int initValue (long lng_val)
static int getRightMostDot (const char *str)
int rfmtlong (long lng_val, const char *fmt, char *outbuf)
void rupshift (char *str)
int byleng (char *str, int len)
void ldchar (char *src, int len, char *dest)
int rgetmsg (int msgnum, char *s, int maxsize)
int rtypalign (int offset, int type)
int rtypmsize (int type, int len)
int rtypwidth (int sqltype, int sqllen)
void ECPG_informix_set_var (int number, void *pointer, int lineno)
void * ECPG_informix_get_var (int number)
void ECPG_informix_reset_sqlca (void)
int rsetnull (int t, char *ptr)
int risnull (int t, const char *ptr)
Variables
static struct sqlca_t sqlca_init
struct {
long val
int maxdigits
int digits
int remaining
char sign
char * val_string
} value

POSTGRES_ECPG_INTERNAL

#define POSTGRES_ECPG_INTERNAL

byleng()

decadd()

Definition at line 151 of file informix.c.

152{

155

160 else if (errno != 0)

161 return -1;

162 else

163 return 0;

164}

#define ECPG_INFORMIX_NUM_OVERFLOW

#define ECPG_INFORMIX_NUM_UNDERFLOW

static int deccall3(decimal *arg1, decimal *arg2, decimal *result, int(*ptr)(numeric *, numeric *, numeric *))

#define PGTYPES_NUM_OVERFLOW

#define PGTYPES_NUM_UNDERFLOW

int PGTYPESnumeric_add(numeric *var1, numeric *var2, numeric *result)

References deccall3(), ECPG_INFORMIX_NUM_OVERFLOW, ECPG_INFORMIX_NUM_UNDERFLOW, fb(), PGTYPES_NUM_OVERFLOW, PGTYPES_NUM_UNDERFLOW, and PGTYPESnumeric_add().

Referenced by main().

deccall2()

deccall3()

Definition at line 86 of file informix.c.

87{

91 int i;

92

93

94

95

96

98 return 0;

99

102

104 {

107 }

108

110 {

114 }

115

117 {

122 }

123

125 {

130 }

131

133

134 if (i == 0)

135 {

136

137

140 }

141

145

146 return i;

147}

int risnull(int t, const char *ptr)

int rsetnull(int t, char *ptr)

int PGTYPESnumeric_to_decimal(numeric *src, decimal *dst)

References a1, a2, CDECIMALTYPE, ECPG_INFORMIX_OUT_OF_MEMORY, fb(), i, PGTYPESnumeric_free(), PGTYPESnumeric_from_decimal(), PGTYPESnumeric_new(), PGTYPESnumeric_to_decimal(), risnull(), and rsetnull().

Referenced by decadd(), decdiv(), decmul(), and decsub().

deccmp()

Definition at line 167 of file informix.c.

168{

170}

static int deccall2(decimal *arg1, decimal *arg2, int(*ptr)(numeric *, numeric *))

int PGTYPESnumeric_cmp(numeric *var1, numeric *var2)

References deccall2(), fb(), and PGTYPESnumeric_cmp().

Referenced by main().

deccopy()

deccvasc()

Definition at line 198 of file informix.c.

199{

200 char *str;

201 int ret = 0;

203

206 return 0;

207

209

210 if (str)

212 else

213 {

216 if (!result)

217 {

219 {

222 break;

225 break;

226 default:

228 break;

229 }

230 }

231 else

232 {

234

236 if (i != 0)

238 }

239 }

240

242 return ret;

243}

#define ECPG_INFORMIX_BAD_NUMERIC

#define ECPG_INFORMIX_BAD_EXPONENT

static char * ecpg_strndup(const char *str, size_t len)

#define PGTYPES_NUM_BAD_NUMERIC

numeric * PGTYPESnumeric_from_asc(char *str, char **endptr)

References CDECIMALTYPE, CSTRINGTYPE, ECPG_INFORMIX_BAD_EXPONENT, ECPG_INFORMIX_BAD_NUMERIC, ECPG_INFORMIX_NUM_OVERFLOW, ECPG_INFORMIX_NUM_UNDERFLOW, ecpg_strndup(), fb(), free, i, len, PGTYPES_NUM_BAD_NUMERIC, PGTYPES_NUM_OVERFLOW, PGTYPESnumeric_free(), PGTYPESnumeric_from_asc(), PGTYPESnumeric_to_decimal(), risnull(), rsetnull(), and str.

Referenced by main().

deccvdbl()

Definition at line 246 of file informix.c.

247{

249 int result = 1;

250

253 return 0;

254

258

260 if (result == 0)

262

264 return result;

265}

int PGTYPESnumeric_from_double(double d, numeric *dst)

References CDECIMALTYPE, CDOUBLETYPE, ECPG_INFORMIX_OUT_OF_MEMORY, fb(), PGTYPESnumeric_free(), PGTYPESnumeric_from_double(), PGTYPESnumeric_new(), PGTYPESnumeric_to_decimal(), risnull(), and rsetnull().

deccvint()

Definition at line 268 of file informix.c.

269{

271 int result = 1;

272

275 return 0;

276

280

282 if (result == 0)

284

286 return result;

287}

int PGTYPESnumeric_from_int(signed int int_val, numeric *var)

References CDECIMALTYPE, CINTTYPE, ECPG_INFORMIX_OUT_OF_MEMORY, fb(), PGTYPESnumeric_free(), PGTYPESnumeric_from_int(), PGTYPESnumeric_new(), PGTYPESnumeric_to_decimal(), risnull(), and rsetnull().

Referenced by main().

deccvlong()

Definition at line 290 of file informix.c.

291{

293 int result = 1;

294

297 return 0;

298

302

304 if (result == 0)

306

308 return result;

309}

int PGTYPESnumeric_from_long(signed long int long_val, numeric *var)

References CDECIMALTYPE, CLONGTYPE, ECPG_INFORMIX_OUT_OF_MEMORY, fb(), PGTYPESnumeric_free(), PGTYPESnumeric_from_long(), PGTYPESnumeric_new(), PGTYPESnumeric_to_decimal(), risnull(), and rsetnull().

Referenced by main().

decdiv()

Definition at line 312 of file informix.c.

313{

314 int i;

315

318

319 if (i != 0)

321 {

324 break;

327 break;

328 default:

330 break;

331 }

332

333 return 0;

334}

#define ECPG_INFORMIX_DIVIDE_ZERO

#define PGTYPES_NUM_DIVIDE_ZERO

int PGTYPESnumeric_div(numeric *var1, numeric *var2, numeric *result)

References deccall3(), ECPG_INFORMIX_DIVIDE_ZERO, ECPG_INFORMIX_NUM_OVERFLOW, ECPG_INFORMIX_NUM_UNDERFLOW, fb(), i, PGTYPES_NUM_DIVIDE_ZERO, PGTYPES_NUM_OVERFLOW, and PGTYPESnumeric_div().

Referenced by main().

decmul()

decsub()

dectoasc()

Definition at line 381 of file informix.c.

382{

383 char *str;

385

388 return 0;

389

393

395 {

398 }

399

400 if (right >= 0)

402 else

404

406 if (str)

407 return -1;

408

409

410

411

412

414 {

415 if (len > 1)

416 {

417 cp[0] = '*';

418 cp[1] = '\0';

419 }

421 return -1;

422 }

423 else

424 {

427 return 0;

428 }

429}

char * PGTYPESnumeric_to_asc(numeric *num, int dscale)

References CDECIMALTYPE, CSTRINGTYPE, ECPG_INFORMIX_OUT_OF_MEMORY, fb(), free, len, PGTYPESnumeric_free(), PGTYPESnumeric_from_decimal(), PGTYPESnumeric_new(), PGTYPESnumeric_to_asc(), risnull(), rsetnull(), and str.

Referenced by dump_sqlda(), and main().

dectodbl()

dectoint()

dectolong()

dtcurrent()

dtcvasc()

dtcvfmtasc()

Definition at line 644 of file informix.c.

645{

647}

int PGTYPEStimestamp_defmt_asc(const char *str, const char *fmt, timestamp *d)

static void fmtstr(const char *value, int leftjust, int minlen, int maxwidth, int pointflag, PrintfTarget *target)

References fb(), fmtstr(), and PGTYPEStimestamp_defmt_asc().

dtsub()

dttoasc()

dttofmtasc()

ECPG_informix_get_var()

void * ECPG_informix_get_var ( int number )

ECPG_informix_reset_sqlca()

ECPG_informix_set_var()

Definition at line 1021 of file informix.c.

1022{

1024}

void ECPGset_var(int number, void *pointer, int lineno)

References ECPGset_var().

ecpg_strndup()

getRightMostDot()

Definition at line 750 of file informix.c.

751{

753 int i,

754 j;

755

756 j = 0;

757 for (i = len - 1; i >= 0; i--)

758 {

759 if (str[i] == '.')

760 return len - j - 1;

761 j++;

762 }

763 return -1;

764}

References fb(), i, j, len, and str.

Referenced by rfmtlong().

initValue()

initialize the struct, which holds the different forms of the long value

Definition at line 702 of file informix.c.

703{

704 int i,

705 j;

706 long l,

708

709

713

714

715 i = 0;

716 l = 1;

717 do

718 {

719 i++;

720 l *= 10;

721 }

722 while ((l - 1) < value.val && l <= LONG_MAX / 10);

723

725 {

727 l /= 10;

728 }

729 else

730 value.digits = i + 1;

731

733

734

736 return -1;

738 for (i = value.digits, j = 0; i > 0; i--, j++)

739 {

740 value.val_string[j] = dig / l + '0';

742 l /= 10;

743 }

744 value.val_string[value.digits] = '\0';

745 return 0;

746}

References fb(), i, j, malloc, and value.

Referenced by build_pertrans_for_aggref(), ExecInitAgg(), find_compatible_trans(), preprocess_aggref(), and rfmtlong().

intoasc()

ldchar()

rdatestr()

rdayofweek()

rdefmtdate()

Definition at line 553 of file informix.c.

554{

555

556

557

560 return 0;

561

563 {

573 default:

575 }

576}

#define ECPG_INFORMIX_ENOTDMY

#define ECPG_INFORMIX_BAD_DAY

#define ECPG_INFORMIX_BAD_MONTH

#define ECPG_INFORMIX_ENOSHORTDATE

#define ECPG_INFORMIX_BAD_YEAR

int PGTYPESdate_defmt_asc(date *d, const char *fmt, const char *str)

#define PGTYPES_DATE_ERR_ENOTDMY

#define PGTYPES_DATE_BAD_DAY

#define PGTYPES_DATE_ERR_ENOSHORTDATE

#define PGTYPES_DATE_ERR_EARGS

#define PGTYPES_DATE_BAD_MONTH

References ECPG_INFORMIX_BAD_DAY, ECPG_INFORMIX_BAD_MONTH, ECPG_INFORMIX_BAD_YEAR, ECPG_INFORMIX_ENOSHORTDATE, ECPG_INFORMIX_ENOTDMY, fb(), PGTYPES_DATE_BAD_DAY, PGTYPES_DATE_BAD_MONTH, PGTYPES_DATE_ERR_EARGS, PGTYPES_DATE_ERR_ENOSHORTDATE, PGTYPES_DATE_ERR_ENOTDMY, PGTYPESdate_defmt_asc(), and str.

Referenced by date_test_defmt(), and rstrdate().

rfmtdate()

rfmtlong()

Definition at line 768 of file informix.c.

769{

772 int i,

773 j,

774 k,

783 char tmp[2] = " ";

786

789 {

791 return -1;

792 }

793

794

796 {

799 return -1;

800 }

801

802

805

806

809

810

811

812

813

815

816

817 temp[0] = '\0';

818 k = value.digits - 1;

819 for (i = fmt_len - 1, j = 0; i >= 0; i--, j++)

820 {

821

822 if (k < 0)

823 {

825 if (k == -1)

828 {

829

832 {

834 break;

835 }

836 }

837 }

838

840 {

842 {

843 if (fmt[i] == ')')

844 tmp[0] = value.sign == '-' ? ')' : ' ';

845 else

846 tmp[0] = '0';

847 }

848 else

849 tmp[0] = '.';

851 continue;

852 }

853

856 else

858

860 continue;

861

863 {

864 case ',':

865 tmp[0] = ',';

866 k++;

867 break;

868 case '*':

870 tmp[0] = '*';

871 else

872 tmp[0] = value.val_string[k];

873 break;

874 case '&':

876 tmp[0] = '0';

877 else

878 tmp[0] = value.val_string[k];

879 break;

880 case '#':

882 tmp[0] = ' ';

883 else

884 tmp[0] = value.val_string[k];

885 break;

886 case '-':

888 {

889 tmp[0] = '-';

891 }

893 tmp[0] = ' ';

894 else

895 tmp[0] = value.val_string[k];

896 break;

897 case '+':

899 {

900 tmp[0] = value.sign;

902 }

904 tmp[0] = ' ';

905 else

906 tmp[0] = value.val_string[k];

907 break;

908 case '(':

910 tmp[0] = '(';

912 tmp[0] = ' ';

913 else

914 tmp[0] = value.val_string[k];

915 break;

916 case ')':

918 tmp[0] = ')';

919 else

920 tmp[0] = ' ';

921 break;

922 case '$':

924 {

925 tmp[0] = '$';

927 }

929 tmp[0] = ' ';

930 else

931 tmp[0] = value.val_string[k];

932 break;

933 case '<':

934 tmp[0] = value.val_string[k];

935 break;

936 default:

937 tmp[0] = fmt[i];

938 }

941 k--;

942 }

943

945

946

948 outbuf[0] = '\0';

950 {

951 tmp[0] = temp[i];

953 }

955

956

959

960 return 0;

961}

static int getRightMostDot(const char *str)

static int initValue(long lng_val)

static void fmtchar(int value, int leftjust, int minlen, PrintfTarget *target)

References fb(), fmtchar(), free, getRightMostDot(), i, initValue(), j, malloc, sign, and value.

Referenced by fmtlong().

rgetmsg()

risnull()

rjulmdy()

rmdyjul()

rsetnull()

rstrdate()

rtoday()

rtypalign()

rtypmsize()

rtypwidth()

rupshift()

digits

Definition at line 691 of file informix.c.

Referenced by convert_to_base(), estimate_ln_dweight(), getbits(), getv4(), hash_numeric(), hash_numeric_extended(), inet_cidr_pton_ipv4(), inet_cidr_pton_ipv6(), inet_net_pton_ipv4(), make_result_safe(), numericvar_to_int64(), numericvar_to_uint64(), PGTYPESnumeric_div(), round_var(), set_var_from_str(), strip_var(), and trunc_var().

maxdigits

remaining

Definition at line 692 of file informix.c.

Referenced by aclmask(), ahwrite(), appendStringLiteral(), ConditionalMultiXactIdWait(), dataBeginPlaceToPageLeaf(), DecodeXLogRecord(), deconstruct_recurse(), dir_write(), Do_MultiXactIdWait(), dsm_impl_mmap(), dumpRoleMembership(), fmtIdEnc(), ginVacuumItemPointers(), leafRepackItems(), member_copy_control_data(), MultiXactIdWait(), pg_encoding_mblen_or_incomplete(), PQescapeInternal(), PQescapeStringInternal(), pqSendSome(), sendFile(), sendFileWithContent(), and WriteDataToArchiveNone().

sign

Definition at line 693 of file informix.c.

Referenced by _fmt(), _intbig_alloc(), _ltree_compress(), abbroffset(), cnt_sml_sign_common(), copy_special_str(), dcosd(), dcotd(), dsind(), dtand(), ECPGis_noind_null(), fillcache(), float4_to_char(), float8_to_char(), g_intbig_compress(), gensign(), gethms(), ghstore_alloc(), ghstore_compress(), ghstore_consistent(), gist_qe(), gist_qe(), gist_te(), gtrgm_alloc(), gtrgm_compress(), gtrgm_consistent(), gtrgm_penalty(), gtrgm_picksplit(), gtsquery_compress(), gtsquery_union(), gtsvector_alloc(), gtsvector_compress(), gtsvector_penalty(), gtsvector_picksplit(), hashing(), hashing(), int128_to_numericvar(), int4_to_char(), int8_to_char(), ltree_gist_alloc(), make_result_safe(), makesign(), makesign(), makeTSQuerySign(), NUM_processor(), numeric_in(), numeric_to_char(), QTNEq(), ReadInt(), restore(), rfmtlong(), set_var_from_non_decimal_integer_str(), set_var_from_str(), signconsistent(), signValue(), sizebitvec(), sizebitvec(), sizebitvec(), sizebitvec(), sizebitvec(), sizebitvec(), to_chars(), and to_chars().

sqlca_init

Initial value:

=

{

{

'S', 'Q', 'L', 'C', 'A', ' ', ' ', ' '

},

0,

{

0,

{

0

}

},

{

'N', 'O', 'T', ' ', 'S', 'E', 'T', ' '

},

{

0, 0, 0, 0, 0, 0

},

{

0, 0, 0, 0, 0, 0, 0, 0

},

{

'0', '0', '0', '0', '0'

}

}

Definition at line 21 of file informix.c.

22{

23 {

24 'S', 'Q', 'L', 'C', 'A', ' ', ' ', ' '

25 },

27 0,

28 {

29 0,

30 {

31 0

32 }

33 },

34 {

35 'N', 'O', 'T', ' ', 'S', 'E', 'T', ' '

36 },

37 {

38 0, 0, 0, 0, 0, 0

39 },

40 {

41 0, 0, 0, 0, 0, 0, 0, 0

42 },

43 {

44 '0', '0', '0', '0', '0'

45 }

46};

Referenced by ECPG_informix_reset_sqlca().

val

Definition at line 689 of file informix.c.

Referenced by _copyA_Const(), _jumbleA_Const(), _ltree_compress(), _readBitmapset(), accum_sum_add(), accum_sum_rescale(), add_json(), add_jsonb(), addCompoundAffixFlagValue(), addToSimpleStats(), AdjustDays(), AdjustMicroseconds(), AdjustMonths(), AdjustYears(), allocateReloptStruct(), AlterDomainValidateConstraint(), appendConnStrItem(), appendEscapedValue(), assignVariables(), AttrDefaultFetch(), autoinc(), basebackup_progress_wait_wal_archive(), bbsink_progress_archive_contents(), bbsink_progress_begin_backup(), bitfromint4(), bitfromint8(), boolop(), bqarr_in(), brin_minmax_multi_consistent(), brin_minmax_multi_summary_out(), brin_page_items(), build_bound_expr(), build_startup_packet(), buildDefItem(), BuildIndexValueDescription(), BuildRelationExtStatistics(), byteaout(), calc_distr(), calc_hist(), cash_words(), check_new_partition_bound(), check_partition_bounds_for_split_list(), check_partitions_not_overlap_list(), check_recovery_target_xid(), check_timezone(), checkclass_str(), checkcondition_arr(), checkcondition_arr(), checkcondition_bit(), checkcondition_bit(), checkcondition_bit(), checkcondition_gin(), checkcondition_HL(), checkcondition_QueryOperand(), checkcondition_str(), checkcondition_str(), CheckNNConstraintFetch(), collectTSQueryValues(), composite_to_json(), composite_to_jsonb(), config_enum_lookup_by_value(), conninfo_array_parse(), convert(), convert64(), convert_string_datum(), convertJsonbArray(), convertJsonbObject(), convertJsonbValue(), convertToJsonb(), CopyGetInt16(), CopyGetInt32(), CopyReadAttributesText(), CopySendInt16(), CopySendInt32(), create_list_bounds(), cvt_date_timestamp(), cvt_date_timestamptz(), cvt_float4_float8(), cvt_float8_float4(), cvt_int2_int4(), cvt_int2_int8(), cvt_int4_int2(), cvt_int4_int8(), cvt_int8_int2(), cvt_int8_int4(), cvt_name_text(), cvt_text_name(), cvt_timestamp_date(), cvt_timestamp_timestamptz(), cvt_timestamptz_date(), cvt_timestamptz_timestamp(), datum_compute_size(), datum_image_hash(), datum_to_json(), datum_to_json_internal(), datum_to_jsonb(), datum_to_jsonb_internal(), datum_write(), datumRestore(), decode_varbyte(), DecodeDate(), DecodeDate(), DecodeDateTime(), DecodeDateTime(), DecodeInterval(), DecodeInterval(), DecodeISO8601Interval(), DecodeISO8601Interval(), DecodeNumber(), DecodeNumber(), DecodePosixTimezone(), DecodeSpecial(), DecodeSpecial(), DecodeTimeOnly(), DecodeUnits(), DecodeUnits(), deparseStringLiteral(), discard_stack_value(), do_serialize_binary(), dump_sqlda(), dump_sqlda(), each_object_field_end(), each_worker_jsonb(), ean13_out(), ecpg_set_compat_sqlda(), ecpg_set_native_sqlda(), elem_contained_by_multirange(), elem_contained_by_range(), elements_array_element_end(), elements_worker_jsonb(), encode_varbyte(), esc_decode(), evalStandardFunc(), exec_command_pset(), exec_stmt_assert(), ExecBuildSlotPartitionKeyDescription(), ExecBuildSlotValueDescription(), ExecComputeStoredGenerated(), ExecuteCallStmt(), executeItemOptUnwrapTarget(), executeKeyValueMethod(), executeUnaryArithmExpr(), exp_var(), extract_date(), extractModify(), fill_val(), find_value_in_new_partitions_list(), findoprnd(), findoprnd(), flatten_set_variable_args(), float4_numeric(), float4_to_char(), float4in_internal(), float8_numeric(), float8_to_char(), float8in_internal(), FreePageBtreeSearchInternal(), FreePageBtreeSearchLeaf(), get_attstatsslot(), get_non_null_list_datum_count(), get_prompt(), get_qual_for_list(), get_range_partbound_string(), get_rule_expr(), get_sql_insert(), get_sql_update(), get_stack_depth_rlimit(), get_string_attr(), get_table_relkind(), get_val_in_hash(), getbits(), getHashFnv1a(), getHashMurmur2(), GetJsonBehaviorConst(), gettoken(), gettoken_query(), getTokenTypes(), getv4(), ghstore_compress(), gin_extract_query_trgm(), gin_extract_tsquery(), gin_extract_value_trgm(), ginCompressPostingList(), ginint4_queryextract(), ginPostingListDecodeAllSegments(), gtrgm_compress(), gtsvector_compress(), GUCArrayDelete(), GUCArrayReset(), hash_object_field_end(), hashint8(), hashint8extended(), heap_compute_data_size(), hstore_contains(), hstore_from_text(), hstore_subscript_assign(), hstore_to_jsonb(), hstore_to_jsonb_loose(), hv_store_string(), HV_to_JsonbValue(), import_pg_statistic(), in_range_date_interval(), in_range_float4_float8(), in_range_float8_float8(), in_range_int2_int4(), in_range_int4_int4(), in_range_int4_int8(), in_range_int8_int8(), in_range_interval_interval(), in_range_numeric_numeric(), in_range_time_interval(), in_range_timestamp_interval(), in_range_timestamptz_interval(), in_range_timetz_interval(), ineq_histogram_selectivity(), inet_aton(), inet_cidr_pton_ipv6(), inet_spg_choose(), inet_spg_node_number(), int128_serialize(), int128_to_int64(), int128_to_numericvar(), int2_numeric(), int4_numeric(), int4_to_char(), int64_multiply_add(), int64_to_int128(), int64_to_numeric(), int64_to_numericvar(), int8_numeric(), int8out(), interval_part_common(), interval_trunc(), is_infinite(), is_superuser(), is_superuser(), is_valid(), isbn_cast_from_ean13(), ismn_cast_from_ean13(), isn_out(), issn_cast_from_ean13(), itemptr_to_uint64(), iterate_jsonb_values(), iterate_values_object_field_start(), json_agg_transfn_worker(), jsonb_agg_transfn_worker(), jsonb_contained(), jsonb_contains(), jsonb_object_agg_transfn_worker(), Jsonb_to_SV(), JsonbDeepContains(), JsonbIteratorNext(), JsonbToJsonbValue(), JsonbTypeName(), JsonbValueToJsonb(), JsonItemFromDatum(), libpq_get_current_wal_insert_lsn(), like_fixed_prefix_ci(), load_domaintype_info(), ltree_compress(), ltxtq_exec(), LWLockReleaseClearVar(), LWLockUpdateVar(), main(), main(), make_array_ref(), make_const(), make_int128(), make_one_partition_rbound(), make_valid(), makeBoolean(), makepol(), makepol(), MergeWithExistingConstraint(), mod_m(), mode_final(), multirange_contains_elem(), multirange_contains_elem_internal(), multirange_elem_bsearch_comparison(), nodeRead(), non_negative(), numeric_exp(), numeric_float8_no_overflow(), numeric_int2(), numeric_to_char(), numericvar_to_double(), numericvar_to_double_no_overflow(), numericvar_to_int32(), numericvar_to_int64(), numericvar_to_uint64(), oid8out(), OidOutputFunctionCall(), OidSendFunctionCall(), option_parse_int(), OutputFunctionCall(), PageXLogRecPtrGet(), parse_args(), parse_hba_auth_opt(), parse_hba_line(), parse_int(), parse_real(), parse_sane_timezone(), parse_scalar(), parse_snapshot(), parse_subscription_options(), parseIntFromText(), ParseISO8601Number(), ParseISO8601Number(), parseServiceFile(), parseXidFromText(), percentile_cont_final_common(), percentile_disc_final(), percentile_disc_multi_final(), permute(), pg_atomic_init_u32(), pg_atomic_init_u64(), pg_atomic_unlocked_write_u32(), pg_atomic_unlocked_write_u32_impl(), pg_atomic_unlocked_write_u64(), pg_atomic_unlocked_write_u64_impl(), pg_atomic_write_membarrier_u32(), pg_atomic_write_membarrier_u64(), pg_atomic_write_u32(), pg_atomic_write_u32_impl(), pg_atomic_write_u64(), pg_atomic_write_u64_impl(), pg_get_constraintdef_worker(), pg_prng_int64_range(), pg_prng_uint64_range(), pg_stats_ext_mcvlist_items(), pgstat_progress_update_multi_param(), pgstat_progress_update_param(), plperl_build_tuple_result(), plperl_modify_tuple(), plperl_to_hstore(), plpython_to_hstore(), PLy_elog_impl(), PLy_input_convert(), PLy_output_convert(), PLyObject_FromJsonbContainer(), populate_array_dim_jsonb(), populate_recordset_object_field_end(), power_var(), pqBuildErrorMessage3(), PQcancel(), PQconnectPoll(), PQencryptPasswordConn(), pqRowProcessor(), print_tar_number(), PrintResultInCrosstab(), process_integer_literal(), process_integer_literal(), prsd_headline(), pset_bool_string(), pushJsonbValueScalar(), pushquery(), pushquery(), put_notnull_info(), puttzcode(), puttzcodepass(), putVariable(), putVariableInt(), QueueCheckConstraintValidation(), range_contains_elem(), range_contains_elem_internal(), rankSort(), raw_expression_tree_walker_impl(), recompute_limits(), RelationBuildTriggers(), RelationGetExclusionInfo(), relptr_store_eval(), replace_percent_placeholders(), ReportGUCOption(), restore(), ri_ReportViolation(), SendFunctionCall(), SerialGetMinConflictCommitSeqNo(), serialize_deflist(), session_username(), set_arg(), set_stack_value(), set_string_attr(), set_val_in_hash(), set_wal_receiver_timeout(), setCompoundAffixFlagValue(), Setup_AF_UNIX(), ShowGUCOption(), simple_action_list_append(), simple_oid_list_append(), simple_oid_list_member(), simple_quote_literal(), simple_string_list_append(), simple_string_list_member(), SPI_getvalue(), splitmix64(), sqlda_common_total_size(), standard_strings(), stringlist_to_identifierstr(), strtoint(), strtouint32_strict(), strtouint64_strict(), sv2cstr(), test_huge_distances(), test_pipeline_abort(), test_random(), text_format_parse_digits(), time_part_common(), timestamp_part_common(), timestamp_trunc(), timestamp_zone(), timestamptz_part_common(), timestamptz_trunc_internal(), timestamptz_zone(), timetz_part_common(), timetz_zone(), to_json(), to_jsonb(), transformInsertStmt(), transformJsonArrayConstructor(), transformJsonBehavior(), transformJsonObjectAgg(), transformJsonObjectConstructor(), transformPartitionBoundValue(), trgm2int(), ts_match_vq(), tsqueryrecv(), tstoreReceiveSlot_detoast(), tts_virtual_materialize(), tuple_to_stringinfo(), tuplesort_getdatum(), tuplesort_putdatum(), uint64_to_itemptr(), untransformRelOptions(), upc_cast_from_ean13(), useKeepalives(), validate_kvpair(), worker_spi_main(), and xoroshiro128ss().

val_string

[struct]

Referenced by _crypt_gensalt_extended_rn(), _crypt_gensalt_md5_rn(), AddISO8601IntPart(), AddISO8601IntPart(), AddPostgresIntPart(), AddPostgresIntPart(), AddVerboseIntPart(), AddVerboseIntPart(), AlterSystemSetConfigFile(), append_num_word(), appendJSONKeyValue(), appendJSONKeyValueFmt(), AppendJumble(), AppendJumble16(), AppendJumble32(), AppendJumble64(), AppendJumble8(), appendPGArray(), appendReloptionsArray(), AppendSeconds(), array_fill(), array_fill_internal(), array_fill_with_lower_bounds(), array_iterate(), array_position_common(), array_positions(), array_sort_internal(), array_to_text_internal(), ArrayCast(), AssertCheckRanges(), AV_to_JsonbValue(), binary_upgrade_set_missing_value(), bloom_add_value(), bloom_contains_value(), BootstrapModeMain(), brin_bloom_consistent(), brin_form_tuple(), brin_minmax_consistent(), brin_minmax_multi_consistent(), build_sorted_items(), build_urlencoded(), bytea_string_agg_transfn(), calculate_frame_offsets(), call_subtype_diff(), cash_in(), cash_out(), cash_words(), check_pghost_envvar(), check_with_filler(), CloneRowTriggersToPartition(), compare_val_int4(), compute_array_stats(), compute_distinct_stats(), compute_range_stats(), compute_scalar_stats(), compute_trivial_stats(), compute_tsvector_stats(), concat_internal(), config_enum_lookup_by_name(), conninfo_storeval(), conninfo_uri_parse_params(), convert_bytea_to_scalar(), convert_int_from_base_unit(), convert_network_to_scalar(), convert_numeric_to_scalar(), convert_one_bytea_to_scalar(), convert_one_string_to_scalar(), convert_prep_stmt_params(), convert_real_from_base_unit(), convert_string_datum(), convert_string_to_scalar(), convert_timevalue_to_scalar(), convert_to_base(), convert_to_base_unit(), convert_to_scalar(), convert_value_to_string(), convert_VALUES_to_ANY(), CopyToBinaryOneRow(), CopyToTextLikeOneRow(), create_list_bounds(), datum_image_hash(), datumCopy(), datumEstimateSpace(), DatumGetFloat4(), DatumGetFloat8(), datumGetSize(), datumSerialize(), datumTransfer(), DCH_from_char(), debugtup(), DecodeDateTime(), DecodeDateTime(), DecodeTimeOnly(), deconstruct_composite_datum(), DefineSequence(), do_cast_value(), do_pset(), domain_check(), domain_check_input(), domain_check_internal(), domain_check_safe(), domain_in(), domain_recv(), dxsyn_lexize(), ecpg_build_params(), exec_assign_c_string(), exec_assign_expr(), exec_assign_value(), exec_cast_value(), exec_command_echo(), exec_command_T(), exec_eval_datum(), exec_move_row_from_datum(), exec_move_row_from_fields(), exec_stmt_assert(), exec_stmt_case(), exec_stmt_exit(), exec_stmt_foreach_a(), exec_stmt_fori(), exec_stmt_if(), exec_stmt_while(), ExecEvalJsonConstructor(), ExecEvalPreOrderedDistinctSingle(), ExecEvalRowNullInt(), ExecEvalXmlExpr(), executeDateTimeMethod(), expect_boolean_value(), expect_integer_value(), ExplainProperty(), ExplainPropertyBool(), ExplainPropertyFloat(), ExplainPropertyInteger(), ExplainPropertyText(), ExplainPropertyUInteger(), filter_list_to_array(), find_next_mcelem(), find_value_in_new_partitions_list(), float4_to_char(), Float4GetDatum(), float8_to_char(), Float8GetDatum(), fmgr_security_definer(), fmtchar(), fmtfloat(), fmtint(), fmtptr(), fmtstr(), fn(), fn(), from_char_set_int(), fsm_set_avail(), FullTransactionIdFromU64(), gather_boolean_expression(), get_char_item(), get_hexdigit(), get_int_item(), get_len_position(), get_len_position(), get_matching_list_bounds(), get_position(), get_position(), get_reloptions(), GetComment(), getDatumCopy(), getJsonPathItem(), getJsonPathVariable(), ginExtractEntries(), ginHeapTupleBulkInsert(), ginHeapTupleFastCollect(), ginHeapTupleInsert(), gist_page_items(), GUCArrayAdd(), hash_resource_elem(), hstore_from_record(), hstore_populate_record(), hstore_to_plperl(), hstore_to_plpython(), index_store_float8_orderby_distances(), initValue(), InsertOneProargdefaultsValue(), InsertOneValue(), int4_to_char(), int8_to_char(), IpcSemaphoreInitialize(), is_true_boolean_expression(), is_visible_fxid(), Jsonb_to_SV(), JsonEncodeDateTime(), JsonTableSetDocument(), length_hist_bsearch(), length_hist_bsearch(), llvm_compile_expr(), load_return_type(), logicalrep_read_tuple(), LWLockConflictsWithVar(), lz4_compress_datum(), lz4_decompress_datum(), lz4_decompress_datum_slice(), main(), make_SAOP_expr(), makeBoolConst(), makeJsonKeyValue(), makeJsonTablePathScan(), map_sql_value_to_xml_value(), MemoryChunkSetHdrMask(), multipleOfPowerOf2(), multipleOfPowerOf2(), multipleOfPowerOf5(), multipleOfPowerOf5(), numeric_abbrev_convert(), numeric_in(), numeric_recv(), numeric_to_char(), numeric_to_number(), optional_setsockopt(), optionListToArray(), outDatum(), parse_and_validate_value(), parse_bool(), parse_bool_with_len(), parse_compress_specification(), parse_int(), parse_kvpairs_for_auth(), parse_one_reloption(), parse_psql_options(), parse_real(), ParseLongOption(), ParseVariableBool(), ParseVariableDouble(), ParseVariableNum(), partition_list_bsearch(), partkey_datum_from_expr(), pg_column_size(), pg_crc32c_armv8_available(), pg_get_triggerdef_worker(), pg_lltoa(), pg_logging_init(), pg_ltoa(), pg_snapshot_xip(), pg_strfromd(), pg_ulltoa_n(), pg_ultoa_n(), pg_ultostr(), pg_ultostr_zeropad(), pg_visible_in_snapshot(), pglz_compress_datum(), pglz_decompress_datum(), pglz_decompress_datum_slice(), PGTYPESnumeric_from_asc(), pgwin32_setenv(), plperl_to_hstore(), plpython_to_hstore(), plsample_func_handler(), PLy_output(), PLy_result_ass_subscript(), PLy_subtransaction_exit(), PLyDict_FromTuple(), PLyGenericObject_ToComposite(), PLyMapping_ToComposite(), PLyMapping_ToJsonbValue(), PLySequence_ToComposite(), PLySequence_ToJsonbValue(), postgres_fdw_validator(), postgresAcquireSampleRowsFunc(), PostmasterMain(), postquel_get_single_result(), pow5Factor(), pow5Factor(), pq_parse_errornotice(), pqParseIntParam(), pqParseProtocolVersion(), pqPutInt(), pqRowProcessor(), pqSaveMessageField(), pqSaveParameterStatus(), PQsetvalue(), print_param_value(), printatt(), printsimple(), process_postgres_switches(), process_startup_options(), ProcessGUCArray(), prune_element_hashtable(), psql_get_variable(), psqlscan_escape_variable(), psqlscan_test_variable(), PsqlVarEnumError(), push_assignment(), putVariable(), putVariableInt(), putVariableValue(), range_bound_escape(), rbound_bsearch(), rbound_bsearch(), read_client_final_message(), read_dictionary(), record_out(), replace_auto_config_value(), replaceVariable(), ResourceOwnerAddToHash(), ResourceOwnerForget(), ResourceOwnerReleaseAll(), ResourceOwnerReleaseAllOfKind(), ResourceOwnerRemember(), rfmtlong(), SerializeUncommittedEnums(), set_config_by_name(), set_config_option(), set_config_option_ext(), set_config_with_handle(), set_descriptors(), set_restrict_relation_kind(), set_unicode_line_style(), set_var_from_var(), SetAttrMissing(), SetConfigOption(), setitimer(), SetVariable(), ShowGUCConfigOption(), signValue(), SPI_datumTransfer(), sprintf_double_value(), sprintf_float_value(), statext_expressions_load(), statext_mcv_serialize(), StoreQueryTuple(), string_agg_transfn(), substitute_path_macro(), test_basic(), test_random(), test_single_value(), test_single_value_and_filler(), text_format(), text_format_parse_digits(), text_format_string_conversion(), tfuncFetchRows(), tfuncInitialize(), to_bin32(), to_bin64(), to_hex32(), to_hex64(), to_oct32(), to_oct64(), toast_compress_datum(), toast_datum_size(), toast_delete_datum(), toast_delete_external(), toast_raw_datum_size(), toast_save_datum(), toast_tuple_externalize(), toast_tuple_try_compression(), TransformGUCArray(), transformPartitionBound(), transformPartitionBoundValue(), transformPartitionRangeBounds(), transformRelOptions(), transtime(), validate_option_array_item(), validate_string_option(), wait_for_connection_state(), xid8recv(), XLogSimpleInsertInt64(), and XmlTableSetDocument().