PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
isn.c File Reference
#include "postgres.h"
#include "EAN13.h"
#include "ISBN.h"
#include "ISMN.h"
#include "ISSN.h"
#include "UPC.h"
#include "fmgr.h"
#include "isn.h"
#include "utils/guc.h"
Include dependency graph for isn.c:

Go to the source code of this file.

Macros

#define ISN_DEBUG   0
 
#define MAXEAN13LEN   18
 

Enumerations

enum  isn_type {
  INVALID , ANY , EAN13 , ISBN ,
  ISMN , ISSN , UPC
}
 

Functions

 PG_MODULE_MAGIC_EXT (.name="isn",.version=PG_VERSION)
 
 pg_attribute_unused () static bool check_table(const char *(*TABLE)[2]
 
 if (TABLE==NULL||TABLE_index==NULL)
 
static unsigned dehyphenate (char *bufO, char *bufI)
 
static unsigned hyphenate (char *bufO, char *bufI, const char *(*TABLE)[2], const unsigned TABLE_index[10][2])
 
static unsigned weight_checkdig (char *isn, unsigned size)
 
static unsigned checkdig (char *num, unsigned size)
 
static bool ean2isn (ean13 ean, bool errorOK, ean13 *result, enum isn_type accept)
 
static void ean2ISBN (char *isn)
 
static void ean2ISMN (char *isn)
 
static void ean2ISSN (char *isn)
 
static void ean2UPC (char *isn)
 
static ean13 str2ean (const char *num)
 
static bool ean2string (ean13 ean, bool errorOK, char *result, bool shortType)
 
static bool string2ean (const char *str, struct Node *escontext, ean13 *result, enum isn_type accept)
 
void _PG_init (void)
 
 PG_FUNCTION_INFO_V1 (isn_out)
 
Datum isn_out (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ean13_out)
 
Datum ean13_out (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ean13_in)
 
Datum ean13_in (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (isbn_in)
 
Datum isbn_in (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ismn_in)
 
Datum ismn_in (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (issn_in)
 
Datum issn_in (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (upc_in)
 
Datum upc_in (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (isbn_cast_from_ean13)
 
Datum isbn_cast_from_ean13 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (ismn_cast_from_ean13)
 
Datum ismn_cast_from_ean13 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (issn_cast_from_ean13)
 
Datum issn_cast_from_ean13 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (upc_cast_from_ean13)
 
Datum upc_cast_from_ean13 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (is_valid)
 
Datum is_valid (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (make_valid)
 
Datum make_valid (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (accept_weak_input)
 
Datum accept_weak_input (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (weak_input_status)
 
Datum weak_input_status (PG_FUNCTION_ARGS)
 

Variables

static const char *const isn_names [] = {"EAN13/UPC/ISxN", "EAN13/UPC/ISxN", "EAN13", "ISBN", "ISMN", "ISSN", "UPC"}
 
static bool g_weak = false
 
const unsigned TABLE_index [10][2]
 
int a
 
int b
 
int x = 0
 
int y = -1
 
int i = 0
 
int j
 
int init = 0
 
return true
 
invalidtable __pad0__
 
invalidtable invalid table near
 
return false
 
invalidindex __pad1__
 
invalidindex index d is invalid
 

Macro Definition Documentation

◆ ISN_DEBUG

#define ISN_DEBUG   0

Definition at line 34 of file isn.c.

◆ MAXEAN13LEN

#define MAXEAN13LEN   18

Definition at line 37 of file isn.c.

Enumeration Type Documentation

◆ isn_type

enum isn_type
Enumerator
INVALID 
ANY 
EAN13 
ISBN 
ISMN 
ISSN 
UPC 

Definition at line 39 of file isn.c.

40{
42};
@ ISBN
Definition: isn.c:41
@ EAN13
Definition: isn.c:41
@ ISMN
Definition: isn.c:41
@ ANY
Definition: isn.c:41
@ UPC
Definition: isn.c:41
@ ISSN
Definition: isn.c:41
@ INVALID
Definition: isn.c:41

Function Documentation

◆ _PG_init()

void _PG_init ( void  )

Definition at line 922 of file isn.c.

923{
924 if (ISN_DEBUG)
925 {
926 if (!check_table(EAN13_range, EAN13_index))
927 elog(ERROR, "EAN13 failed check");
928 if (!check_table(ISBN_range, ISBN_index))
929 elog(ERROR, "ISBN failed check");
930 if (!check_table(ISMN_range, ISMN_index))
931 elog(ERROR, "ISMN failed check");
932 if (!check_table(ISSN_range, ISSN_index))
933 elog(ERROR, "ISSN failed check");
934 if (!check_table(UPC_range, UPC_index))
935 elog(ERROR, "UPC failed check");
936 }
937
938 /* Define a GUC variable for weak mode. */
939 DefineCustomBoolVariable("isn.weak",
940 "Accept input with invalid ISN check digits.",
941 NULL,
942 &g_weak,
943 false,
945 0,
946 NULL,
947 NULL,
948 NULL);
949
951}
static const unsigned EAN13_index[10][2]
Definition: EAN13.h:14
static const char * EAN13_range[][2]
Definition: EAN13.h:26
static const char * ISBN_range[][2]
Definition: ISBN.h:50
static const unsigned ISBN_index[10][2]
Definition: ISBN.h:37
static const char * ISMN_range[][2]
Definition: ISMN.h:45
static const unsigned ISMN_index[10][2]
Definition: ISMN.h:33
static const unsigned ISSN_index[10][2]
Definition: ISSN.h:34
static const char * ISSN_range[][2]
Definition: ISSN.h:46
static const unsigned UPC_index[10][2]
Definition: UPC.h:14
static const char * UPC_range[][2]
Definition: UPC.h:26
#define ERROR
Definition: elog.h:39
#define elog(elevel,...)
Definition: elog.h:226
void DefineCustomBoolVariable(const char *name, const char *short_desc, const char *long_desc, bool *valueAddr, bool bootValue, GucContext context, int flags, GucBoolCheckHook check_hook, GucBoolAssignHook assign_hook, GucShowHook show_hook)
Definition: guc.c:5133
void MarkGUCPrefixReserved(const char *className)
Definition: guc.c:5280
@ PGC_USERSET
Definition: guc.h:79
#define ISN_DEBUG
Definition: isn.c:34
static bool g_weak
Definition: isn.c:47

References DefineCustomBoolVariable(), EAN13_index, EAN13_range, elog, ERROR, g_weak, ISBN_index, ISBN_range, ISMN_index, ISMN_range, ISN_DEBUG, ISSN_index, ISSN_range, MarkGUCPrefixReserved(), PGC_USERSET, UPC_index, and UPC_range.

◆ accept_weak_input()

Datum accept_weak_input ( PG_FUNCTION_ARGS  )

Definition at line 1134 of file isn.c.

1135{
1136 bool newvalue = PG_GETARG_BOOL(0);
1137
1138 (void) set_config_option("isn.weak", newvalue ? "on" : "off",
1140 GUC_ACTION_SET, true, 0, false);
1142}
#define PG_GETARG_BOOL(n)
Definition: fmgr.h:274
#define PG_RETURN_BOOL(x)
Definition: fmgr.h:359
int set_config_option(const char *name, const char *value, GucContext context, GucSource source, GucAction action, bool changeVal, int elevel, bool is_reload)
Definition: guc.c:3342
@ GUC_ACTION_SET
Definition: guc.h:203
@ PGC_S_SESSION
Definition: guc.h:126

References g_weak, GUC_ACTION_SET, PG_GETARG_BOOL, PG_RETURN_BOOL, PGC_S_SESSION, PGC_USERSET, and set_config_option().

◆ checkdig()

static unsigned checkdig ( char *  num,
unsigned  size 
)
static

Definition at line 308 of file isn.c.

309{
310 unsigned check = 0,
311 check3 = 0;
312 unsigned pos = 0;
313
314 if (*num == 'M')
315 { /* ISMN start with 'M' */
316 check3 = 3;
317 pos = 1;
318 }
319 while (*num && size > 1)
320 {
321 if (isdigit((unsigned char) *num))
322 {
323 if (pos++ % 2)
324 check3 += *num - '0';
325 else
326 check += *num - '0';
327 size--;
328 }
329 num++;
330 }
331 check = (check + 3 * check3) % 10;
332 if (check != 0)
333 check = 10 - check;
334 return check;
335}

Referenced by string2ean().

◆ dehyphenate()

static unsigned dehyphenate ( char *  bufO,
char *  bufI 
)
static

Definition at line 147 of file isn.c.

148{
149 unsigned ret = 0;
150
151 while (*bufI)
152 {
153 if (isdigit((unsigned char) *bufI))
154 {
155 *bufO++ = *bufI;
156 ret++;
157 }
158 bufI++;
159 }
160 *bufO = '\0';
161 return ret;
162}

Referenced by ean2UPC().

◆ ean13_in()

Datum ean13_in ( PG_FUNCTION_ARGS  )

Definition at line 989 of file isn.c.

990{
991 const char *str = PG_GETARG_CSTRING(0);
992 ean13 result;
993
994 if (!string2ean(str, fcinfo->context, &result, EAN13))
996 PG_RETURN_EAN13(result);
997}
#define PG_GETARG_CSTRING(n)
Definition: fmgr.h:277
#define PG_RETURN_NULL()
Definition: fmgr.h:345
const char * str
static bool string2ean(const char *str, struct Node *escontext, ean13 *result, enum isn_type accept)
Definition: isn.c:689
uint64 ean13
Definition: isn.h:25
#define PG_RETURN_EAN13(x)
Definition: isn.h:30

References EAN13, PG_GETARG_CSTRING, PG_RETURN_EAN13, PG_RETURN_NULL, str, and string2ean().

◆ ean13_out()

Datum ean13_out ( PG_FUNCTION_ARGS  )

Definition at line 973 of file isn.c.

974{
976 char *result;
977 char buf[MAXEAN13LEN + 1];
978
979 (void) ean2string(val, false, buf, false);
980
981 result = pstrdup(buf);
982 PG_RETURN_CSTRING(result);
983}
#define PG_RETURN_CSTRING(x)
Definition: fmgr.h:362
long val
Definition: informix.c:689
static bool ean2string(ean13 ean, bool errorOK, char *result, bool shortType)
Definition: isn.c:537
#define MAXEAN13LEN
Definition: isn.c:37
#define PG_GETARG_EAN13(n)
Definition: isn.h:29
char * pstrdup(const char *in)
Definition: mcxt.c:1699
static char * buf
Definition: pg_test_fsync.c:72

References buf, ean2string(), MAXEAN13LEN, PG_GETARG_EAN13, PG_RETURN_CSTRING, pstrdup(), and val.

◆ ean2ISBN()

static void ean2ISBN ( char *  isn)
inlinestatic

Definition at line 447 of file isn.c.

448{
449 char *aux;
450 unsigned check;
451
452 /*
453 * The number should come in this format: 978-0-000-00000-0 or may be an
454 * ISBN-13 number, 979-..., which does not have a short representation. Do
455 * the short output version if possible.
456 */
457 if (strncmp("978-", isn, 4) == 0)
458 {
459 /* Strip the first part and calculate the new check digit */
460 hyphenate(isn, isn + 4, NULL, NULL);
461 check = weight_checkdig(isn, 10);
462 aux = strchr(isn, '\0');
463 while (!isdigit((unsigned char) *--aux));
464 if (check == 10)
465 *aux = 'X';
466 else
467 *aux = check + '0';
468 }
469}
static unsigned hyphenate(char *bufO, char *bufI, const char *(*TABLE)[2], const unsigned TABLE_index[10][2])
Definition: isn.c:172
static unsigned weight_checkdig(char *isn, unsigned size)
Definition: isn.c:282

References hyphenate(), and weight_checkdig().

Referenced by ean2string().

◆ ean2ISMN()

static void ean2ISMN ( char *  isn)
inlinestatic

Definition at line 472 of file isn.c.

473{
474 /* the number should come in this format: 979-0-000-00000-0 */
475 /* Just strip the first part and change the first digit ('0') to 'M' */
476 hyphenate(isn, isn + 4, NULL, NULL);
477 isn[0] = 'M';
478}

References hyphenate().

Referenced by ean2string().

◆ ean2isn()

static bool ean2isn ( ean13  ean,
bool  errorOK,
ean13 result,
enum isn_type  accept 
)
static

Definition at line 345 of file isn.c.

346{
347 enum isn_type type = INVALID;
348
349 char buf[MAXEAN13LEN + 1];
350 char *aux;
351 unsigned digval;
352 unsigned search;
353 ean13 ret = ean;
354
355 ean >>= 1;
356 /* verify it's in the EAN13 range */
357 if (ean > UINT64CONST(9999999999999))
358 goto eantoobig;
359
360 /* convert the number */
361 search = 0;
362 aux = buf + 13;
363 *aux = '\0'; /* terminate string; aux points to last digit */
364 do
365 {
366 digval = (unsigned) (ean % 10); /* get the decimal value */
367 ean /= 10; /* get next digit */
368 *--aux = (char) (digval + '0'); /* convert to ascii and store */
369 } while (ean && search++ < 12);
370 while (search++ < 12)
371 *--aux = '0'; /* fill the remaining EAN13 with '0' */
372
373 /* find out the data type: */
374 if (strncmp("978", buf, 3) == 0)
375 { /* ISBN */
376 type = ISBN;
377 }
378 else if (strncmp("977", buf, 3) == 0)
379 { /* ISSN */
380 type = ISSN;
381 }
382 else if (strncmp("9790", buf, 4) == 0)
383 { /* ISMN */
384 type = ISMN;
385 }
386 else if (strncmp("979", buf, 3) == 0)
387 { /* ISBN-13 */
388 type = ISBN;
389 }
390 else if (*buf == '0')
391 { /* UPC */
392 type = UPC;
393 }
394 else
395 {
396 type = EAN13;
397 }
398 if (accept != ANY && accept != EAN13 && accept != type)
399 goto eanwrongtype;
400
401 *result = ret;
402 return true;
403
404eanwrongtype:
405 if (!errorOK)
406 {
407 if (type != EAN13)
408 {
410 (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
411 errmsg("cannot cast EAN13(%s) to %s for number: \"%s\"",
413 }
414 else
415 {
417 (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
418 errmsg("cannot cast %s to %s for number: \"%s\"",
420 }
421 }
422 return false;
423
424eantoobig:
425 if (!errorOK)
426 {
427 char eanbuf[64];
428
429 /*
430 * Format the number separately to keep the machine-dependent format
431 * code out of the translatable message text
432 */
433 snprintf(eanbuf, sizeof(eanbuf), EAN13_FORMAT, ean);
435 (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
436 errmsg("value \"%s\" is out of range for %s type",
437 eanbuf, isn_names[type])));
438 }
439 return false;
440}
#define UINT64CONST(x)
Definition: c.h:517
int errcode(int sqlerrcode)
Definition: elog.c:854
int errmsg(const char *fmt,...)
Definition: elog.c:1071
#define ereport(elevel,...)
Definition: elog.h:149
static const char *const isn_names[]
Definition: isn.c:44
isn_type
Definition: isn.c:40
#define EAN13_FORMAT
Definition: isn.h:27
#define snprintf
Definition: port.h:239
const char * type
#define accept(s, addr, addrlen)
Definition: win32_port.h:501

References accept, ANY, buf, EAN13, EAN13_FORMAT, ereport, errcode(), errmsg(), ERROR, INVALID, ISBN, ISMN, isn_names, ISSN, MAXEAN13LEN, snprintf, type, UINT64CONST, and UPC.

Referenced by isbn_cast_from_ean13(), ismn_cast_from_ean13(), issn_cast_from_ean13(), and upc_cast_from_ean13().

◆ ean2ISSN()

static void ean2ISSN ( char *  isn)
inlinestatic

Definition at line 481 of file isn.c.

482{
483 unsigned check;
484
485 /* the number should come in this format: 977-0000-000-00-0 */
486 /* Strip the first part, crop, and calculate the new check digit */
487 hyphenate(isn, isn + 4, NULL, NULL);
488 check = weight_checkdig(isn, 8);
489 if (check == 10)
490 isn[8] = 'X';
491 else
492 isn[8] = check + '0';
493 isn[9] = '\0';
494}

References hyphenate(), and weight_checkdig().

Referenced by ean2string().

◆ ean2string()

static bool ean2string ( ean13  ean,
bool  errorOK,
char *  result,
bool  shortType 
)
static

Definition at line 537 of file isn.c.

538{
539 const char *(*TABLE)[2];
540 const unsigned (*TABLE_index)[2];
541 enum isn_type type = INVALID;
542
543 char *aux;
544 unsigned digval;
545 unsigned search;
546 char valid = '\0'; /* was the number initially written with a
547 * valid check digit? */
548
550
551 if ((ean & 1) != 0)
552 valid = '!';
553 ean >>= 1;
554 /* verify it's in the EAN13 range */
555 if (ean > UINT64CONST(9999999999999))
556 goto eantoobig;
557
558 /* convert the number */
559 search = 0;
560 aux = result + MAXEAN13LEN;
561 *aux = '\0'; /* terminate string; aux points to last digit */
562 *--aux = valid; /* append '!' for numbers with invalid but
563 * corrected check digit */
564 do
565 {
566 digval = (unsigned) (ean % 10); /* get the decimal value */
567 ean /= 10; /* get next digit */
568 *--aux = (char) (digval + '0'); /* convert to ascii and store */
569 if (search == 0)
570 *--aux = '-'; /* the check digit is always there */
571 } while (ean && search++ < 13);
572 while (search++ < 13)
573 *--aux = '0'; /* fill the remaining EAN13 with '0' */
574
575 /* The string should be in this form: ???DDDDDDDDDDDD-D" */
576 search = hyphenate(result, result + 3, EAN13_range, EAN13_index);
577
578 /* verify it's a logically valid EAN13 */
579 if (search == 0)
580 {
581 search = hyphenate(result, result + 3, NULL, NULL);
582 goto okay;
583 }
584
585 /* find out what type of hyphenation is needed: */
586 if (strncmp("978-", result, search) == 0)
587 { /* ISBN -13 978-range */
588 /* The string should be in this form: 978-??000000000-0" */
589 type = ISBN;
590 TABLE = ISBN_range;
592 }
593 else if (strncmp("977-", result, search) == 0)
594 { /* ISSN */
595 /* The string should be in this form: 977-??000000000-0" */
596 type = ISSN;
597 TABLE = ISSN_range;
599 }
600 else if (strncmp("979-0", result, search + 1) == 0)
601 { /* ISMN */
602 /* The string should be in this form: 979-0?000000000-0" */
603 type = ISMN;
604 TABLE = ISMN_range;
606 }
607 else if (strncmp("979-", result, search) == 0)
608 { /* ISBN-13 979-range */
609 /* The string should be in this form: 979-??000000000-0" */
610 type = ISBN;
611 TABLE = ISBN_range_new;
613 }
614 else if (*result == '0')
615 { /* UPC */
616 /* The string should be in this form: 000-00000000000-0" */
617 type = UPC;
618 TABLE = UPC_range;
620 }
621 else
622 {
623 type = EAN13;
624 TABLE = NULL;
625 TABLE_index = NULL;
626 }
627
628 /* verify it's a logically valid EAN13/UPC/ISxN */
629 digval = search;
630 search = hyphenate(result + digval, result + digval + 2, TABLE, TABLE_index);
631
632 /* verify it's a valid EAN13 */
633 if (search == 0)
634 {
635 search = hyphenate(result + digval, result + digval + 2, NULL, NULL);
636 goto okay;
637 }
638
639okay:
640 /* convert to the old short type: */
641 if (shortType)
642 switch (type)
643 {
644 case ISBN:
645 ean2ISBN(result);
646 break;
647 case ISMN:
648 ean2ISMN(result);
649 break;
650 case ISSN:
651 ean2ISSN(result);
652 break;
653 case UPC:
654 ean2UPC(result);
655 break;
656 default:
657 break;
658 }
659 return true;
660
661eantoobig:
662 if (!errorOK)
663 {
664 char eanbuf[64];
665
666 /*
667 * Format the number separately to keep the machine-dependent format
668 * code out of the translatable message text
669 */
670 snprintf(eanbuf, sizeof(eanbuf), EAN13_FORMAT, ean);
672 (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
673 errmsg("value \"%s\" is out of range for %s type",
674 eanbuf, isn_names[type])));
675 }
676 return false;
677}
static const unsigned ISBN_index_new[10][2]
Definition: ISBN.h:970
static const char * ISBN_range_new[][2]
Definition: ISBN.h:983
static void ean2ISBN(char *isn)
Definition: isn.c:447
const unsigned TABLE_index[10][2]
Definition: isn.c:70
static void ean2UPC(char *isn)
Definition: isn.c:497
static void ean2ISMN(char *isn)
Definition: isn.c:472
static void ean2ISSN(char *isn)
Definition: isn.c:481

References EAN13, EAN13_FORMAT, EAN13_index, EAN13_range, ean2ISBN(), ean2ISMN(), ean2ISSN(), ean2UPC(), ereport, errcode(), errmsg(), ERROR, hyphenate(), INVALID, ISBN, ISBN_index, ISBN_index_new, ISBN_range, ISBN_range_new, ISMN, ISMN_index, ISMN_range, isn_names, ISSN, ISSN_index, ISSN_range, MAXEAN13LEN, snprintf, TABLE_index, type, UINT64CONST, UPC, UPC_index, and UPC_range.

Referenced by ean13_out(), and isn_out().

◆ ean2UPC()

static void ean2UPC ( char *  isn)
inlinestatic

Definition at line 497 of file isn.c.

498{
499 /* the number should come in this format: 000-000000000-0 */
500 /* Strip the first part, crop, and dehyphenate */
501 dehyphenate(isn, isn + 1);
502 isn[12] = '\0';
503}
static unsigned dehyphenate(char *bufO, char *bufI)
Definition: isn.c:147

References dehyphenate().

Referenced by ean2string().

◆ hyphenate()

static unsigned hyphenate ( char *  bufO,
char *  bufI,
const char *(*)  TABLE[2],
const unsigned  TABLE_index[10][2] 
)
static

Definition at line 172 of file isn.c.

173{
174 unsigned ret = 0;
175 const char *ean_aux1,
176 *ean_aux2,
177 *ean_p;
178 char *firstdig,
179 *aux1,
180 *aux2;
181 unsigned search,
182 upper,
183 lower,
184 step;
185 bool ean_in1,
186 ean_in2;
187
188 /* just compress the string if no further hyphenation is required */
189 if (TABLE == NULL || TABLE_index == NULL)
190 {
191 while (*bufI)
192 {
193 *bufO++ = *bufI++;
194 ret++;
195 }
196 *bufO = '\0';
197 return (ret + 1);
198 }
199
200 /* add remaining hyphenations */
201
202 search = *bufI - '0';
203 upper = lower = TABLE_index[search][0];
204 upper += TABLE_index[search][1];
205 lower--;
206
207 step = (upper - lower) / 2;
208 if (step == 0)
209 return 0;
210 search = lower + step;
211
212 firstdig = bufI;
213 ean_in1 = ean_in2 = false;
214 ean_aux1 = TABLE[search][0];
215 ean_aux2 = TABLE[search][1];
216 do
217 {
218 if ((ean_in1 || *firstdig >= *ean_aux1) && (ean_in2 || *firstdig <= *ean_aux2))
219 {
220 if (*firstdig > *ean_aux1)
221 ean_in1 = true;
222 if (*firstdig < *ean_aux2)
223 ean_in2 = true;
224 if (ean_in1 && ean_in2)
225 break;
226
227 firstdig++, ean_aux1++, ean_aux2++;
228 if (!(*ean_aux1 && *ean_aux2 && *firstdig))
229 break;
230 if (!isdigit((unsigned char) *ean_aux1))
231 ean_aux1++, ean_aux2++;
232 }
233 else
234 {
235 /*
236 * check in what direction we should go and move the pointer
237 * accordingly
238 */
239 if (*firstdig < *ean_aux1 && !ean_in1)
240 upper = search;
241 else
242 lower = search;
243
244 step = (upper - lower) / 2;
245 search = lower + step;
246
247 /* Initialize stuff again: */
248 firstdig = bufI;
249 ean_in1 = ean_in2 = false;
250 ean_aux1 = TABLE[search][0];
251 ean_aux2 = TABLE[search][1];
252 }
253 } while (step);
254
255 if (step)
256 {
257 aux1 = bufO;
258 aux2 = bufI;
259 ean_p = TABLE[search][0];
260 while (*ean_p && *aux2)
261 {
262 if (*ean_p++ != '-')
263 *aux1++ = *aux2++;
264 else
265 *aux1++ = '-';
266 ret++;
267 }
268 *aux1++ = '-';
269 *aux1 = *aux2; /* add a lookahead char */
270 return (ret + 1);
271 }
272 return ret;
273}
Datum lower(PG_FUNCTION_ARGS)
Definition: oracle_compat.c:49
Datum upper(PG_FUNCTION_ARGS)
Definition: oracle_compat.c:80

References lower(), TABLE_index, and upper().

Referenced by ean2ISBN(), ean2ISMN(), ean2ISSN(), and ean2string().

◆ if()

if ( TABLE  = = NULL || TABLE_index == NULL)

Definition at line 81 of file isn.c.

85 {
86 aux1 = TABLE[i][0];
87 aux2 = TABLE[i][1];
88
89 /* must always start with a digit: */
90 if (!isdigit((unsigned char) *aux1) || !isdigit((unsigned char) *aux2))
91 goto invalidtable;
92 a = *aux1 - '0';
93 b = *aux2 - '0';
94
95 /* must always have the same format and length: */
96 while (*aux1 && *aux2)
97 {
98 if (!(isdigit((unsigned char) *aux1) &&
99 isdigit((unsigned char) *aux2)) &&
100 (*aux1 != *aux2 || *aux1 != '-'))
101 goto invalidtable;
102 aux1++;
103 aux2++;
104 }
105 if (*aux1 != *aux2)
106 goto invalidtable;
107
108 /* found a new range */
109 if (a > y)
110 {
111 /* check current range in the index: */
112 for (j = x; j <= y; j++)
113 {
114 if (TABLE_index[j][0] != init)
115 goto invalidindex;
116 if (TABLE_index[j][1] != i - init)
117 goto invalidindex;
118 }
119 init = i;
120 x = a;
121 }
122
123 /* Always get the new limit */
124 y = b;
125 if (y < x)
126 goto invalidtable;
127 i++;
128 }
int y
Definition: isn.c:76
int b
Definition: isn.c:74
int x
Definition: isn.c:75
int init
Definition: isn.c:79
int a
Definition: isn.c:73
int j
Definition: isn.c:78
int i
Definition: isn.c:77

References a, b, i, init, j, TABLE_index, x, and y.

Referenced by _bt_check_unique(), _bt_deltasortsplits(), _bt_preprocess_keys(), _bt_readfirstpage(), _Clone(), _CloseArchive(), _EndData(), _EndLO(), _EndLOs(), _hash_next(), _hash_readnext(), _hash_readprev(), _PrepParallelRestore(), _PrintExtraToc(), _PrintFileData(), _PrintTocData(), _ReadBuf(), _ReadExtraToc(), _ReopenArchive(), _SPI_execute_plan(), _StartLO(), _tarAddFile(), _WriteBuf(), _WriteByte(), _WriteData(), _WriteExtraToc(), add_paths_to_grouping_rel(), addRangeTableEntryForCTE(), AggGetAggref(), AggStateIsShared(), ahwrite(), allocarc(), allocateReloptStruct(), AlterSubscription(), analyzeCTE(), apply_projection_to_path(), are_peers(), array_agg_deserialize(), array_agg_serialize(), array_cmp(), array_eq(), array_fill_internal(), array_in(), array_out(), array_position_common(), array_positions(), array_recv(), array_replace_internal(), array_reverse(), array_sample(), array_send(), array_shuffle(), array_sort_internal(), array_subscript_assign(), array_subscript_assign_slice(), array_subscript_fetch_old(), array_subscript_fetch_old_slice(), array_to_text_internal(), arrayconst_next_fn(), arrayexpr_next_fn(), assign_param_for_placeholdervar(), assign_param_for_var(), astreamer_gzip_decompressor_new(), ATExecAlterColumnType(), ATRewriteTables(), autoinc(), bernoulli_nextsampletuple(), blendscan(), blgetbitmap(), BlockRefTableEntrySetLimitBlock(), bloom_get_procinfo(), BloomFillMetapage(), blrescan(), brin_page_items(), brininsertcleanup(), btendscan(), btgetbitmap(), btgettuple(), btrescan(), btrestrpos(), build_tlist_index_other_vars(), build_tlist_to_deparse(), BuildIndexInfo(), buildMatViewRefreshDependencies(), cash_out(), check_and_push_window_quals(), check_domain_for_new_tuple(), check_parameter_resolution_walker(), check_primary_key(), check_sql_fn_statement(), check_tuple_attribute(), check_variable_parameters(), checkAllTheSame(), CloneFkReferencing(), close_none(), comparetup_cluster_tiebreak(), comparetup_heap_tiebreak(), compute_distinct_stats(), compute_function_attributes(), compute_range_stats(), concat_internal(), connectby_text(), connectby_text_serial(), ConstructTupleDescriptor(), CopyReadAttributesText(), count_rowexpr_columns(), create_bitmap_scan_plan(), create_cursor(), create_setop_path(), CreateRole(), CreateStatistics(), crosstab(), crosstab_hash(), cube_a_f8_f8(), currtid_for_view(), dblink_get_pkey(), deparse_lquery(), deparseAggref(), deparseFromExprForRel(), digest_finish(), digest_reset(), digest_update(), distribute_row_identity_vars(), div_var(), domain_in(), domain_recv(), DoPortalRunFetch(), DropRelationsAllBuffers(), dumpConstraint(), dumpRelationStats_dumper(), ecpg_build_params(), enum_cmp_internal(), estimate_path_cost_size(), estimate_rel_size(), eval_const_expressions_mutator(), examine_simple_variable(), examine_variable(), exec_simple_query(), exec_stmt_case(), exec_stmt_dynexecute(), exec_stmt_execsql(), exec_stmt_fetch(), ExecAlterDefaultPrivilegesStmt(), ExecAppendAsyncEventWait(), ExecBuildProjectionInfo(), ExecEndForeignScan(), ExecEvalJsonConstructor(), ExecForeignScan(), ExecGather(), ExecHashBuildSkewHash(), ExecInsert(), ExecReScanFunctionScan(), ExecSort(), execute_dml_stmt(), expand_indexqual_rowcompare(), expanded_record_set_tuple(), expandRecordVariable(), ExplainNode(), exprCollation(), exprSetCollation(), exprType(), exprTypmod(), fetch_array_arg_replace_nulls(), FigureColnameInternal(), fileBeginForeignScan(), fileEndForeignScan(), fileGetForeignPaths(), final_cost_mergejoin(), finalize_grouping_exprs_walker(), find_forced_null_var(), find_param_generator(), fixed_paramref_hook(), fmgr_sql(), foreign_expr_walker(), foreign_grouping_ok(), foreign_join_ok(), freestate_cluster(), generateClonedIndexStmt(), GenericXLogFinish(), get_altertable_subcmdinfo(), get_cached_rowtype(), get_fn_opclass_options(), get_multirange_io_data(), get_name_for_var_field(), get_range_io_data(), get_rule_expr(), get_rule_sortgroupclause(), get_setop_query(), get_update_query_targetlist_def(), get_useful_pathkeys_for_relation(), get_windowclause_startup_tuples(), get_windowfunc_expr_helper(), GetExistingLocalJoinPath(), getIthJsonbValueFromContainer(), GetJsonTableExecContext(), GetMultiXactIdMembers(), getNextNearest(), getSide(), getTables(), GetWALBlockInfo(), gimme_gene(), ginCompressPostingList(), gininsert(), gist_page_items(), gist_page_items_bytea(), gistbuild(), gistgetbitmap(), gistgettuple(), gistindex_keytest(), gistinsert(), gistrescan(), gistSplit(), group_similar_or_args(), gtrgm_consistent(), gtrgm_distance(), has_fn_opclass_options(), hash_array(), hash_array_extended(), hash_record(), hash_record_extended(), hashendscan(), hashgettuple(), hashrescan(), hstore_each(), hstore_from_record(), hstore_populate_record(), hstore_skeys(), hstore_svals(), ImportForeignSchema(), inclusion_get_procinfo(), inclusion_get_strategy_procinfo(), index_update_stats(), infer_arbiter_indexes(), InitMaterializedSRF(), inline_set_returning_function(), insert_username(), interval_to_char(), intset_flush_buffered_values(), intset_update_upper(), inv_getsize(), is_foreign_expr(), is_foreign_param(), is_foreign_pathkey(), IsBinaryTidClause(), IsCurrentOfClause(), IsPagerNeeded(), IsTidEqualAnyClause(), itm2interval(), itmin2interval(), json_object_keys(), jsonb_object_keys(), jsonb_subscript_assign(), jsonb_subscript_check_subscripts(), list_next_fn(), lo_initialize(), lo_manage(), ltree_concat(), main(), make_callstmt_target(), map_variable_attnos_mutator(), markNullableIfNeeded(), match_boolean_index_clause(), match_foreign_keys_to_quals(), match_opclause_to_indexcol(), match_orclause_to_indexcol(), match_rowcompare_to_indexcol(), match_saopclause_to_indexcol(), maybe_send_schema(), minmax_get_strategy_procinfo(), minmax_multi_get_procinfo(), minmax_multi_get_strategy_procinfo(), moddatetime(), multirange_get_typcache(), networkjoinsel_semi(), newstate(), nocachegetattr(), NormalizeSubWord(), optimize_window_clauses(), ordered_set_startup(), PageIndexTupleDelete(), PageIndexTupleDeleteNoCompact(), pagetable_allocate(), pagetable_free(), paraminfo_get_equal_hashops(), paramlist_param_ref(), parse_one_reloption(), parse_publication_options(), ParseExplainOptionList(), parseqatom(), pg_check_frozen(), pg_check_visible(), pg_event_trigger_ddl_commands(), pg_event_trigger_dropped_objects(), pg_get_catalog_foreign_keys(), pg_get_publication_tables(), pg_input_is_valid_common(), pg_partition_ancestors(), pg_partition_tree(), pg_regexec(), pg_regprefix(), pg_stat_get_progress_info(), pg_timezone_abbrevs_abbrevs(), pg_visibility_map_rel(), pg_visibility_rel(), pgoutput_message(), pgoutput_origin_filter(), pgp_armor_headers(), pgstat_relation_delete_pending_cb(), pgstat_report_analyze(), pgstat_report_vacuum(), pgstathashindex(), plperl_func_handler(), plperl_return_next_internal(), plperl_trigger_handler(), plpgsql_exec_function(), plpgsql_post_column_ref(), plpgsql_pre_column_ref(), plsample_trigger_handler(), pltcl_func_handler(), PLy_exec_function(), populate_recordset_worker(), postgresBeginDirectModify(), postgresBeginForeignScan(), postgresEndDirectModify(), postgresEndForeignModify(), postgresEndForeignScan(), postgresExecForeignBatchInsert(), postgresExecForeignInsert(), postgresGetForeignPlan(), postgresIterateDirectModify(), postgresIterateForeignScan(), postgresPlanDirectModify(), postgresReScanForeignScan(), pqAddTuple(), pr_comment(), prepTuplestoreResult(), printTableAddCell(), process_subquery_nestloop_params(), prs_process_call(), pullup_replace_vars_callback(), qual_is_pushdown_safe(), range_get_typcache(), raw_heap_insert(), read_dictionary(), read_none(), read_stream_start_pending_read(), read_whole_file(), ReadNextXLogRecord(), ReadPageInternal(), reconsider_full_join_clause(), reconstruct_from_incremental_file(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), record_in(), record_out(), record_recv(), record_send(), regexp_instr(), regexp_matches(), regexp_split_to_table(), regexp_substr(), remove_unused_subquery_outputs(), remove_useless_groupby_columns(), RemoveUserMapping(), ReorderBufferSerializeChange(), restriction_is_always_false(), restriction_is_always_true(), restriction_is_constant_false(), rewriteTargetListIU(), rewriteValuesRTE(), rfree(), ri_CheckTrigger(), RI_Initial_Check(), row_is_in_frame(), RT_GROW_NODE_16(), satisfies_hash_partition(), scram_init(), search_directory(), search_indexed_tlist_for_phv(), set_dummy_tlist_references(), set_output_count(), set_plan_refs(), set_subquery_pathlist(), set_subquery_size_estimates(), setFilePath(), show_agg_keys(), spg_box_quad_inner_consistent(), spggettuple(), SpGistUpdateMetaPage(), spgPrepareScanKeys(), spgrescan(), split_selfjoin_quals(), spool_tuples(), sql_fn_param_ref(), sql_fn_post_column_ref(), statext_dependencies_build(), storeRow(), sts_parallel_scan_next(), substitute_grouped_columns_mutator(), SubTransSetParent(), suppress_redundant_updates_trigger(), system_nextsampletuple(), system_rows_nextsampleblock(), system_rows_nextsampletuple(), system_time_nextsampleblock(), system_time_nextsampletuple(), table_block_parallelscan_nextpage(), table_block_relation_estimate_size(), tarOpen(), test_regex(), thesaurus_lexize(), timetz_izone(), timetz_zone(), tlist_member_match_var(), transformCaseExpr(), transformTargetList(), trigger_return_old(), tsvector_unnest(), tsvector_update_trigger(), tt_process_call(), ttdummy(), TupleHashTableHash_internal(), tuplesort_getdatum(), tuplesort_putdatum(), tzparse(), unique_key_recheck(), update_frameheadpos(), update_frametailpos(), update_grouptailpos(), vacuum_rel(), variable_coerce_param_hook(), variable_paramref_hook(), varstrfastcmp_locale(), verify_client_proof(), verify_heapam(), view_col_is_auto_updatable(), width_bucket_array(), WinRowsArePeers(), writetup_datum(), XLogDecodeNextRecord(), XLogInsertRecord(), XLogPrefetcherNextBlock(), and XLogRecordSaveFPWs().

◆ is_valid()

Datum is_valid ( PG_FUNCTION_ARGS  )

Definition at line 1110 of file isn.c.

1111{
1113
1114 PG_RETURN_BOOL((val & 1) == 0);
1115}

References PG_GETARG_EAN13, PG_RETURN_BOOL, and val.

◆ isbn_cast_from_ean13()

Datum isbn_cast_from_ean13 ( PG_FUNCTION_ARGS  )

Definition at line 1059 of file isn.c.

1060{
1062 ean13 result;
1063
1064 (void) ean2isn(val, false, &result, ISBN);
1065
1066 PG_RETURN_EAN13(result);
1067}
static bool ean2isn(ean13 ean, bool errorOK, ean13 *result, enum isn_type accept)
Definition: isn.c:345

References ean2isn(), ISBN, PG_GETARG_EAN13, PG_RETURN_EAN13, and val.

◆ isbn_in()

Datum isbn_in ( PG_FUNCTION_ARGS  )

Definition at line 1003 of file isn.c.

1004{
1005 const char *str = PG_GETARG_CSTRING(0);
1006 ean13 result;
1007
1008 if (!string2ean(str, fcinfo->context, &result, ISBN))
1010 PG_RETURN_EAN13(result);
1011}

References ISBN, PG_GETARG_CSTRING, PG_RETURN_EAN13, PG_RETURN_NULL, str, and string2ean().

◆ ismn_cast_from_ean13()

Datum ismn_cast_from_ean13 ( PG_FUNCTION_ARGS  )

Definition at line 1071 of file isn.c.

1072{
1074 ean13 result;
1075
1076 (void) ean2isn(val, false, &result, ISMN);
1077
1078 PG_RETURN_EAN13(result);
1079}

References ean2isn(), ISMN, PG_GETARG_EAN13, PG_RETURN_EAN13, and val.

◆ ismn_in()

Datum ismn_in ( PG_FUNCTION_ARGS  )

Definition at line 1017 of file isn.c.

1018{
1019 const char *str = PG_GETARG_CSTRING(0);
1020 ean13 result;
1021
1022 if (!string2ean(str, fcinfo->context, &result, ISMN))
1024 PG_RETURN_EAN13(result);
1025}

References ISMN, PG_GETARG_CSTRING, PG_RETURN_EAN13, PG_RETURN_NULL, str, and string2ean().

◆ isn_out()

Datum isn_out ( PG_FUNCTION_ARGS  )

Definition at line 957 of file isn.c.

958{
960 char *result;
961 char buf[MAXEAN13LEN + 1];
962
963 (void) ean2string(val, false, buf, true);
964
965 result = pstrdup(buf);
966 PG_RETURN_CSTRING(result);
967}

References buf, ean2string(), MAXEAN13LEN, PG_GETARG_EAN13, PG_RETURN_CSTRING, pstrdup(), and val.

◆ issn_cast_from_ean13()

Datum issn_cast_from_ean13 ( PG_FUNCTION_ARGS  )

Definition at line 1083 of file isn.c.

1084{
1086 ean13 result;
1087
1088 (void) ean2isn(val, false, &result, ISSN);
1089
1090 PG_RETURN_EAN13(result);
1091}

References ean2isn(), ISSN, PG_GETARG_EAN13, PG_RETURN_EAN13, and val.

◆ issn_in()

Datum issn_in ( PG_FUNCTION_ARGS  )

Definition at line 1031 of file isn.c.

1032{
1033 const char *str = PG_GETARG_CSTRING(0);
1034 ean13 result;
1035
1036 if (!string2ean(str, fcinfo->context, &result, ISSN))
1038 PG_RETURN_EAN13(result);
1039}

References ISSN, PG_GETARG_CSTRING, PG_RETURN_EAN13, PG_RETURN_NULL, str, and string2ean().

◆ make_valid()

Datum make_valid ( PG_FUNCTION_ARGS  )

Definition at line 1121 of file isn.c.

1122{
1124
1125 val &= ~((ean13) 1);
1127}

References PG_GETARG_EAN13, PG_RETURN_EAN13, and val.

◆ pg_attribute_unused()

pg_attribute_unused ( ) )[2] const

◆ PG_FUNCTION_INFO_V1() [1/15]

PG_FUNCTION_INFO_V1 ( accept_weak_input  )

◆ PG_FUNCTION_INFO_V1() [2/15]

PG_FUNCTION_INFO_V1 ( ean13_in  )

◆ PG_FUNCTION_INFO_V1() [3/15]

PG_FUNCTION_INFO_V1 ( ean13_out  )

◆ PG_FUNCTION_INFO_V1() [4/15]

PG_FUNCTION_INFO_V1 ( is_valid  )

◆ PG_FUNCTION_INFO_V1() [5/15]

PG_FUNCTION_INFO_V1 ( isbn_cast_from_ean13  )

◆ PG_FUNCTION_INFO_V1() [6/15]

PG_FUNCTION_INFO_V1 ( isbn_in  )

◆ PG_FUNCTION_INFO_V1() [7/15]

PG_FUNCTION_INFO_V1 ( ismn_cast_from_ean13  )

◆ PG_FUNCTION_INFO_V1() [8/15]

PG_FUNCTION_INFO_V1 ( ismn_in  )

◆ PG_FUNCTION_INFO_V1() [9/15]

PG_FUNCTION_INFO_V1 ( isn_out  )

◆ PG_FUNCTION_INFO_V1() [10/15]

PG_FUNCTION_INFO_V1 ( issn_cast_from_ean13  )

◆ PG_FUNCTION_INFO_V1() [11/15]

PG_FUNCTION_INFO_V1 ( issn_in  )

◆ PG_FUNCTION_INFO_V1() [12/15]

PG_FUNCTION_INFO_V1 ( make_valid  )

◆ PG_FUNCTION_INFO_V1() [13/15]

PG_FUNCTION_INFO_V1 ( upc_cast_from_ean13  )

◆ PG_FUNCTION_INFO_V1() [14/15]

PG_FUNCTION_INFO_V1 ( upc_in  )

◆ PG_FUNCTION_INFO_V1() [15/15]

PG_FUNCTION_INFO_V1 ( weak_input_status  )

◆ PG_MODULE_MAGIC_EXT()

PG_MODULE_MAGIC_EXT ( name = "isn",
version = PG_VERSION 
)

◆ str2ean()

static ean13 str2ean ( const char *  num)
static

Definition at line 513 of file isn.c.

514{
515 ean13 ean = 0; /* current ean */
516
517 while (*num)
518 {
519 if (isdigit((unsigned char) *num))
520 ean = 10 * ean + (*num - '0');
521 num++;
522 }
523 return (ean << 1); /* also give room to a flag */
524}

Referenced by string2ean().

◆ string2ean()

static bool string2ean ( const char *  str,
struct Node escontext,
ean13 result,
enum isn_type  accept 
)
static

Definition at line 689 of file isn.c.

691{
692 bool digit,
693 last;
694 char buf[17] = " ";
695 char *aux1 = buf + 3; /* leave space for the first part, in case
696 * it's needed */
697 const char *aux2 = str;
698 enum isn_type type = INVALID;
699 unsigned check = 0,
700 rcheck = (unsigned) -1;
701 unsigned length = 0;
702 bool magic = false,
703 valid = true;
704
705 /* recognize and validate the number: */
706 while (*aux2 && length <= 13)
707 {
708 last = (*(aux2 + 1) == '!' || *(aux2 + 1) == '\0'); /* is the last character */
709 digit = (isdigit((unsigned char) *aux2) != 0); /* is current character
710 * a digit? */
711 if (*aux2 == '?' && last) /* automagically calculate check digit if
712 * it's '?' */
713 magic = digit = true;
714 if (length == 0 && (*aux2 == 'M' || *aux2 == 'm'))
715 {
716 /* only ISMN can be here */
717 if (type != INVALID)
718 goto eaninvalid;
719 type = ISMN;
720 *aux1++ = 'M';
721 length++;
722 }
723 else if (length == 7 && (digit || *aux2 == 'X' || *aux2 == 'x') && last)
724 {
725 /* only ISSN can be here */
726 if (type != INVALID)
727 goto eaninvalid;
728 type = ISSN;
729 *aux1++ = toupper((unsigned char) *aux2);
730 length++;
731 }
732 else if (length == 9 && (digit || *aux2 == 'X' || *aux2 == 'x') && last)
733 {
734 /* only ISBN and ISMN can be here */
735 if (type != INVALID && type != ISMN)
736 goto eaninvalid;
737 if (type == INVALID)
738 type = ISBN; /* ISMN must start with 'M' */
739 *aux1++ = toupper((unsigned char) *aux2);
740 length++;
741 }
742 else if (length == 11 && digit && last)
743 {
744 /* only UPC can be here */
745 if (type != INVALID)
746 goto eaninvalid;
747 type = UPC;
748 *aux1++ = *aux2;
749 length++;
750 }
751 else if (*aux2 == '-' || *aux2 == ' ')
752 {
753 /* skip, we could validate but I think it's worthless */
754 }
755 else if (*aux2 == '!' && *(aux2 + 1) == '\0')
756 {
757 /* the invalid check digit suffix was found, set it */
758 if (!magic)
759 valid = false;
760 magic = true;
761 }
762 else if (!digit)
763 {
764 goto eaninvalid;
765 }
766 else
767 {
768 *aux1++ = *aux2;
769 if (++length > 13)
770 goto eantoobig;
771 }
772 aux2++;
773 }
774 *aux1 = '\0'; /* terminate the string */
775
776 /* find the current check digit value */
777 if (length == 13)
778 {
779 /* only EAN13 can be here */
780 if (type != INVALID)
781 goto eaninvalid;
782 type = EAN13;
783 check = buf[15] - '0';
784 }
785 else if (length == 12)
786 {
787 /* only UPC can be here */
788 if (type != UPC)
789 goto eaninvalid;
790 check = buf[14] - '0';
791 }
792 else if (length == 10)
793 {
794 if (type != ISBN && type != ISMN)
795 goto eaninvalid;
796 if (buf[12] == 'X')
797 check = 10;
798 else
799 check = buf[12] - '0';
800 }
801 else if (length == 8)
802 {
803 if (type != INVALID && type != ISSN)
804 goto eaninvalid;
805 type = ISSN;
806 if (buf[10] == 'X')
807 check = 10;
808 else
809 check = buf[10] - '0';
810 }
811 else
812 goto eaninvalid;
813
814 if (type == INVALID)
815 goto eaninvalid;
816
817 /* obtain the real check digit value, validate, and convert to ean13: */
818 if (accept == EAN13 && type != accept)
819 goto eanwrongtype;
820 if (accept != ANY && type != EAN13 && type != accept)
821 goto eanwrongtype;
822 switch (type)
823 {
824 case EAN13:
825 valid = (valid && ((rcheck = checkdig(buf + 3, 13)) == check || magic));
826 /* now get the subtype of EAN13: */
827 if (buf[3] == '0')
828 type = UPC;
829 else if (strncmp("977", buf + 3, 3) == 0)
830 type = ISSN;
831 else if (strncmp("978", buf + 3, 3) == 0)
832 type = ISBN;
833 else if (strncmp("9790", buf + 3, 4) == 0)
834 type = ISMN;
835 else if (strncmp("979", buf + 3, 3) == 0)
836 type = ISBN;
837 if (accept != EAN13 && accept != ANY && type != accept)
838 goto eanwrongtype;
839 break;
840 case ISMN:
841 memcpy(buf, "9790", 4); /* this isn't for sure yet, for now ISMN
842 * it's only 9790 */
843 valid = (valid && ((rcheck = checkdig(buf, 13)) == check || magic));
844 break;
845 case ISBN:
846 memcpy(buf, "978", 3);
847 valid = (valid && ((rcheck = weight_checkdig(buf + 3, 10)) == check || magic));
848 break;
849 case ISSN:
850 memcpy(buf + 10, "00", 2); /* append 00 as the normal issue
851 * publication code */
852 memcpy(buf, "977", 3);
853 valid = (valid && ((rcheck = weight_checkdig(buf + 3, 8)) == check || magic));
854 break;
855 case UPC:
856 buf[2] = '0';
857 valid = (valid && ((rcheck = checkdig(buf + 2, 13)) == check || magic));
858 default:
859 break;
860 }
861
862 /* fix the check digit: */
863 for (aux1 = buf; *aux1 && *aux1 <= ' '; aux1++);
864 aux1[12] = checkdig(aux1, 13) + '0';
865 aux1[13] = '\0';
866
867 if (!valid && !magic)
868 goto eanbadcheck;
869
870 *result = str2ean(aux1);
871 *result |= valid ? 0 : 1;
872 return true;
873
874eanbadcheck:
875 if (g_weak)
876 { /* weak input mode is activated: */
877 /* set the "invalid-check-digit-on-input" flag */
878 *result = str2ean(aux1);
879 *result |= 1;
880 return true;
881 }
882
883 if (rcheck == (unsigned) -1)
884 {
885 ereturn(escontext, false,
886 (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
887 errmsg("invalid %s number: \"%s\"",
888 isn_names[accept], str)));
889 }
890 else
891 {
892 ereturn(escontext, false,
893 (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
894 errmsg("invalid check digit for %s number: \"%s\", should be %c",
895 isn_names[accept], str, (rcheck == 10) ? ('X') : (rcheck + '0'))));
896 }
897
898eaninvalid:
899 ereturn(escontext, false,
900 (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
901 errmsg("invalid input syntax for %s number: \"%s\"",
902 isn_names[accept], str)));
903
904eanwrongtype:
905 ereturn(escontext, false,
906 (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION),
907 errmsg("cannot cast %s to %s for number: \"%s\"",
909
910eantoobig:
911 ereturn(escontext, false,
912 (errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
913 errmsg("value \"%s\" is out of range for %s type",
914 str, isn_names[accept])));
915}
#define ereturn(context, dummy_value,...)
Definition: elog.h:278
static unsigned checkdig(char *num, unsigned size)
Definition: isn.c:308
static ean13 str2ean(const char *num)
Definition: isn.c:513

References accept, ANY, buf, checkdig(), EAN13, ereturn, errcode(), errmsg(), g_weak, INVALID, ISBN, ISMN, isn_names, ISSN, str, str2ean(), type, UPC, and weight_checkdig().

Referenced by ean13_in(), isbn_in(), ismn_in(), issn_in(), and upc_in().

◆ upc_cast_from_ean13()

Datum upc_cast_from_ean13 ( PG_FUNCTION_ARGS  )

Definition at line 1095 of file isn.c.

1096{
1098 ean13 result;
1099
1100 (void) ean2isn(val, false, &result, UPC);
1101
1102 PG_RETURN_EAN13(result);
1103}

References ean2isn(), PG_GETARG_EAN13, PG_RETURN_EAN13, UPC, and val.

◆ upc_in()

Datum upc_in ( PG_FUNCTION_ARGS  )

Definition at line 1045 of file isn.c.

1046{
1047 const char *str = PG_GETARG_CSTRING(0);
1048 ean13 result;
1049
1050 if (!string2ean(str, fcinfo->context, &result, UPC))
1052 PG_RETURN_EAN13(result);
1053}

References PG_GETARG_CSTRING, PG_RETURN_EAN13, PG_RETURN_NULL, str, string2ean(), and UPC.

◆ weak_input_status()

Datum weak_input_status ( PG_FUNCTION_ARGS  )

Definition at line 1146 of file isn.c.

1147{
1149}

References g_weak, and PG_RETURN_BOOL.

◆ weight_checkdig()

static unsigned weight_checkdig ( char *  isn,
unsigned  size 
)
static

Definition at line 282 of file isn.c.

283{
284 unsigned weight = 0;
285
286 while (*isn && size > 1)
287 {
288 if (isdigit((unsigned char) *isn))
289 {
290 weight += size-- * (*isn - '0');
291 }
292 isn++;
293 }
294 weight = weight % 11;
295 if (weight != 0)
296 weight = 11 - weight;
297 return weight;
298}

Referenced by ean2ISBN(), ean2ISSN(), and string2ean().

Variable Documentation

◆ __pad0__

invalidtable __pad0__

Definition at line 132 of file isn.c.

◆ __pad1__

invalidindex __pad1__

Definition at line 137 of file isn.c.

◆ a

int a

Definition at line 73 of file isn.c.

Referenced by _bt_compare_array_elements(), _bt_delitems_cmp(), _equalA_Const(), _equalBitmapset(), _equalConst(), _equalExtensibleNode(), _equalList(), _gin_compare_tuples(), _gin_parse_tuple_items(), _gin_parse_tuple_key(), _int_contains(), _int_inter(), _int_overlap(), _int_same(), _int_union(), _intbig_contains(), _intbig_overlap(), _lca(), _ltree_same(), _yconv(), abs_interval(), addressOK(), allocarc(), AlterFunction(), AlterSetting(), AlterType(), analyze(), append_startup_cost_compare(), append_total_cost_compare(), ApplySetting(), apw_compare_blockinfo(), array_iter_setup(), atcomp(), AttrDefaultCmp(), bitfromint4(), bitfromint8(), BlockRefTableComparator(), bms_add_member(), bms_add_members(), bms_add_range(), bms_compare(), bms_copy(), bms_del_member(), bms_del_members(), bms_difference(), bms_equal(), bms_free(), bms_get_singleton_member(), bms_hash_value(), bms_int_members(), bms_intersect(), bms_is_member(), bms_is_subset(), bms_join(), bms_member_index(), bms_membership(), bms_next_member(), bms_nonempty_difference(), bms_num_members(), bms_overlap(), bms_overlap_list(), bms_prev_member(), bms_replace_members(), bms_singleton_member(), bms_subset_compare(), bms_union(), bound_cmp(), box_distance(), breakconstraintloop(), brin_minmax_multi_distance_inet(), brin_minmax_multi_distance_macaddr(), brin_minmax_multi_distance_macaddr8(), brin_minmax_multi_summary_out(), brin_tuples_equal(), btboolcmp(), btcharcmp(), btint24cmp(), btint28cmp(), btint2cmp(), btint2fastcmp(), btint42cmp(), btint48cmp(), btint4cmp(), btint82cmp(), btint84cmp(), btint8cmp(), btint8fastcmp(), btoidcmp(), btoidfastcmp(), btoidvectorcmp(), buffer_cmp(), carc_cmp(), cash_dist(), changearcsource(), changearctarget(), chareqfast(), check_in_colors_match(), check_out_colors_match(), CheckConstraintCmp(), checkmatchall(), checkmatchall_recurse(), ckpt_buforder_comparator(), cleartraverse(), cloneouts(), clonesuccessorstates(), cmp_fxid(), cmp_lbestatus(), cmp_list_len_asc(), cmp_list_len_contents_asc(), cmp_lsn(), cmp_string(), cmpaliases(), cmpEntries(), cmpEntryAccumulator(), cmpLexeme(), cmpLexemeInfo(), cmpLexemeQ(), cmpNodePtr(), cmpOffsetNumbers(), cmpQTN(), cmpTheLexeme(), CMPTRGM_CHOOSE(), CMPTRGM_SIGNED(), CMPTRGM_UNSIGNED(), codepoint_range_cmp(), collectTSQueryValues(), colorchain(), colorcomplement(), combine(), common_prefix_cmp(), commonPrefix(), comp_location(), comp_trgm(), compact(), compare_block_numbers(), compare_datums_simple(), compare_distances(), compare_expanded_ranges(), compare_int(), compare_int16(), compare_mcvs(), compare_rows(), compare_scalars(), compare_scalars_simple(), compare_sort_item_count(), compare_syn(), compare_text_lexemes(), compare_val_int4(), compare_values(), comparecost(), compareDocR(), compareDoubles(), compareentry(), compareint(), compareJsonbContainers(), compareJsonbScalarValue(), compareNumeric(), comparePairs(), compareQueryOperand(), compareSyn(), CompareTSQ(), comparetup_cluster(), comparetup_cluster_tiebreak(), comparetup_datum(), comparetup_datum_tiebreak(), comparetup_heap(), comparetup_heap_tiebreak(), comparetup_index_brin(), comparetup_index_btree(), comparetup_index_btree_tiebreak(), comparetup_index_gin(), comparetup_index_hash(), compareWalFileNames(), compareWORD(), compareWordEntryPos(), complex_abs_cmp(), complex_abs_cmp_internal(), complex_abs_eq(), complex_abs_ge(), complex_abs_gt(), complex_abs_le(), complex_abs_lt(), complex_add(), constraints_equivalent(), convert_requires_to_datum(), copy_intArrayType(), copyins(), copyouts(), createarc(), cube_cmp(), cube_cmp_v0(), cube_contained(), cube_contains(), cube_contains_v0(), cube_distance(), cube_enlarge(), cube_eq(), cube_ge(), cube_gt(), cube_inter(), cube_le(), cube_lt(), cube_ne(), cube_overlap(), cube_overlap_v0(), cube_size(), cube_union(), cube_union_v0(), db_comparator(), dcs_cmp(), Decomp_hash_func(), DefineType(), deltraverse(), diag3(), diag4(), distance_chebyshev(), distance_taxicab(), dropstate(), dshash_memcmp(), dshash_strcmp(), duptraverse(), ECPGconnect(), emptyreachable(), enum_cmp(), enum_eq(), enum_ge(), enum_gt(), enum_larger(), enum_le(), enum_lt(), enum_ne(), enum_smaller(), equal(), equal_keys(), equalsJsonbScalarValue(), extension_config_remove(), file_sort_by_lsn(), FileNameMapCmp(), final_filemap_cmp(), findarc(), findconstraintloop(), fixconstraintloops(), fixempties(), float4_cmp_internal(), float4_dist(), float8_cmp_internal(), float8_dist(), foreign_expr_walker(), FullTransactionIdNewer(), g_int_same(), g_intbig_same(), gbt_bitcmp(), gbt_biteq(), gbt_bitge(), gbt_bitgt(), gbt_bitle(), gbt_bitlt(), gbt_booleq(), gbt_boolge(), gbt_boolgt(), gbt_boolkey_cmp(), gbt_boolle(), gbt_boollt(), gbt_bpcharcmp(), gbt_bpchareq(), gbt_bpcharge(), gbt_bpchargt(), gbt_bpcharle(), gbt_bpcharlt(), gbt_byteacmp(), gbt_byteaeq(), gbt_byteage(), gbt_byteagt(), gbt_byteale(), gbt_bytealt(), gbt_cash_dist(), gbt_casheq(), gbt_cashge(), gbt_cashgt(), gbt_cashkey_cmp(), gbt_cashle(), gbt_cashlt(), gbt_dateeq(), gbt_datege(), gbt_dategt(), gbt_datekey_cmp(), gbt_datele(), gbt_datelt(), gbt_enumeq(), gbt_enumge(), gbt_enumgt(), gbt_enumkey_cmp(), gbt_enumle(), gbt_enumlt(), gbt_float4_dist(), gbt_float4eq(), gbt_float4ge(), gbt_float4gt(), gbt_float4key_cmp(), gbt_float4le(), gbt_float4lt(), gbt_float8_dist(), gbt_float8eq(), gbt_float8ge(), gbt_float8gt(), gbt_float8key_cmp(), gbt_float8le(), gbt_float8lt(), gbt_ineteq(), gbt_inetge(), gbt_inetgt(), gbt_inetkey_cmp(), gbt_inetle(), gbt_inetlt(), gbt_int2_dist(), gbt_int2eq(), gbt_int2ge(), gbt_int2gt(), gbt_int2key_cmp(), gbt_int2le(), gbt_int2lt(), gbt_int4_dist(), gbt_int4_ssup_cmp(), gbt_int4eq(), gbt_int4ge(), gbt_int4gt(), gbt_int4key_cmp(), gbt_int4le(), gbt_int4lt(), gbt_int8_dist(), gbt_int8eq(), gbt_int8ge(), gbt_int8gt(), gbt_int8key_cmp(), gbt_int8le(), gbt_int8lt(), gbt_intv_dist(), gbt_intveq(), gbt_intvge(), gbt_intvgt(), gbt_intvkey_cmp(), gbt_intvle(), gbt_intvlt(), gbt_macad8eq(), gbt_macad8ge(), gbt_macad8gt(), gbt_macad8key_cmp(), gbt_macad8le(), gbt_macad8lt(), gbt_macadeq(), gbt_macadge(), gbt_macadgt(), gbt_macadkey_cmp(), gbt_macadle(), gbt_macadlt(), gbt_num_same(), gbt_numeric_cmp(), gbt_numeric_eq(), gbt_numeric_ge(), gbt_numeric_gt(), gbt_numeric_le(), gbt_numeric_lt(), gbt_oid_dist(), gbt_oideq(), gbt_oidge(), gbt_oidgt(), gbt_oidkey_cmp(), gbt_oidle(), gbt_oidlt(), gbt_textcmp(), gbt_texteq(), gbt_textge(), gbt_textgt(), gbt_textle(), gbt_textlt(), gbt_time_dist(), gbt_timeeq(), gbt_timege(), gbt_timegt(), gbt_timekey_cmp(), gbt_timele(), gbt_timelt(), gbt_ts_dist(), gbt_tseq(), gbt_tsge(), gbt_tsgt(), gbt_tskey_cmp(), gbt_tsle(), gbt_tslt(), gbt_uuideq(), gbt_uuidge(), gbt_uuidgt(), gbt_uuidkey_cmp(), gbt_uuidle(), gbt_uuidlt(), gbt_vsrt_cmp(), gcd(), gdb_date_dist(), gensign(), get_b_utf8(), ghstore_same(), gin_btree_compare_prefix(), gin_cmp_prefix(), gin_cmp_tslexeme(), gin_enum_cmp(), gin_numeric_cmp(), ginCompareAttEntries(), ginCompareEntries(), ginCompareItemPointers(), ginMergeItemPointers(), gist_bbox_zorder_cmp(), gistKeyIsEQ(), gseg_picksplit_item_cmp(), gtrgm_same(), gtsquery_same(), gtsvector_same(), guc_var_compare(), GUCArrayAdd(), hasconstraintout(), hash_aclitem(), hash_aclitem_extended(), hash_bytes(), hash_bytes_extended(), hash_bytes_uint32(), hash_bytes_uint32_extended(), hash_combine(), hash_combine64(), hash_ltree(), hash_ltree_extended(), hasnonemptyout(), heap_compare_slots(), heap_tuple_infomask_flags(), hemdist(), hemdistcache(), hemdistsign(), hstore_akeys(), hstore_avals(), hstoreArrayToPairs(), hstoreUniquePairs(), icount(), idx(), if(), inner_int_contains(), inner_int_inter(), inner_int_overlap(), inner_int_union(), int2_dist(), int2eqfast(), int4_dist(), int4eqfast(), int8_dist(), int_cmp(), intarray_add_elem(), intarray_concat_arrays(), intarray_del_elem(), intarray_match_first(), intarray_push_array(), intarray_push_elem(), internal_size(), interval_cmp_lower(), interval_cmp_upper(), intset_subtract(), intset_union_elem(), ipv4eq(), ipv6eq(), irbt_cmp(), is_alpha(), is_space(), isconstraintarc(), isort_cmp(), itemptr_comparator(), join_tsqueries(), jspGetArg(), jspGetLeftArg(), jspGetNext(), jspGetRightArg(), key_cmp(), lca(), lca_inner(), lengthCompareJsonbPair(), lengthCompareJsonbStringValue(), list_sort(), ListComparatorForWalSummaryFiles(), lowerit(), lseg_inside_poly(), ltree_addltree(), ltree_addtext(), ltree_compare(), ltree_concat(), ltree_index(), ltree_same(), ltree_strncasecmp(), ltree_textadd(), macaddr8_in(), macaddr_in(), main(), makeA_Expr(), makeAlias(), makesearch(), makesign(), makeSimpleA_Expr(), makeTSQuerySign(), map_multipart_sql_identifier_to_xml_name(), markcanreach(), markreachable(), mbms_add_member(), mbms_add_members(), mbms_int_members(), mbms_is_member(), mbms_overlap_sets(), merge(), mergeins(), MinXLogRecPtr(), moveins(), moveouts(), multi_sort_compare(), multi_sort_compare_dim(), multi_sort_compare_dims(), nameeqfast(), network_broadcast(), network_network(), newarc(), NFC_QC_hash_func(), NFKC_QC_hash_func(), nlevel(), NormalTransactionIdOlder(), numeric_is_less(), numeric_to_char(), numeric_to_number(), object_address_comparator(), oid_compare(), oid_dist(), oidvectoreqfast(), okcolors(), on_ppath(), optimizebracket(), or_arg_index_match_cmp(), or_arg_index_match_cmp_group(), pairingheap_GISTSearchItem_cmp(), pairingheap_SpGistSearchItem_cmp(), path_usage_comparator(), pct_info_cmp(), pg_abs_s16(), pg_abs_s32(), pg_abs_s64(), pg_add_s16_overflow(), pg_add_s32_overflow(), pg_add_s64_overflow(), pg_add_u16_overflow(), pg_add_u32_overflow(), pg_add_u64_overflow(), pg_cmp_s16(), pg_cmp_s32(), pg_cmp_s64(), pg_cmp_size(), pg_cmp_u16(), pg_cmp_u32(), pg_cmp_u64(), pg_comp_crc32c_sb8(), pg_extension_config_dump(), pg_get_functiondef(), pg_itoa(), pg_lltoa(), pg_lsn_cmp(), pg_ltoa(), pg_mul_s16_overflow(), pg_mul_s32_overflow(), pg_mul_s64_overflow(), pg_mul_u16_overflow(), pg_mul_u32_overflow(), pg_mul_u64_overflow(), pg_neg_s16_overflow(), pg_neg_s32_overflow(), pg_neg_s64_overflow(), pg_neg_u16_overflow(), pg_neg_u32_overflow(), pg_neg_u64_overflow(), pg_qsort_strcmp(), pg_settings_get_flags(), pg_size_bytes(), pg_sub_s16_overflow(), pg_sub_s32_overflow(), pg_sub_s64_overflow(), pg_sub_u16_overflow(), pg_sub_u32_overflow(), pg_sub_u64_overflow(), pg_ulltoa_n(), pg_ultoa_n(), pg_utf8_increment(), pg_utf8_islegal(), pg_visibility_tupdesc(), pgstat_cmp_hash_key(), pivotFieldCompare(), pull(), pullback(), push(), pushfwd(), qsort_partition_hbound_cmp(), qsort_partition_list_value_cmp(), qsort_partition_rbound_cmp(), qsort_tuple_int32_compare(), qsort_tuple_unsigned_compare(), qsortCompareItemPointers(), QTNEq(), range(), range_fast_cmp(), rankCompare(), ready_file_comparator(), Recomp_hash_func(), record_type_typmod_compare(), removecantmatch(), removeDontCares(), removetraverse(), ReorderBufferIterCompare(), ReorderBufferTXNSizeCompare(), reorderqueue_cmp(), resize_intArrayType(), resource_priority_cmp(), restrict_infos_logically_equal(), row_security_policy_cmp(), rt__int_size(), rt_box_union(), rt_cube_size(), rt_seg_size(), rule_cmp(), seg_cmp(), seg_contained(), seg_contains(), seg_inter(), seg_left(), seg_over_left(), seg_over_right(), seg_overlap(), seg_right(), seg_union(), self_join_candidates_cmp(), seq_search_ascii(), seq_search_localized(), sha1_step(), SHA256_Transform(), SHA512_Transform(), shared_dependency_comparator(), shared_record_table_compare(), shared_record_table_hash(), show_trgm(), silly_cmp_tsvector(), single_bound_cmp(), single_color_transition(), sort(), sort_asc(), sort_desc(), sort_item_compare(), sortins(), sortins_cmp(), sortouts(), sortouts_cmp(), spcachekey_equal(), standby_priority_comparator(), step_bsearch_cmp(), step_qsort_cmp(), subarray(), tbm_intersect(), tbm_union(), tbm_union_page(), test_dsa_basic(), test_dsa_resowners(), texteqfast(), tidcmp(), timestamp_fastcmp(), touched_lseg_inside_poly(), TransactionIdOlder(), transformAExprBetween(), transformAExprDistinct(), transformAExprIn(), transformAExprNullIf(), transformAExprOp(), transformAExprOpAll(), transformAExprOpAny(), transformArrayExpr(), transformBoolExpr(), transformExprRecurse(), treekey_cmp(), ts_ckpt_progress_comparator(), ts_dist(), ts_lexize(), tsCompareString(), tsquery_and(), tsquery_cmp(), tsquery_not(), tsquery_or(), tsquery_phrase_distance(), tstz_dist(), typesequiv(), umul128(), uncolorchain(), union_tuples(), uniq(), uniqueentry(), uniquePos(), uniqueWORD(), update_proconfig_value(), x_cmp(), xmin_cmp(), and y_cmp().

◆ b

int b

Definition at line 74 of file isn.c.

Referenced by _bt_compare_array_elements(), _bt_delitems_cmp(), _equalA_Const(), _equalBitmapset(), _equalConst(), _equalExtensibleNode(), _equalList(), _gin_compare_tuples(), _int_contains(), _int_inter(), _int_overlap(), _int_same(), _int_union(), _intbig_contains(), _intbig_overlap(), _ltree_same(), _WriteByte(), _yconv(), addWrd(), adjustBox(), append_startup_cost_compare(), append_total_cost_compare(), apw_compare_blockinfo(), atcomp(), AttrDefaultCmp(), avlAdjustBalance(), be_tls_get_peer_serial(), bitncmp(), BlockRefTableComparator(), bms_add_members(), bms_compare(), bms_del_members(), bms_difference(), bms_equal(), bms_int_members(), bms_intersect(), bms_is_subset(), bms_join(), bms_nonempty_difference(), bms_overlap(), bms_overlap_list(), bms_replace_members(), bms_subset_compare(), bms_union(), boolout(), bottomup_nblocksfavorable(), bottomup_sort_and_shrink(), bound_cmp(), box_distance(), brin_minmax_multi_distance_inet(), brin_minmax_multi_distance_macaddr(), brin_minmax_multi_distance_macaddr8(), brin_minmax_multi_summary_out(), brin_tuples_equal(), btboolcmp(), btcharcmp(), btint24cmp(), btint28cmp(), btint2cmp(), btint2fastcmp(), btint42cmp(), btint48cmp(), btint4cmp(), btint82cmp(), btint84cmp(), btint8cmp(), btint8fastcmp(), btoidcmp(), btoidfastcmp(), btoidvectorcmp(), buffer_cmp(), build_EvalXFuncInt(), BuildV1Call(), bytesToHex(), carc_cmp(), cash_dist(), CATALOG(), chareqfast(), CheckConstraintCmp(), CheckForLocalBufferLeaks(), ckpt_buforder_comparator(), cmp_fxid(), cmp_lbestatus(), cmp_list_len_asc(), cmp_list_len_contents_asc(), cmp_lsn(), cmp_string(), cmpaliases(), cmpEntries(), cmpEntryAccumulator(), cmpLexeme(), cmpLexemeInfo(), cmpLexemeQ(), cmpNodePtr(), cmpOffsetNumbers(), cmpQTN(), cmpTheLexeme(), CMPTRGM_CHOOSE(), CMPTRGM_SIGNED(), CMPTRGM_UNSIGNED(), codepoint_range_cmp(), common_prefix_cmp(), commonPrefix(), comp_location(), comp_trgm(), compare_block_numbers(), compare_datums_simple(), compare_distances(), compare_expanded_ranges(), compare_int(), compare_int16(), compare_mcvs(), compare_rows(), compare_scalars(), compare_scalars_simple(), compare_sort_item_count(), compare_syn(), compare_text_lexemes(), compare_val_int4(), compare_values(), comparecost(), compareDocR(), compareDoubles(), compareentry(), compareint(), compareJsonbContainers(), compareJsonbScalarValue(), compareNumeric(), comparePairs(), compareQueryOperand(), compareSyn(), CompareTSQ(), comparetup_cluster(), comparetup_cluster_tiebreak(), comparetup_datum(), comparetup_datum_tiebreak(), comparetup_heap(), comparetup_heap_tiebreak(), comparetup_index_brin(), comparetup_index_btree(), comparetup_index_btree_tiebreak(), comparetup_index_gin(), comparetup_index_hash(), compareWalFileNames(), compareWORD(), compareWordEntryPos(), complex_abs_cmp(), complex_abs_cmp_internal(), complex_abs_eq(), complex_abs_ge(), complex_abs_gt(), complex_abs_le(), complex_abs_lt(), complex_add(), computeIterativeZipfian(), constraints_equivalent(), convert(), convert64(), cube_cmp(), cube_cmp_v0(), cube_contained(), cube_contains(), cube_contains_v0(), cube_distance(), cube_eq(), cube_ge(), cube_gt(), cube_inter(), cube_le(), cube_lt(), cube_ne(), cube_overlap(), cube_overlap_v0(), cube_union(), cube_union_v0(), db_comparator(), dcs_cmp(), decoct(), Decomp_hash_func(), des_init(), diag4(), distance_chebyshev(), distance_taxicab(), dshash_memcmp(), dshash_strcmp(), enum_cmp(), enum_eq(), enum_ge(), enum_gt(), enum_larger(), enum_le(), enum_lt(), enum_ne(), enum_smaller(), equal(), equal_keys(), equalsJsonbScalarValue(), escape_json_with_len(), evalStandardFunc(), file_sort_by_lsn(), FileNameMapCmp(), final_filemap_cmp(), flag(), float4_cmp_internal(), float4_dist(), float8_cmp_internal(), float8_dist(), foreign_expr_walker(), FullTransactionIdNewer(), g_int_same(), g_intbig_same(), gbt_bitcmp(), gbt_biteq(), gbt_bitge(), gbt_bitgt(), gbt_bitle(), gbt_bitlt(), gbt_booleq(), gbt_boolge(), gbt_boolgt(), gbt_boolkey_cmp(), gbt_boolle(), gbt_boollt(), gbt_bpcharcmp(), gbt_bpchareq(), gbt_bpcharge(), gbt_bpchargt(), gbt_bpcharle(), gbt_bpcharlt(), gbt_byteacmp(), gbt_byteaeq(), gbt_byteage(), gbt_byteagt(), gbt_byteale(), gbt_bytealt(), gbt_cash_dist(), gbt_casheq(), gbt_cashge(), gbt_cashgt(), gbt_cashkey_cmp(), gbt_cashle(), gbt_cashlt(), gbt_dateeq(), gbt_datege(), gbt_dategt(), gbt_datekey_cmp(), gbt_datele(), gbt_datelt(), gbt_enumeq(), gbt_enumge(), gbt_enumgt(), gbt_enumkey_cmp(), gbt_enumle(), gbt_enumlt(), gbt_float4_dist(), gbt_float4eq(), gbt_float4ge(), gbt_float4gt(), gbt_float4key_cmp(), gbt_float4le(), gbt_float4lt(), gbt_float8_dist(), gbt_float8eq(), gbt_float8ge(), gbt_float8gt(), gbt_float8key_cmp(), gbt_float8le(), gbt_float8lt(), gbt_ineteq(), gbt_inetge(), gbt_inetgt(), gbt_inetkey_cmp(), gbt_inetle(), gbt_inetlt(), gbt_int2_dist(), gbt_int2eq(), gbt_int2ge(), gbt_int2gt(), gbt_int2key_cmp(), gbt_int2le(), gbt_int2lt(), gbt_int4_dist(), gbt_int4_ssup_cmp(), gbt_int4eq(), gbt_int4ge(), gbt_int4gt(), gbt_int4key_cmp(), gbt_int4le(), gbt_int4lt(), gbt_int8_dist(), gbt_int8eq(), gbt_int8ge(), gbt_int8gt(), gbt_int8key_cmp(), gbt_int8le(), gbt_int8lt(), gbt_intv_dist(), gbt_intveq(), gbt_intvge(), gbt_intvgt(), gbt_intvkey_cmp(), gbt_intvle(), gbt_intvlt(), gbt_macad8eq(), gbt_macad8ge(), gbt_macad8gt(), gbt_macad8key_cmp(), gbt_macad8le(), gbt_macad8lt(), gbt_macadeq(), gbt_macadge(), gbt_macadgt(), gbt_macadkey_cmp(), gbt_macadle(), gbt_macadlt(), gbt_num_same(), gbt_numeric_cmp(), gbt_numeric_eq(), gbt_numeric_ge(), gbt_numeric_gt(), gbt_numeric_le(), gbt_numeric_lt(), gbt_oid_dist(), gbt_oideq(), gbt_oidge(), gbt_oidgt(), gbt_oidkey_cmp(), gbt_oidle(), gbt_oidlt(), gbt_textcmp(), gbt_texteq(), gbt_textge(), gbt_textgt(), gbt_textle(), gbt_textlt(), gbt_time_dist(), gbt_timeeq(), gbt_timege(), gbt_timegt(), gbt_timekey_cmp(), gbt_timele(), gbt_timelt(), gbt_ts_dist(), gbt_tseq(), gbt_tsge(), gbt_tsgt(), gbt_tskey_cmp(), gbt_tsle(), gbt_tslt(), gbt_uuideq(), gbt_uuidge(), gbt_uuidgt(), gbt_uuidkey_cmp(), gbt_uuidle(), gbt_uuidlt(), gbt_vsrt_cmp(), gcd(), gdb_date_dist(), get_b_utf8(), get_ten(), ghstore_same(), gin_btree_compare_prefix(), gin_cmp_prefix(), gin_cmp_tslexeme(), gin_enum_cmp(), gin_numeric_cmp(), ginCompareAttEntries(), ginCompareEntries(), ginCompareItemPointers(), GinInitBuffer(), GinInitMetabuffer(), ginMergeItemPointers(), gist_bbox_zorder_cmp(), GISTInitBuffer(), gistKeyIsEQ(), gseg_picksplit_item_cmp(), gtrgm_same(), gtsquery_same(), gtsvector_same(), guc_var_compare(), hash_bytes(), hash_bytes_extended(), hash_bytes_uint32(), hash_bytes_uint32_extended(), hash_combine(), hash_combine64(), heap_compare_slots(), hemdist(), hemdistcache(), hemdistsign(), if(), index_pages_fetched(), inet_cidr_ntop_ipv4(), inet_cidr_ntop_ipv6(), inet_net_ntop_ipv4(), inner_int_contains(), inner_int_inter(), inner_int_overlap(), inner_int_union(), int2_dist(), int2eqfast(), int4_dist(), int4eqfast(), int8_dist(), int_cmp(), intarray_concat_arrays(), intarray_push_array(), internal_putbytes(), interval_cmp_lower(), interval_cmp_upper(), intset_subtract(), ipv4eq(), ipv6eq(), irbt_cmp(), isort_cmp(), itemptr_comparator(), join_tsqueries(), key_cmp(), len_utf8(), lengthCompareJsonbPair(), lengthCompareJsonbStringValue(), list_sort(), ListComparatorForWalSummaryFiles(), llvm_compile_expr(), lseg_inside_poly(), ltree_addltree(), ltree_addtext(), ltree_compare(), ltree_concat(), ltree_index(), ltree_same(), ltree_strncasecmp(), ltree_textadd(), macaddr8_in(), macaddr_in(), main(), makeBoolExpr(), makesearch(), map_multipart_sql_identifier_to_xml_name(), MatchText(), mbms_add_members(), mbms_int_members(), mbms_overlap_sets(), mcelem_array_contained_selec(), merge(), MinXLogRecPtr(), multi_sort_compare(), multi_sort_compare_dim(), multi_sort_compare_dims(), nameeqfast(), network_broadcast(), network_hostmask(), network_netmask(), network_network(), newLexeme(), NFC_QC_hash_func(), NFKC_QC_hash_func(), NormalTransactionIdOlder(), numeric_is_less(), numeric_to_char(), numeric_to_number(), object_address_comparator(), oid_compare(), oid_dist(), oidvectoreqfast(), on_ppath(), or_arg_index_match_cmp(), or_arg_index_match_cmp_group(), pairingheap_GISTSearchItem_cmp(), pairingheap_SpGistSearchItem_cmp(), parse_new_len(), parse_old_len(), path_usage_comparator(), pct_info_cmp(), pg_add_s16_overflow(), pg_add_s32_overflow(), pg_add_s64_overflow(), pg_add_u16_overflow(), pg_add_u32_overflow(), pg_add_u64_overflow(), pg_b64_decode(), pg_base64_decode(), pg_cmp_s16(), pg_cmp_s32(), pg_cmp_s64(), pg_cmp_size(), pg_cmp_u16(), pg_cmp_u32(), pg_cmp_u64(), pg_comp_crc32c_sb8(), pg_lsn_cmp(), pg_mul_s16_overflow(), pg_mul_s32_overflow(), pg_mul_s64_overflow(), pg_mul_u16_overflow(), pg_mul_u32_overflow(), pg_mul_u64_overflow(), pg_qsort_strcmp(), pg_sub_s16_overflow(), pg_sub_s32_overflow(), pg_sub_s64_overflow(), pg_sub_u16_overflow(), pg_sub_u32_overflow(), pg_sub_u64_overflow(), pgstat_cmp_hash_key(), pgwin32_recv(), pgwin32_send(), PinBuffer(), PinBuffer_Locked(), pivotFieldCompare(), pq_getbytes(), pq_getmsgint(), pq_sendint(), qsort_partition_hbound_cmp(), qsort_partition_list_value_cmp(), qsort_partition_rbound_cmp(), qsort_tuple_int32_compare(), qsort_tuple_unsigned_compare(), qsortCompareItemPointers(), QTNEq(), range(), range_fast_cmp(), rankCompare(), ReadInt(), ReadRecentBuffer(), ready_file_comparator(), Recomp_hash_func(), reconstruct_from_incremental_file(), record_type_typmod_compare(), ReorderBufferIterCompare(), ReorderBufferTXNSizeCompare(), reorderqueue_cmp(), resource_priority_cmp(), restrict_infos_logically_equal(), rho(), row_security_policy_cmp(), rt_box_union(), rule_cmp(), seg_cmp(), seg_contained(), seg_contains(), seg_inter(), seg_left(), seg_over_left(), seg_over_right(), seg_overlap(), seg_right(), seg_union(), self_join_candidates_cmp(), sha1_step(), SHA256_Transform(), SHA512_Transform(), shared_dependency_comparator(), shared_record_table_compare(), silly_cmp_tsvector(), single_bound_cmp(), skip_b_utf8(), skip_utf8(), slot_compile_deform(), sort_item_compare(), sortins_cmp(), sortouts_cmp(), spcachekey_equal(), SpGistInitBuffer(), sqrt_var(), standby_priority_comparator(), step_bsearch_cmp(), step_qsort_cmp(), tbm_intersect(), tbm_intersect_page(), tbm_union(), test_pattern(), texteqfast(), tidcmp(), timestamp_fastcmp(), touched_lseg_inside_poly(), TransactionIdOlder(), transformBooleanTest(), treekey_cmp(), ts_ckpt_progress_comparator(), ts_dist(), tsCompareString(), tsquery_and(), tsquery_cmp(), tsquery_or(), tsquery_phrase_distance(), tsqueryout(), tstz_dist(), typesequiv(), umul128(), union_tuples(), UnpinBuffer(), UnpinBufferNoOwner(), verify_cb(), WriteInt(), x_cmp(), xmin_cmp(), and y_cmp().

◆ false

◆ g_weak

bool g_weak = false
static

Definition at line 47 of file isn.c.

Referenced by _PG_init(), accept_weak_input(), string2ean(), and weak_input_status().

◆ i

int i = 0

Definition at line 77 of file isn.c.

Referenced by _brin_end_parallel(), _bt_advance_array_keys_increment(), _bt_allequalimage(), _bt_bestsplitloc(), _bt_bottomupdel_finish_pending(), _bt_compare(), _bt_deadblocks(), _bt_defaultinterval(), _bt_delitems_delete(), _bt_delitems_delete_check(), _bt_delitems_update(), _bt_delitems_vacuum(), _bt_deltasortsplits(), _bt_end_parallel(), _bt_end_vacuum(), _bt_find_extreme_element(), _bt_findsplitloc(), _bt_first(), _bt_interval_edges(), _bt_killitems(), _bt_load(), _bt_merge_arrays(), _bt_mkscankey(), _bt_num_array_keys(), _bt_parallel_restore_arrays(), _bt_parallel_serialize_arrays(), _bt_pendingfsm_finalize(), _bt_preprocess_keys(), _bt_readpage(), _bt_restore_page(), _bt_split(), _bt_start_array_keys(), _bt_start_vacuum(), _bt_update_posting(), _bt_vacuum_cycleid(), _CloseArchive(), _crypt_blowfish_rn(), _crypt_gensalt_sha(), _dosmaperr(), _gin_end_parallel(), _hash_addovflpage(), _hash_firstfreebit(), _hash_freeovflpage(), _hash_init(), _hash_kill_items(), _hash_ovflblkno_to_bitno(), _hash_pgaddmultitup(), _hash_splitbucket(), _hash_squeezebucket(), _ltree_compress(), _ltree_picksplit(), _ltree_same(), _ltree_union(), _outForeignKeyOptInfo(), _PG_init(), _print_horizontal_line(), _printTocEntry(), _SPI_convert_params(), _tarAddFile(), _tarGetHeader(), _tarPositionTo(), _tocEntryRequired(), _WriteByte(), accum_sum_add(), accum_sum_carry(), accum_sum_final(), accum_sum_reset(), accumArrayResultArr(), aclcontains(), aclitemout(), aclmask(), aclmask_direct(), aclmembers(), aclmerge(), acquire_inherited_sample_rows(), add_abs(), add_child_join_rel_equivalences(), add_child_rel_equivalences(), add_pos(), addArcs(), addBoundaryDependencies(), AddEnumLabel(), addFkRecurseReferenced(), addFkRecurseReferencing(), addFooterToPublicationDesc(), addKey(), AddNewAttributeTuples(), addNode(), addNSItemForReturning(), addRangeTableEntryForCTE(), addRangeTableEntryForFunction(), AddRoleMems(), addtype(), adjleap(), adjust_group_pathkeys_for_groupagg(), advance_transition_function(), advance_windowaggregate(), advance_windowaggregate_base(), afterTriggerCheckState(), AfterTriggerSaveEvent(), AfterTriggerSetState(), agg_retrieve_direct(), agg_retrieve_hash_table_in_memory(), AggregateCreate(), AioShmemInit(), alloc_pool(), allocateReloptStruct(), AllocateVfd(), allocCStatePrepared(), AlterOperator(), AlterPolicy(), AlterTableGetRelOptionsLockLevel(), analyze_mcv_list(), append_depends_on_extension(), append_nonpartial_cost(), AppendAttributeTuples(), appendReloptionsArray(), appendStringLiteral(), apply_handle_update(), apply_map_update(), apply_pathtarget_labeling_to_tlist(), apply_returning_filter(), apply_scanjoin_target_to_paths(), apply_typmod(), ApplyExtensionExplainOption(), applyRemoteGucs(), apw_dump_now(), apw_load_buffers(), arabic_UTF_8_stem(), array_agg_array_combine(), array_agg_combine(), array_agg_deserialize(), array_agg_serialize(), array_cat(), array_cmp(), array_contain_compare(), array_desc(), array_dim_to_json(), array_dim_to_jsonb(), array_dims(), array_eq(), array_extract_slice(), array_fill_internal(), array_get_element(), array_get_element_expanded(), array_get_slice(), array_in(), array_insert_slice(), array_iter_next(), array_iterate(), array_map(), array_out(), array_recv(), array_replace_internal(), array_reverse_n(), array_seek(), array_send(), array_set_element(), array_set_element_expanded(), array_set_slice(), array_shuffle_n(), array_slice_size(), array_subscript_check_subscripts(), array_to_datum_internal(), array_to_text_internal(), array_to_tsvector(), ArrayCheckBoundsSafe(), ArrayGetIntegerTypmods(), ArrayGetNItemsSafe(), ArrayGetOffset(), ascii(), AssertCheckExpandedRanges(), AssertCheckItemPointers(), AssertCheckRanges(), associate(), astreamer_tar_header(), asyncQueueAdvanceTail(), asyncQueueFillWarning(), asyncQueueUnregister(), AsyncReadBuffers(), AsyncShmemInit(), ATAddForeignKeyConstraint(), AtEOSubXact_Files(), AtEOSubXact_HashTables(), AtEOSubXact_LargeObject(), AtEOSubXact_RelationCache(), AtEOXact_HashTables(), AtEOXact_LargeObject(), AtEOXact_RelationCache(), ATExecAttachPartitionIdx(), ATExecChangeOwner(), AtPrepare_Locks(), ATRewriteTable(), AttachPartitionEnsureIndexes(), attnameAttNum(), attnumstoint2vector(), autoinc(), autoprewarm_database_main(), AutoVacuumRequestWork(), AutoVacuumShmemInit(), AV_to_JsonbValue(), BackendStatusShmemInit(), BaseBackup(), be_lo_unlink(), begin_partition(), BF_set_key(), BIG5toCNS(), binary_upgrade_create_empty_extension(), binary_upgrade_extension_member(), binaryheap_build(), bit_and(), bit_or(), bit_out(), bitno_to_blkno(), bitposition(), bits_to_text(), bitsubstring(), bitxor(), blgetbitmap(), BlockRefTableEntryGetBlocks(), BlockRefTableEntryMarkBlockModified(), BlockRefTableEntrySetLimitBlock(), bloom_add_element(), bloom_add_value(), bloom_contains_value(), bloom_lacks_element(), BloomFormTuple(), blvalidate(), bms_add_member(), bms_add_members(), bms_add_range(), bms_compare(), bms_del_member(), bms_del_members(), bms_difference(), bms_equal(), bms_int_members(), bms_intersect(), bms_is_subset(), bms_join(), bms_member_index(), bms_nonempty_difference(), bms_overlap(), bms_replace_members(), bms_subset_compare(), bms_union(), boot_openrel(), BootstrapModeMain(), bottomup_sort_and_shrink(), bpchar(), bpchartruelen(), bqarr_in(), bracket(), brin_bloom_union(), brin_deform_tuple(), brin_form_tuple(), brin_memtuple_initialize(), brin_minmax_multi_consistent(), brin_minmax_multi_distance_inet(), brin_minmax_multi_distance_uuid(), brin_minmax_multi_summary_out(), brin_page_items(), brin_range_deserialize(), brin_range_serialize(), bringetbitmap(), brinvalidate(), brtuple_disk_tupdesc(), bt_entry_unique_check(), bt_index_check_callback(), bt_normalize_tuple(), bt_page_print_tuples(), bt_target_page_check(), btmask_add_n(), btmask_all_except_n(), btoidvectorcmp(), btree_xlog_updates(), btreevacuumposting(), btvacuumpage(), btvalidate(), buffer_stage_common(), BufferManagerShmemInit(), buffers_to_iovec(), BufferSync(), BufFileAppend(), BufFileClose(), BufFileTruncateFileSet(), build_aggregate_finalfn_expr(), build_aggregate_transfn_expr(), build_attnums_array(), build_attrmap_by_name(), build_attrmap_by_position(), build_colinfo_names_hash(), build_column_frequencies(), build_concat_foutcache(), build_distances(), build_distinct_groups(), build_EvalXFuncInt(), build_function_result_tupdesc_d(), build_guc_variables(), build_index_pathkeys(), build_index_tlist(), build_local_reloptions(), build_mss(), build_partition_pathkeys(), build_pertrans_for_aggref(), build_pgstattuple_type(), build_regexp_match_result(), build_regtype_array(), build_remote_returning(), build_row_from_vars(), build_sorted_items(), build_test_match_result(), build_tuplestore_recursively(), buildACLCommands(), BuildDummyIndexInfo(), BuildHardcodedDescriptor(), BuildIndexInfo(), BuildIndexValueDescription(), buildMatViewRefreshDependencies(), BuildSpeculativeIndexInfo(), BuildTupleFromCStrings(), bytea_int2(), bytea_int4(), bytea_int8(), byteaout(), cache_locale_time(), cache_record_field_properties(), CacheRegisterSyscacheCallback(), calc_distr(), calc_hist(), calc_hist_selectivity(), calc_hist_selectivity_contained(), calc_hist_selectivity_contains(), calc_inet_union_params(), calc_inet_union_params_indexed(), calc_length_hist_frac(), calc_rank_and(), calc_rank_cd(), calc_rank_or(), calc_word_similarity(), calculate_client_proof(), calculate_totals(), CallRelSyncCallbacks(), CallStmtResultDesc(), CallSyscacheCallbacks(), can_coerce_type(), cannotCastJsonbValue(), cash_div_int4(), cash_div_int64(), cash_div_int8(), cash_mul_int4(), cash_mul_int64(), cash_mul_int8(), cash_numeric(), cat_str(), CatalogCacheCompareTuple(), CatalogCacheCreateEntry(), CatalogCacheInitializeCache(), CatalogIndexInsert(), CatalogTuplesMultiInsertWithInfo(), CatCacheCopyKeys(), CatCacheFreeKeys(), CatCacheInvalidate(), CatCacheRemoveCList(), cfunc_resolve_polymorphic_argtypes(), check_amproc_signature(), check_and_drop_existing_subscriptions(), check_and_drop_publications(), check_and_init_gencol(), check_attrmap_match(), check_backtrace_functions(), check_backup_label_files(), check_circularity(), check_conn_params(), check_content_type(), check_control_files(), check_exclusion_or_unique_constraint(), check_final_sigma(), check_for_data_types_usage(), check_for_freed_segments_locked(), check_foreign_key(), check_index_only(), check_modified_virtual_generated(), check_old_cluster_subscription_state(), check_password(), check_primary_key(), check_publications_origin(), check_role_for_policy(), check_selective_binary_conversion(), check_set_block_offsets(), check_testspec(), check_valid_internal_signature(), check_valid_polymorphic_signature(), checkAllTheSame(), CheckAttributeNamesTypes(), CheckAttributeType(), checkcondition_HL(), CheckConditional(), CheckDateTokenTable(), CheckDeadLock(), CheckExprStillValid(), checkFkeyPermissions(), CheckForBufferLeaks(), CheckForLocalBufferLeaks(), CheckForSessionAndXactLocks(), CheckIndexCompatible(), checkInsertTargets(), checkLevel(), checkmatchall(), checkmatchall_recurse(), CheckPointReplicationOrigin(), CheckPointReplicationSlots(), CheckPointTwoPhase(), CheckReadBuffersOperation(), checkRuleResultList(), checkSharedDependencies(), checkSplitConditions(), CheckTableForSerializableConflictIn(), checkViewColumns(), checkWellFormedRecursion(), choose_best_statistics(), choose_bitmap_and(), ChooseIndexColumnNames(), chooseScript(), circle_poly(), citerdissect(), clauselist_apply_dependencies(), clean_extended_state(), cleanup_objects_atexit(), cleanup_tsquery_stopwords(), CleanupInvalidationState(), CleanupTempFiles(), clear_allowed_sasl_mechs(), CloneFkReferenced(), CloneFkReferencing(), CloneRowTriggersToPartition(), closeAllVfds(), ClosePipeStream(), ClosePostmasterPorts(), CloseServerPorts(), CloseTransientFile(), cluster_all_databases(), cmp_orderbyvals(), CNStoBIG5(), cntsize(), coerce_record_to_complex(), collectBinaryUpgradeClassOids(), collectComments(), collectMatchesForHeapRow(), collectRoleNames(), collectSecLabels(), collectSequences(), collectTSQueryValues(), colname_is_unique(), commonPrefix(), compactify_tuples(), CompareIndexInfo(), compareJsonbContainers(), CompareOpclassOptions(), comparison_ops_are_compatible(), compatCrosstabTupleDescs(), compatible_tupdescs(), compile_database_list(), compile_plperl_function(), compile_pltcl_function(), compile_relation_list_one_db(), compileTheLexeme(), compileTheSubstitute(), composite_to_json(), composite_to_jsonb(), compute_array_stats(), compute_distinct_stats(), compute_expr_stats(), compute_index_stats(), compute_partition_hash_value(), compute_range_stats(), compute_scalar_stats(), compute_trivial_stats(), compute_tsvector_stats(), ComputePartitionAttrs(), computeRegionDelta(), concat_internal(), ConfigurePostmasterWaitSet(), connect_pg_server(), ConnectDatabase(), connectDatabase(), conninfo_array_parse(), consider_groupingsets_paths(), ConstraintImpliedByRelConstraint(), construct_md_array(), constructConnStr(), ConstructTupleDescriptor(), control_cksum(), ConversionCreate(), convert(), convert64(), convert_bytea_to_scalar(), convert_case(), convert_GUC_name_for_parameter_acl(), convert_int_from_base_unit(), convert_network_to_scalar(), convert_prep_stmt_params(), convert_real_from_base_unit(), convert_subquery_pathkeys(), convert_to_base_unit(), convertJsonbArray(), convertJsonbObject(), ConvertTimeZoneAbbrevs(), copy_connection(), copy_plpgsql_datums(), copy_replication_slot(), copy_table(), CopyArrayEls(), CopyGetAttnums(), CopyIndexAttOptions(), CopyMultiInsertBufferCleanup(), CopyMultiInsertBufferFlush(), copyParamList(), copyTemplateDependencies(), CopyTriggerDesc(), copyTSLexeme(), CopyVar(), cost_append(), count_distinct_groups(), count_nulls(), crc24(), create_foreignscan_plan(), create_hash_bounds(), create_indexscan_plan(), create_internal(), create_list_bounds(), create_memoize_plan(), create_mergejoin_plan(), create_partitionwise_grouping_paths(), create_range_bounds(), create_secmsg(), CreateComments(), CreateConstraintEntry(), CreateFunction(), CreateLWLocks(), CreateOptsFile(), CreatePartitionPruneState(), CreatePolicy(), CreateSharedComments(), CreateStatistics(), CreateTriggerFiringOn(), CreateTupleDesc(), CreateTupleDescCopy(), CreateTupleDescCopyConstr(), CreateTupleDescTruncatedCopy(), creviterdissect(), crosstab(), cube_a_f8(), cube_a_f8_f8(), cube_c_f8(), cube_c_f8_f8(), cube_cmp_v0(), cube_contains_v0(), cube_distance(), cube_enlarge(), cube_inter(), cube_is_point_internal(), cube_out(), cube_overlap_v0(), cube_recv(), cube_send(), cube_subset(), cube_union_v0(), current_schemas(), currtid_for_view(), cursor_to_xml(), d2d(), daitch_mokotoff_coding(), dataBeginPlaceToPageLeaf(), dataFindChildPtr(), date_test_defmt(), date_test_fmt(), date_test_strdate(), dbase_desc(), dbase_redo(), DCH_cache_getnew(), DCH_cache_search(), DCH_prevent_counter_overflow(), DCH_to_char(), DeadLockCheck(), DeadLockCheckRecurse(), DeadLockReport(), debug_callback(), debug_reconstruction(), debugStartup(), debugtup(), deccall2(), deccall3(), deccvasc(), decdiv(), decide_file_actions(), decmul(), DecodeAbort(), DecodeCommit(), DecodeDate(), DecodeDateTime(), DecodeInterval(), DecodeMultiInsert(), DecodeNumberField(), decodePageSplitRecord(), DecodePrepare(), DecodeTextArrayToBitmapset(), DecodeTime(), DecodeTimeOnly(), DecodeXLogRecord(), decompose_code(), deconstruct_array(), decsub(), dectodbl(), DeescapeQuotedString(), DefineAttr(), DefineIndex(), DefineQueryRewrite(), DefineSequence(), DefineTSConfiguration(), DefineTSTemplate(), delete_rel_type_cache_if_needed(), deleteObjectsInList(), DelRoleMems(), delvacuum_desc(), deparse_lquery(), deparse_ltree(), deparseAnalyzeSql(), deparseExplicitTargetList(), deparseRangeTblRef(), deparseTargetList(), dependencies_clauselist_selectivity(), dependency_degree(), deregister_seq_scan(), des_init(), desc_recompress_leaf(), describeFunctions(), describeOneTableDetails(), describeOperators(), describePublications(), DescribeQuery(), describeRoles(), describeTableDetails(), DestroyParallelContext(), DetachPartitionFinalize(), detzcode(), detzcode64(), difference(), disable_all_timeouts(), disable_timeouts(), disconnect_all(), disconnect_atexit(), DiscreteKnapsack(), dist_ppath_internal(), dist_ppoly_internal(), distance_chebyshev(), distance_taxicab(), div_var(), div_var_int(), do_analyze_rel(), do_autovacuum(), do_field(), Do_MultiXactIdWait(), do_pset(), do_set_block_offsets(), do_to_timestamp(), do_watch(), DoesMultiXactIdConflict(), dofindsubquery(), doPickSplit(), dopr(), dotrim(), DOTypeNameCompare(), downcase_convert(), downcase_identifier(), drop_descriptor(), drop_failover_replication_slots(), DropAllPredicateLocksFromTable(), dropconstraint_internal(), DropDatabaseBuffers(), dropDBs(), DropRelationAllLocalBuffers(), DropRelationBuffers(), DropRelationFiles(), DropRelationLocalBuffers(), DropRelationsAllBuffers(), dropRoles(), dropTablespaces(), dsa_detach(), dsa_dump(), dsa_pin_mapping(), dsa_release_in_place(), dshash_create(), dshash_destroy(), dshash_dump(), dsm_attach(), dsm_cleanup_using_control_segment(), dsm_create(), dsm_postmaster_shutdown(), dsm_unpin_segment(), dtcvasc(), dttofmtasc_replace(), dump_binary(), dump_dynexecute(), dump_dynfors(), dump_ind(), dump_line(), dump_one_relation(), dump_open(), dump_raise(), dump_return_query(), dump_sqlda(), dumpCompositeType(), dumpCompositeTypeColComments(), dumpDatabase(), dumpDatabaseConfig(), dumpDatabases(), dumpDomain(), dumpEnumType(), dumpExtension(), dumpFunc(), dumpLO(), dumpLOs(), dumpOpclass(), dumpOpfamily(), dumpRelationStats_dumper(), dumpRoleGUCPrivs(), dumpRoleMembership(), dumpRoles(), dumpSearchPath(), dumpSecLabel(), dumpSubscription(), dumpTable(), dumpTableData_insert(), dumpTableSecLabel(), dumpTablespaces(), dumpTSConfig(), dumptuples(), dumpUserConfig(), dumpUserMappings(), dupEvents(), EA_get_flat_size(), ecpg_build_compat_sqlda(), ecpg_build_native_sqlda(), ecpg_build_params(), ecpg_process_output(), ecpg_set_compat_sqlda(), ecpg_set_native_sqlda(), ECPGconnect(), edge_failure(), element_alloc(), emit_jsp_gin_entries(), EmitProcSignalBarrier(), emitShSecLabels(), enable_timeout(), enable_timeouts(), EnableDisableTrigger(), ensure_active_superblock(), entry_dealloc(), entryFindChildPtr(), entryLoadMoreItems(), entrySplitPage(), EnumValuesCreate(), eqjoinsel_inner(), eqjoinsel_semi(), equality_ops_are_compatible(), equalPolicy(), equalRowTypes(), equalRuleLocks(), equalTupleDescs(), ER_get_flat_size(), errstart(), escape_json_with_len(), escape_replace(), escape_single_quotes_ascii(), escapify(), estimate_multivariate_ndistinct(), estimate_num_groups(), estimateHyperLogLog(), EstimateParamListSpace(), euc_jp2sjis(), eval_windowaggregates(), EvalOrderByExpressions(), EvalPlanQualBegin(), EvalPlanQualStart(), evalStandardFunc(), EvaluateParams(), examine_attribute(), examine_expression(), exec_bind_message(), exec_command_crosstabview(), exec_command_pset(), exec_describe_statement_message(), exec_eval_using_params(), exec_for_query(), Exec_ListenPreCommit(), exec_stmt_block(), ExecAppendAsyncBegin(), ExecAppendAsyncEventWait(), ExecAppendAsyncRequest(), ExecBatchInsert(), ExecBRDeleteTriggers(), ExecBRInsertTriggers(), ExecBRUpdateTriggers(), ExecBSDeleteTriggers(), ExecBSInsertTriggers(), ExecBSTruncateTriggers(), ExecBSUpdateTriggers(), ExecBuildHash32Expr(), ExecBuildHash32FromAttrs(), ExecBuildSlotPartitionKeyDescription(), ExecBuildSlotValueDescription(), ExecCheckIndexConstraints(), ExecCleanupTupleRouting(), ExecCloseIndices(), ExecCloseRangeTableRelations(), ExecComputeStoredGenerated(), ExecCrossPartitionUpdateForeignKey(), execCurrentOf(), ExecEndAppend(), ExecEndBitmapAnd(), ExecEndBitmapOr(), ExecEndFunctionScan(), ExecEndMemoize(), ExecEndMergeAppend(), ExecEndModifyTable(), ExecEndWindowAgg(), ExecEvalArrayExpr(), ExecEvalFuncArgs(), ExecEvalHashedScalarArrayOp(), ExecEvalPreOrderedDistinctMulti(), ExecEvalScalarArrayOp(), ExecEvalWholeRowVar(), ExecEvalXmlExpr(), ExecFilterJunk(), ExecFindMatchingSubPlans(), ExecGetCommonSlotOps(), ExecGrant_Relation(), ExecHashBuildSkewHash(), ExecHashTableDestroy(), ExecHashTableDetach(), ExecHashTableResetMatchFlags(), ExecInitAgg(), ExecInitAppend(), ExecInitBitmapAnd(), ExecInitBitmapOr(), ExecInitExprRec(), ExecInitFunctionScan(), ExecInitGatherMerge(), ExecInitGenerated(), ExecInitHashJoin(), ExecInitIndexScan(), ExecInitInterpreter(), ExecInitJunkFilterConversion(), ExecInitMemoize(), ExecInitMerge(), ExecInitMergeAppend(), ExecInitModifyTable(), ExecInitParallelPlan(), ExecInitSetOp(), ExecInitSubPlan(), ExecInitSubscriptingRef(), ExecInitTableFuncScan(), ExecInitValuesScan(), ExecInitWindowAgg(), ExecInsertIndexTuples(), ExecIRDeleteTriggers(), ExecIRInsertTriggers(), ExecIRUpdateTriggers(), ExecMakeFunctionResultSet(), ExecMakeTableFunctionResult(), ExecMergeAppend(), ExecOpenIndices(), ExecParallelCreateReaders(), ExecParallelFinish(), ExecParallelHashCloseBatchAccessors(), ExecParallelHashEnsureBatchAccessors(), ExecParallelHashIncreaseNumBatches(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashJoinPartitionOuter(), ExecParallelHashJoinSetUpBatches(), ExecParallelHashMergeCounters(), ExecParallelHashRepartitionRest(), ExecParallelHashTableAlloc(), ExecParallelReportInstrumentation(), ExecParallelRetrieveInstrumentation(), ExecParallelSetupTupleQueues(), ExecRelCheck(), ExecRelGenVirtualNotNull(), ExecReScanAppend(), ExecReScanBitmapAnd(), ExecReScanBitmapOr(), ExecReScanFunctionScan(), ExecReScanMergeAppend(), ExecSetParamPlan(), ExecSetTupleBound(), execTuplesHashPrepare(), execTuplesMatchPrepare(), execTuplesUnequal(), execute_attr_map_slot(), execute_attr_map_tuple(), execute_jsp_gin_node(), execute_test(), ExecuteCallStmt(), executeDateTimeMethod(), executeItemOptUnwrapTarget(), executeMetaCommand(), ExecuteTruncateGuts(), ExecWindowAgg(), exit_nicely(), expand_dbname_patterns(), expand_extension_name_patterns(), expand_foreign_server_name_patterns(), expand_generated_columns_internal(), expand_groupingset_node(), expand_indexqual_rowcompare(), expand_partitioned_rtentry(), expand_schema_name_patterns(), expand_table_name_patterns(), expand_virtual_generated_columns(), expandColorTrigrams(), ExpandConstraints(), expanded_record_set_tuple(), expandRecordVariable(), ExpandRowReference(), ExplainFlushWorkersState(), ExplainPrintSettings(), ExportSnapshot(), expr_fetch_func(), ExtendBufferedRelLocal(), ExtendBufferedRelShared(), ExtendBufferedRelTo(), extension_config_remove(), extract_rollup_sets(), extract_variadic_args(), ExtractConnectionOptions(), ExtractReplicaIdentity(), f2d(), fallbackSplit(), FastPathGetRelationLockEntry(), FastPathGrantRelationLock(), FastPathTransferRelationLocks(), FastPathUnGrantRelationLock(), fd(), fe_sendint64(), fetch_more_data(), fetch_statentries_for_relation(), FigureColnameInternal(), FileSetDeleteAll(), FileSetInit(), FileWriteV(), fill_allowed_sasl_mechs(), fill_buffer(), fill_expanded_ranges(), fill_in_constant_lengths(), fillQueryRepresentationData(), fillRelOptions(), fillTrgm(), FillXLogStatsRow(), filter_list_to_array(), finalize_aggregate(), finalize_in_progress_typentries(), finalize_windowaggregate(), find_active_timeout(), find_among(), find_among_b(), find_any_idle_slot(), find_appinfos_by_relids(), find_arguments(), find_cols(), find_em_for_rel_target(), find_expr_references_walker(), find_hash_columns(), find_inheritance_children_extended(), find_list_position(), find_matching_idle_slot(), find_matching_subplans_recurse(), find_matching_ts_config(), find_mergeclauses_for_outer_pathkeys(), find_next_mcelem(), find_option(), find_or_create_child_node(), find_partition_scheme(), find_plan(), find_reconstructed_block_length(), find_strongest_dependency(), find_tids_one_page(), find_unconnected_slot(), findAttrByName(), findBuiltin(), findCommonAncestorTimeline(), FindDefaultConversion(), findDefaultOnlyColumns(), findDependencyLoops(), findDependentObjects(), findDontCares(), findDumpableDependencies(), findeq(), findJsonbValueFromContainer(), FindLockCycleRecurse(), FindLockCycleRecurseMember(), findLoop(), FindTriggerIncompatibleWithInheritance(), findVariant(), finish_heap_swap(), fireRIRrules(), fix_dependencies(), fix_merged_indexes(), flagInhAttrs(), flagInhIndexes(), flagInhTables(), flattenJsonPathParseItem(), flush_pipe_input(), FlushDatabaseBuffers(), FlushRelationBuffers(), FlushRelationsAllBuffers(), fmgr_lookupByName(), fmgr_sql_validator(), fmtCopyColumnList(), fmtIdEnc(), fmtlong(), fn(), for(), foreign_grouping_ok(), ForgetManyTestResources(), format_node_dump(), format_numeric_locale(), format_procedure_extended(), format_procedure_parts(), FormIndexDatum(), FormPartitionKeyDatum(), formrdesc(), free_command(), free_pool(), free_readfile(), FreeDir(), FreeFile(), freeJsonLexContext(), freelacons(), FreePageBtreeUpdateParentPointers(), FreePageManagerPutInternal(), freePGconn(), FreeTriggerDesc(), FreeTupleDesc(), FreezeMultiXactId(), fsm_page_contents(), func_get_detail(), func_select_candidate(), funcname_signature_string(), FuncnameGetCandidates(), FunctionNext(), g_cube_picksplit(), g_cube_union(), g_int_compress(), g_int_decompress(), g_int_picksplit(), g_int_union(), g_intbig_compress(), g_intbig_consistent(), g_intbig_picksplit(), g_intbig_same(), g_intbig_union(), gather_merge_clear_tuples(), gather_merge_getnext(), gather_merge_init(), gather_merge_setup(), gbt_num_picksplit(), gbt_num_union(), gbt_time_dist(), gbt_ts_dist(), gbt_var_node_cp_len(), gbt_var_picksplit(), gbt_var_union(), gen_partprune_steps_internal(), gen_prune_steps_from_opexps(), generate_base_implied_equalities(), generate_combinations_recurse(), generate_dependencies_recurse(), generate_implied_equalities_for_column(), generate_join_implied_equalities(), generate_matching_part_pairs(), generate_normalized_query(), generate_orderedappend_paths(), generateClonedExtStatsStmt(), generateClonedIndexStmt(), genericPickSplit(), GenericXLogFinish(), GenericXLogStart(), gensign(), geqo_copy(), get_agg_expr_helper(), get_alternative_expectfile(), get_attnum_pk_pos(), get_attr_expr(), get_attstatsslot(), get_cipher_info(), get_column_alias_list(), get_comma_elts(), get_compatible_hash_operators(), get_configdata(), get_crosstab_tuplestore(), get_decomposed_size(), get_dependent_generated_columns(), get_docrep(), get_eclass_for_sort_expr(), get_eclass_indexes_for_relids(), get_environ(), get_expr_result_type(), get_foreign_key_join_selectivity(), get_from_clause_coldeflist(), get_func_arg_info(), get_func_input_arg_names(), get_func_result_name(), get_guc_variables(), get_local_synced_slots(), get_matching_hash_bounds(), get_matching_partitions(), get_mergejoin_opfamilies(), get_next_fragment(), get_non_null_list_datum_count(), get_object_address_opf_member(), get_op_hash_functions(), get_op_index_interpretation(), get_ordering_op_for_equality_op(), get_ordering_op_properties(), get_parallel_tabidx_list(), get_parallel_tables_list(), get_partition_for_tuple(), get_path_all(), get_pkey_attnames(), get_primary_key_attnos(), get_publisher_databases(), get_qual_for_hash(), get_qual_for_list(), get_qual_for_range(), get_range_nulltest(), get_rel_data_width(), get_relation_column_alias_ids(), get_relation_constraint_attnos(), get_relation_constraints(), get_relation_info(), get_relation_statistics(), get_reloptions(), get_rule_expr(), get_sql_delete(), get_sql_insert(), get_sql_update(), get_stats_slot_range(), get_str_from_var(), get_text_array_contents(), get_tupdesc_for_join_scan_tuples(), get_tuple_of_interest(), get_variable_range(), get_view_query(), getAccessMethods(), getAdditionalACLs(), getAggregates(), getAnotherTuple(), GetAttributeByName(), GetBlockerStatusData(), getCasts(), getCollations(), getColorInfo(), GetConnection(), getConstraints(), getConversions(), getCopyStart(), getDefaultACLs(), getDependencies(), getDomainConstraints(), getDumpableObjects(), getEventTriggers(), GetExplainExtensionId(), getExtendedStatistics(), getExtensionMembership(), getExtensions(), GetFileBackupMethod(), getForeignDataWrappers(), getForeignServers(), getFuncs(), getHashFnv1a(), GetIdleWorker(), getIndexes(), GetIndexInputType(), getInherits(), getIthJsonbValueFromContainer(), getJsonbOffset(), GetLastImportantRecPtr(), GetLeaderApplyWorkerPid(), getleapdatetime(), GetLockConflicts(), GetLockStatusData(), getLOs(), getMessageFromWorker(), GetMultiXactIdHintBits(), GetMultiXactIdMembers(), GetMyPSlot(), GetNamedLWLockTranche(), getNamespaces(), GetOldestMultiXactId(), getOpclasses(), getOperators(), getOpfamilies(), getopt_long(), getOwnedSeqs(), getParamDescriptions(), getPartitioningInfo(), GetPermutation(), getPolicies(), GetPredicateLockStatusData(), GetPreparedTransactionList(), GetPrivateRefCountEntry(), getProcLangs(), getPublicationNamespaces(), getPublications(), getPublicationTables(), getQueryParams(), GetRelationPublications(), getRightMostDot(), getRowDescriptions(), getRules(), GetRunningTransactionLocks(), GetSchemaPublications(), GetSlotInvalidationCause(), GetSlotInvalidationCauseName(), getSpGistTupleDesc(), getSubscriptions(), getSubscriptionTables(), getTableAttrs(), getTableData(), getTableDataFKConstraints(), getTables(), GetTempTablespaces(), getTimelineHistory(), GetTotalResourceCount(), getTransforms(), getTriggers(), getTSConfigurations(), getTSDictionaries(), getTSParsers(), getTSTemplates(), gettype(), getTypes(), getvacant(), GetWALBlockInfo(), GetWALRecordInfo(), getWeights(), ghstore_compress(), ghstore_consistent(), ghstore_picksplit(), ghstore_same(), ghstore_union(), gimme_edge(), gimme_edge_table(), gimme_gene(), gimme_tour(), gin_bool_consistent(), gin_check_parent_keys_consistency(), gin_check_posting_tree_parent_keys_consistency(), gin_consistent_hstore(), gin_consistent_jsonb(), gin_consistent_jsonb_path(), gin_extract_hstore(), gin_extract_hstore_query(), gin_extract_jsonb_query(), gin_extract_query_trgm(), gin_extract_tsquery(), gin_extract_tsvector(), gin_extract_value_trgm(), gin_leafpage_items(), gin_trgm_consistent(), gin_trgm_triconsistent(), gin_triconsistent_jsonb(), gin_triconsistent_jsonb_path(), ginarrayconsistent(), ginarraytriconsistent(), GinBufferInit(), GinBufferStoreTuple(), ginBuildCallback(), ginBuildCallbackParallel(), ginbulkdelete(), gincost_pattern(), gincost_scalararrayopexpr(), gincostestimate(), ginExtractEntries(), ginFillScanEntry(), ginFillScanKey(), ginFreeScanKeys(), ginHeapTupleFastCollect(), ginHeapTupleFastInsert(), ginHeapTupleInsert(), gininsert(), ginInsertBAEntries(), ginint4_consistent(), ginint4_queryextract(), ginNewScanKey(), ginRedoDeleteListPages(), ginRedoInsertListPage(), ginRedoUpdateMetapage(), ginScanKeyAddHiddenEntry(), ginScanToDelete(), ginVacuumEntryPage(), ginVacuumItemPointers(), ginvalidate(), gist_box_picksplit(), gist_box_union(), gist_indexsortbuild(), gist_indexsortbuild_levelstate_flush(), gist_isparent(), gist_page_items(), gistbufferinginserttuples(), gistbuild(), gistchoose(), gistCompressValues(), gistDeCompressAtt(), gistEmptyAllBuffers(), gistextractpage(), gistFetchTuple(), gistfillbuffer(), gistfillitupvec(), gistFindCorrectParent(), gistFindPath(), gistfitpage(), gistgetadjusted(), gistGetNodeBuffer(), gistindex_keytest(), gistInitBuffering(), gistkillitems(), gistMakeUnionItVec(), gistnospace(), gistplacetopage(), gistRedoPageSplitRecord(), gistRelocateBuildBuffersOnSplit(), gistrescan(), gistScanPage(), gistSplit(), gistSplitByKey(), gistSplitHalf(), gistunionsubkeyvec(), gistUnloadNodeBuffers(), gistvacuum_delete_empty_pages(), gistvalidate(), gistXLogSplit(), gistXLogUpdate(), GrantLockLocal(), group_similar_or_args(), grow_rel(), gseg_picksplit(), gseg_union(), gtrgm_compress(), gtrgm_picksplit(), gtrgm_same(), gtrgm_union(), gtsquery_union(), gtsvector_compress(), gtsvector_picksplit(), gtsvector_same(), gtsvector_union(), GUCArrayAdd(), GUCArrayDelete(), GUCArrayReset(), GucInfoMain(), HandleFunctionRequest(), has_dangerous_join_using(), has_partition_attrs(), has_relevant_eclass_joinclause(), has_seq_scans(), HasEveryWorkerTerminated(), hash(), hash_array(), hash_array_extended(), hash_bitmap_info(), hash_create(), hash_get_num_entries(), hash_metapage_info(), hash_multirange(), hash_multirange_extended(), hash_numeric(), hash_numeric_extended(), hash_record(), hash_record_extended(), hashagg_recompile_expressions(), hashagg_spill_finish(), hashagg_spill_init(), hashagg_spill_tuple(), hashRowType(), hashvalidate(), have_relevant_eclass_joinclause(), HaveVirtualXIDsDelayingChkpt(), heap_compute_data_size(), heap_fill_tuple(), heap_force_common(), heap_form_minimal_tuple(), heap_form_tuple(), heap_freeze_prepared_tuples(), heap_index_delete_tuples(), heap_lock_tuple(), heap_lock_updated_tuple_rec(), heap_log_freeze_plan(), heap_modify_tuple_by_cols(), heap_multi_insert(), heap_multi_insert_pages(), heap_page_items(), heap_page_prune_and_freeze(), heap_page_prune_execute(), heap_pre_freeze_checks(), heap_prune_chain(), heap_tuple_should_freeze(), heap_vacuum_rel(), heap_xlog_multi_insert(), heap_xlog_prune_freeze(), heapam_relation_needs_toast_table(), heapcheck_read_stream_next_unskippable(), helpSQL(), hemdistsign(), hexdecode_string(), hexval_n(), histogram_selectivity(), hk_breadth_search(), hk_depth_search(), hlCover(), hlfinditem(), hmac_init(), hstore_akeys(), hstore_avals(), hstore_cmp(), hstore_contains(), hstore_delete(), hstore_delete_array(), hstore_delete_hstore(), hstore_each(), hstore_exists_all(), hstore_exists_any(), hstore_from_array(), hstore_from_arrays(), hstore_from_record(), hstore_out(), hstore_populate_record(), hstore_recv(), hstore_send(), hstore_skeys(), hstore_slice_to_array(), hstore_slice_to_hstore(), hstore_svals(), hstore_to_array_internal(), hstore_to_json(), hstore_to_json_loose(), hstore_to_jsonb(), hstore_to_jsonb_loose(), hstore_to_plperl(), hstore_to_plpython(), hstoreArrayToPairs(), hstorePairs(), hstoreUpgrade(), hstoreValidNewFormat(), hstoreValidOldFormat(), hypothetical_check_argtypes(), hypothetical_dense_rank_final(), hypothetical_rank_common(), icu_validate_locale(), identify_locking_dependencies(), ieee_float32_to_uint32(), if(), ImportSnapshot(), inclusion_get_strategy_procinfo(), increment_overflow(), ind_fetch_func(), index_check_primary_key(), index_compute_xid_horizon_for_tuples(), index_concurrently_create_copy(), index_create(), index_delete_sort(), index_form_tuple_context(), index_of_allowed_sasl_mech(), index_recheck_constraint(), index_store_float8_orderby_distances(), indexOfColumn(), ineq_histogram_selectivity(), inet_cidr_ntop_ipv6(), inet_cidr_pton_ipv6(), inet_gist_picksplit(), inet_hist_inclusion_join_sel(), inet_hist_value_sel(), inet_mcv_hist_sel(), inet_mcv_join_sel(), inet_net_ntop_ipv6(), inet_semi_join_sel(), inet_spg_consistent_bitmap(), inet_spg_inner_consistent(), inet_spg_picksplit(), init_htab(), init_partition_map(), init_ps_display(), init_returning_filter(), init_slab_allocator(), init_tour(), InitAuxiliaryProcess(), initBloomState(), InitCatCache(), InitConflictIndexes(), initCreateFKeys(), initCreatePKeys(), initCreateTables(), InitExecPartitionPruneContexts(), initGinState(), initGISTstate(), initialize(), initialize_custom_rmgrs(), initialize_data_directory(), initialize_ntdll(), initialize_peragg(), initialize_reloptions(), initialize_revoke_actions(), InitializeAttributeOids(), InitializeLWLocks(), InitializeParallelDSM(), InitializeRelfilenumberMap(), InitializeTimeouts(), InitLocalBuffers(), InitPlan(), InitPostmasterChildSlots(), InitProcess(), InitProcGlobal(), initTrie(), initValue(), InitWalSenderSlot(), injection_points_wakeup(), injection_wait(), InjectionPointShmemInit(), inline_function(), inner_int_contains(), inner_int_inter(), inner_int_overlap(), inner_int_union(), inner_subltree(), insert_timeout(), InsertOneNull(), InsertOneTuple(), InsertOneValue(), InsertPgAttributeTuples(), InstrAlloc(), int44in(), int4_cash(), int4_mul_cash(), int8_cash(), int8_mul_cash(), int_list_to_array(), intarray_del_elem(), intarray_match_first(), internal_size(), interpret_AS_clause(), interpret_function_parameter_list(), interpret_ident_response(), interpt_pp(), intoasc(), intr2num(), intset_subtract(), InvalidateObsoleteReplicationSlots(), InvalidateSystemCachesExtended(), inzone(), iov_byte_length(), IoWorkerMain(), ipv6eq(), is_usable_unique_index(), is_visible_fxid(), isAffixInUse(), isCurrentGroup(), IsEveryWorkerIdle(), IsIndexUsableForReplicaIdentityFull(), iso8859_to_utf8(), IssuePendingWritebacks(), isxdigits_n(), iterate_word_similarity(), json_build_array_worker(), json_build_object_worker(), json_lex(), json_lex_string(), json_object(), json_object_two_arg(), jsonb_build_array_worker(), jsonb_build_object_worker(), jsonb_delete_array(), jsonb_delete_idx(), jsonb_exec_setup(), jsonb_exists_all(), jsonb_exists_any(), jsonb_get_element(), jsonb_object(), jsonb_object_two_arg(), jsonb_subscript_check_subscripts(), jsonb_subscript_transform(), JsonbDeepContains(), JsonTableInitPlan(), jspGetArraySubscript(), jspIsMutableWalker(), k_hashes(), keyGetItem(), KnownAssignedXidsAdd(), KnownAssignedXidsCompress(), KnownAssignedXidsDisplay(), KnownAssignedXidsGetAndSetXmin(), KnownAssignedXidsGetOldestXmin(), KnownAssignedXidsRemovePreceding(), KnownAssignedXidsRemoveTree(), LagTrackerWrite(), lastcold(), LaunchParallelWorkers(), lazy_vacuum_heap_page(), lca(), lca_inner(), lconv_char_member(), lconv_string_member(), leapadd(), leapcorr(), left_offset(), LexizeExec(), libpq_traverse_files(), libpqrcv_connect(), list_copy_deep(), list_deduplicate_oid(), list_free_private(), listAvailableScripts(), listExtensionContents(), listSchemas(), listTSConfigsVerbose(), listTSParsersVerbose(), llvm_resolve_symbols(), load_backup_manifests(), load_categories_hash(), load_enum_cache_data(), load_relcache_init_file(), load_resultmap(), load_tuple_array(), LocalExecuteInvalidationMessage(), localsub(), LockCheckConflicts(), LockGXact(), LockReassignCurrentOwner(), LockReassignOwner(), LockRelease(), LockReleaseAll(), LockReleaseCurrentOwner(), log_newpage_range(), log_newpages(), logicalrep_get_attrs_str(), logicalrep_pa_worker_count(), logicalrep_partition_open(), logicalrep_read_attrs(), logicalrep_read_truncate(), logicalrep_read_tuple(), logicalrep_rel_att_by_name(), logicalrep_rel_mark_updatable(), logicalrep_rel_open(), logicalrep_relmap_free_entry(), logicalrep_relmap_update(), logicalrep_sync_worker_count(), logicalrep_worker_find(), logicalrep_worker_launch(), logicalrep_workers_find(), logicalrep_write_attrs(), logicalrep_write_truncate(), logicalrep_write_tuple(), LogicalTapeRewindForRead(), longest(), lookahead(), lookup_agg_function(), lookup_descriptor(), lookup_prop_name(), lookup_ts_config_cache(), lookup_var_attr_stats(), LookupBackgroundWorkerFunction(), lookupcclass(), LookupFuncWithArgs(), LookupGXact(), LookupGXactBySubid(), LookupParallelWorkerFunction(), lseg_inside_poly(), ltree2text(), ltree_index(), ltree_picksplit(), ltree_same(), ltree_to_plpython(), ltree_union(), ltsGetPreallocBlock(), LWLockAnyHeldByMe(), LWLockDisownInternal(), LWLockHeldByMe(), LWLockHeldByMeInMode(), LWLockShmemSize(), mac8_2_uint64(), mac_2_uint64(), main(), make_array_ref(), make_bound_box(), make_bounded_heap(), make_build_data(), make_callstmt_target(), make_colname_unique(), make_copy_attnamelist(), make_fn_arguments(), make_group_input_target(), make_jsp_expr_node_args(), make_modifytable(), make_one_partition_rbound(), make_partial_grouping_target(), make_partition_pruneinfo(), make_partitionedrel_pruneinfo(), make_path_rowexpr(), make_pathtarget_from_tlist(), make_positional_trgm(), make_relative_path(), make_row_comparison_op(), make_SAOP_expr(), make_sort_input_target(), make_tlist_from_pathtarget(), make_tsvector(), make_tuple_from_result_row(), make_tuple_from_row(), make_tuple_indirect(), make_window_input_target(), MakeConfigurationMapping(), makeDefaultBloomOptions(), makeDependencyGraph(), makeDependencyGraphWalker(), makeInteger(), makeRangeConstructors(), makeSublist(), makeTSQuerySign(), MakeUpper(), map_locale(), map_sql_table_to_xmlschema(), map_sql_typecoll_to_xmlschema_types(), map_sql_value_to_xml_value(), map_typename_pattern(), mark_fragment(), mark_hl_fragments(), mark_hl_words(), mark_invalid_subplans_as_finished(), mark_stmt(), MarkAsPreparing(), MarkAsPreparingGuts(), match_clause_to_partition_key(), match_eclasses_to_foreign_key_col(), match_index_to_operand(), matchLocks(), MatchNamedCall(), materializeResult(), mb_strchr(), mb_utf_validate(), mcelem_array_contain_overlap_selec(), mcelem_array_contained_selec(), mcelem_array_selec(), mcelem_tsquery_selec(), mcv_clause_selectivity_or(), mcv_clauselist_selectivity(), mcv_get_match_bitmap(), mcv_population(), mcv_selectivity(), mda_get_offset_values(), mda_get_prod(), mda_get_range(), mda_next_tuple(), mdreadv(), MemoizeHash_equal(), MemoizeHash_hash(), MemoryContextStatsInternal(), MemoryContextStatsPrint(), merge_map_updates(), MergeAttributes(), mergeins(), mic2sjis(), minmax_get_strategy_procinfo(), minmax_multi_get_strategy_procinfo(), miss(), mix_decrypt_normal(), mix_decrypt_resync(), mix_encrypt_normal(), mix_encrypt_resync(), MJCompare(), MJEvalInnerValues(), MJEvalOuterValues(), mkANode(), mkSPNode(), mkVoidAffix(), modify_rel_block(), moveLeafs(), mul_var(), mul_var_short(), mulPow5divPow2(), multi_sort_compare(), MultiExecBitmapAnd(), MultiExecBitmapOr(), MultiExecParallelHash(), multirange_agg_transfn(), multirange_canonicalize(), multirange_cmp(), multirange_constructor2(), multirange_deserialize(), multirange_eq_internal(), multirange_get_bounds(), multirange_get_bounds_offset(), multirange_get_range(), multirange_out(), multirange_recv(), multirange_send(), multirange_size_estimate(), multixact_desc(), multixact_redo(), MultiXactIdCreateFromMembers(), MultiXactIdExpand(), MultiXactIdGetUpdateXid(), MultiXactIdIsRunning(), MultiXactIdSetOldestVisible(), mxid_to_string(), NamespaceCreate(), ndistinct_for_combination(), network_recv(), network_send(), networkjoinsel_semi(), newabbr(), newhicolorrow(), newLOfd(), next_insert(), NextCopyFrom(), nfalsepos_for_missing_strings(), NINormalizeWord(), NISortAffixes(), NISortDictionary(), nocache_index_getattr(), nocachegetattr(), NormalizeSubWord(), NUM_cache_getnew(), NUM_cache_search(), NUM_prevent_counter_overflow(), numeric_cash(), numeric_recv(), numeric_send(), numericvar_deserialize(), numericvar_serialize(), numericvar_to_int64(), numericvar_to_uint64(), NumLWLocksForNamedTranches(), numst(), object_address_present(), object_address_present_add_flags(), oid_array_to_list(), on_ppath(), opclass_for_family_datatype(), OperatorCreate(), OperatorShellMake(), OpernameGetCandidates(), OpernameGetOprid(), order_qual_clauses(), ordered_set_startup(), ordered_set_transition_multi(), outDatum(), output_escaped_str(), outzone(), overexplain_intlist(), overwrite(), pa_stream_abort(), packGraph(), PageIndexTupleDelete(), PageIndexTupleDeleteNoCompact(), PageIndexTupleOverwrite(), PageRepairFragmentation(), PageTruncateLinePointerArray(), pairingheap_GISTSearchItem_cmp(), pairingheap_SpGistSearchItem_cmp(), parallel_exec_prog(), parallel_transfer_all_new_dbs(), parallel_vacuum_compute_workers(), parallel_vacuum_end(), parallel_vacuum_init(), parallel_vacuum_process_all_indexes(), parallel_vacuum_process_unsafe_indexes(), ParallelBackupEnd(), ParallelBackupStart(), ParallelSlotsTerminate(), ParallelSlotsWaitCompletion(), parent_offset(), parse(), parse_dispatch_option(), parse_fcall_arguments(), parse_include(), parse_key_value_arrays(), parse_re_flags(), parse_sequence_type(), parse_test_flags(), parse_tsquery(), ParseComplexProjection(), ParseConfigDirectory(), parseLocalRelOptions(), parseRelOptions(), parseRelOptionsInternal(), parseServiceFile(), parseUnicode(), parseVariable(), PartConstraintImpliedByRelConstraint(), partition_bounds_copy(), partition_bounds_create(), partition_bounds_equal(), partition_rbound_cmp(), partition_rbound_datum_cmp(), path_add(), path_add_pt(), path_area(), path_decode(), path_distance(), path_div_pt(), path_encode(), path_inter(), path_length(), path_mul_pt(), path_poly(), path_recv(), path_send(), path_sub_pt(), pathkeys_useful_for_merging(), patternToSQLRegex(), percentile_cont_multi_final_common(), percentile_disc_multi_final(), perform_rewind(), performMultipleDeletions(), PerformRadiusTransaction(), permute(), pg_analyze_and_rewrite_varparams(), pg_any_to_server(), pg_blocking_pids(), pg_buffercache_pages(), pg_buffercache_summary(), pg_checksum_block(), pg_clean_ascii(), pg_config(), pg_current_snapshot(), pg_decode_truncate(), pg_dependencies_out(), pg_eucjp_increment(), pg_event_trigger_ddl_commands(), pg_event_trigger_dropped_objects(), pg_extension_config_dump(), pg_find_encoding(), pg_get_aios(), pg_get_constraintdef_worker(), pg_get_encoding_from_locale(), pg_get_function_arg_default(), pg_get_functiondef(), pg_get_logical_snapshot_info(), pg_get_logical_snapshot_meta(), pg_get_object_address(), pg_get_publication_tables(), pg_get_replication_slots(), pg_get_statisticsobj_worker(), pg_get_timezone_offset(), pg_get_triggerdef_worker(), pg_GSS_error_int(), pg_hmac_init(), pg_import_system_collations(), pg_interpret_timezone_abbrev(), pg_isolation_test_session_is_blocked(), pg_itoa(), pg_lfind32(), pg_lfind32_one_by_one_helper(), pg_lfind8(), pg_lfind8_le(), pg_localeconv_copy_members(), pg_localeconv_free(), pg_logical_slot_get_changes_guts(), pg_md5_update(), pg_ndistinct_out(), pg_next_dst_boundary(), pg_preadv(), pg_prepared_statement(), pg_promote(), pg_pwritev(), pg_regcomp(), pg_regexec(), pg_safe_snapshot_blocking_pids(), pg_SASL_init(), pg_saslprep(), pg_send_history(), pg_show_replication_origin_status(), pg_snapshot_out(), pg_snapshot_recv(), pg_snapshot_send(), pg_sockaddr_cidr_mask(), pg_stat_get_progress_info(), pg_stat_get_recovery_prefetch(), pg_stat_get_slru(), pg_stat_get_subscription(), pg_stat_get_subscription_stats(), pg_stat_get_wal_senders(), pg_stat_statements_internal(), pg_stats_ext_mcvlist_items(), pg_timezone_abbrev_is_known(), pg_ulltoa_n(), pg_ultoa_n(), pg_wal_summary_contents(), pg_wcsformat(), pgaio_io_call_complete_local(), pgaio_io_call_complete_shared(), pgaio_io_call_stage(), pgaio_io_set_handle_data_32(), pgaio_io_set_handle_data_64(), pgaio_io_wait_for_free(), pgaio_worker_register(), pgaio_worker_shmem_init(), pgaio_worker_submit(), pgaio_worker_submit_internal(), pgarch_readyXlog(), pgfdw_has_required_scram_options(), pgfdw_security_check(), pgoutput_row_filter(), pgoutput_truncate(), pgp_get_cipher_block_size(), pgp_get_cipher_code(), pgp_get_cipher_key_size(), pgp_get_digest_code(), pgp_get_digest_name(), pgp_load_cipher(), pgp_mpi_cksum(), PGSharedMemoryCreate(), pgss_shmem_startup(), pgstat_execute_transactional_drops(), pgstat_gc_entry_refs(), pgstat_get_backend_current_activity(), pgstat_get_crashed_backend_activity(), pgstat_get_slru_index(), pgstat_index_page(), pgstat_io_init_shmem_cb(), pgstat_io_reset_all_cb(), pgstat_io_snapshot_cb(), pgstat_progress_update_multi_param(), pgstat_release_matching_entry_refs(), pgstat_slru_flush_cb(), pgstat_slru_reset_all_cb(), pgstat_subscription_flush_cb(), pgstattuple_approx_internal(), pgtls_verify_peer_name_matches_certificate_guts(), pgtypes_fmt_replace(), PGTYPESdate_defmt_asc(), PGTYPESdate_fmt_asc(), PGTYPESnumeric_copy(), PGTYPESnumeric_div(), PGTYPESnumeric_from_decimal(), PGTYPESnumeric_from_double(), PGTYPESnumeric_from_long(), PGTYPESnumeric_mul(), PGTYPESnumeric_to_decimal(), PGTYPESnumeric_to_int(), PGTYPEStimestamp_defmt_asc(), pgwin32_dispatch_queued_signals(), pgwin32_putenv(), pgwin32_select(), pgwin32_signal_initialize(), pgxmlNodeSetToText(), pickss(), plan_member_revoke(), plan_recursive_revoke(), plan_single_revoke(), plist_same(), plperl_array_to_datum(), plperl_call_perl_func(), plperl_call_perl_trigger_func(), plperl_func_handler(), plperl_hash_from_tuple(), plperl_ref_from_pg_array(), plperl_spi_exec_prepared(), plperl_spi_execute_fetch_result(), plperl_spi_prepare(), plperl_spi_query_prepared(), plperl_to_hstore(), plperl_trigger_build_args(), plperl_validator(), plpgsql_add_initdatums(), plpgsql_build_recfield(), plpgsql_compile_callback(), plpgsql_dumptree(), plpgsql_exec_function(), plpgsql_exec_trigger(), plpgsql_finish_datums(), plpgsql_free_function_memory(), plpgsql_fulfill_promise(), plpgsql_mark_local_assignment_targets(), plpgsql_parse_err_condition(), plpgsql_recognize_err_condition(), plpgsql_token_is_unreserved_keyword(), plpgsql_validator(), plpython_to_hstore(), plsample_func_handler(), plsample_trigger_handler(), pltcl_build_tuple_argument(), pltcl_build_tuple_result(), pltcl_func_handler(), pltcl_get_condition_name(), pltcl_process_SPI_result(), pltcl_set_tuple_values(), pltcl_SPI_execute(), pltcl_SPI_execute_plan(), pltcl_SPI_prepare(), pltcl_trigger_handler(), PLy_cursor_fetch(), PLy_function_build_args(), PLy_function_drop_args(), PLy_function_restore_args(), PLy_function_save_args(), PLy_generate_spi_exceptions(), PLy_input_setup_tuple(), PLy_modify_tuple(), PLy_output_setup_tuple(), PLy_procedure_create(), PLy_result_colnames(), PLy_result_coltypes(), PLy_result_coltypmods(), PLy_spi_execute_fetch_result(), PLy_spi_prepare(), PLy_trigger_build_args(), PLyDict_FromTuple(), PLyGenericObject_ToComposite(), PLyList_FromArray_recurse(), PLyMapping_ToComposite(), PLyMapping_ToJsonbValue(), PLySequence_ToArray(), PLySequence_ToArray_recurse(), PLySequence_ToComposite(), PLySequence_ToJsonbValue(), point_inside(), policy_role_list_to_array(), poly_contain_poly(), poly_distance(), poly_path(), poly_recv(), poly_send(), poly_to_circle(), pop_next_work_item(), populate_array(), populate_array_assign_ndims(), populate_array_report_expected_array(), populate_record(), populate_with_dummy_strings(), PortalSetResultFormat(), postgres_fdw_get_connections_internal(), postgresAcquireSampleRowsFunc(), postgresImportForeignSchema(), PostgresMain(), PostPrepare_Locks(), postquel_sub_params(), power_var_int(), pq_check_connection(), pq_getmsgfloat4(), pq_getmsgfloat8(), pq_sendfloat4(), pq_sendfloat8(), pq_sendint(), pq_sendint16(), pq_sendint32(), pq_sendint64(), pq_sendint8(), pq_writeint16(), pq_writeint32(), pq_writeint64(), pq_writeint8(), PQclear(), pqConnectOptions2(), PQconnectPoll(), PQcopyResult(), PQdisplayTuples(), PQescapeByteaInternal(), PQescapeInternal(), PQescapeStringInternal(), PQfireResultCreateEvents(), PQfnumber(), pqFunctionCall3(), pqGetNegotiateProtocolVersion3(), PQinstanceData(), PQprint(), PQprintTuples(), PQregisterEventProc(), pqReleaseConnHosts(), PQreset(), PQresetPoll(), PQresultInstanceData(), PQresultSetInstanceData(), pqRowProcessor(), PQsendPrepare(), PQsendQueryGuts(), PQsetInstanceData(), PQsetResultAttrs(), PQsetvalue(), pqTraceOutput_Bind(), pqTraceOutput_CopyInResponse(), pqTraceOutput_CopyOutResponse(), pqTraceOutput_DataRow(), pqTraceOutput_FunctionCall(), pqTraceOutput_NegotiateProtocolVersion(), pqTraceOutput_ParameterDescription(), pqTraceOutput_Parse(), pqTraceOutput_RowDescription(), pqTraceOutputNchar(), PQunescapeBytea(), PredicateLockShmemInit(), prepare_hash_slot(), prepare_probe_slot(), prepare_query_params(), prepare_sort_from_pathkeys(), prepare_tuplestore(), PrepareForIncrementalBackup(), preparePresortedCols(), PrepareQuery(), PrepareRedoRemove(), preprocess_rowmarks(), PrescanPreparedTransactions(), pretty_format_node_dump(), print_aligned_text(), print_aligned_vertical(), print_aligned_vertical_line(), print_asciidoc_text(), print_asciidoc_vertical(), print_csv_text(), print_csv_vertical(), print_filemap(), print_function_arguments(), print_function_trftypes(), print_html_text(), print_html_vertical(), print_key(), print_latex_longtable_text(), print_latex_text(), print_latex_vertical(), print_pathkeys(), print_rmgr_list(), print_rt(), print_troff_ms_text(), print_troff_ms_vertical(), print_unaligned_text(), print_unaligned_vertical(), print_wchar_str(), printCrosstab(), printJsonPathItem(), printProgressReport(), printQuery(), printResult(), PrintResultInCrosstab(), printResults(), printsimple(), printsimple_startup(), printTableCleanup(), PrintTOCSummary(), printtup(), printtup_prepare_info(), ProcArrayApplyRecoveryInfo(), ProcArrayApplyXidAssignment(), ProcedureCreate(), process_old_sub_state_check(), process_ordered_aggregate_multi(), process_query_params(), process_queued_fetch_requests(), processExtensionTables(), ProcessParallelMessage(), ProcessParallelMessages(), processPendingPage(), ProcessTwoPhaseBuffer(), ProcKill(), ProcSignalShmemInit(), prsd_lextype(), psqlscan_emit(), psqlscan_extract_substring(), psqlscan_prepare_buffer(), pub_collist_to_bitmapset(), pub_form_cols_map(), publication_add_relation(), push_path(), pushJsonbValue(), px_crypt_des(), px_crypt_md5(), px_find_cipher(), QTNBinary(), QTNClearFlags(), QTNCopy(), QTNFree(), QTNodeCompare(), QTNSort(), QTNTernary(), query_to_oid_list(), query_to_xml_internal(), queryin(), QueuePartitionConstraintValidation(), qunique(), qunique_arg(), quote_if_needed(), r_more_than_one_syllable_word(), r_un_accent(), random_init_pool(), random_var(), range_agg_finalfn(), range_contains_value(), range_deduplicate_values(), range_gist_class_split(), range_gist_double_sorting_split(), range_gist_fallback_split(), range_gist_picksplit(), range_gist_single_sorting_split(), range_gist_union(), range_sockaddr_AF_INET6(), rankSort(), rbt_populate(), RE_compile_and_cache(), read_file_data_into_buffer(), read_letter(), read_objtype_from_string(), read_rel_block_ll(), read_stream_begin_impl(), read_tablespace_map(), ReadArrayBinary(), ReadArrayDimensions(), readDatum(), readfile(), ReadOffset(), ReadReplicationSlot(), ReadToc(), rebuild_database_list(), rebuildInsertSql(), ReceiveCopyBegin(), recompose_code(), reconstruct_from_incremental_file(), record_in(), record_out(), record_recv(), record_send(), recordMultipleDependencies(), RecordNewMultiXact(), RecoverPreparedTransactions(), recursive_revoke(), reduce(), reduce_dependencies(), reduce_expanded_ranges(), reform_and_rewrite_tuple(), refresh_by_match_merge(), register_partpruneinfo(), register_socket(), RegisterExtensionExplainOption(), regression_main(), RehashCatCache(), RehashCatCacheLists(), reindex_all_databases(), reindex_relation(), ReinitializeParallelDSM(), relation_is_updatable(), RelationAddBlocks(), RelationBuildLocalRelation(), RelationBuildPartitionDesc(), RelationBuildPartitionKey(), RelationBuildTriggers(), RelationBuildTupleDesc(), RelationCacheInvalidate(), RelationCacheInvalidateEntry(), RelationGetExclusionInfo(), RelationGetIdentityKeyBitmap(), RelationGetIndexAttOptions(), RelationGetIndexAttrBitmap(), RelationMapFilenumberToOid(), RelationMapOidToFilenumber(), RelationMapOidToFilenumberForDatabase(), RelationMapRemoveMapping(), RelationTruncate(), release_partition(), ReleaseLockIfHeld(), ReleaseSemaphores(), relname(), remap_groupColIdx(), RememberManyTestResources(), remove_dbtablespaces(), remove_gene(), remove_self_join_rel(), remove_self_joins_recurse(), remove_timeout_index(), remove_useless_groupby_columns(), removeabbrev_cluster(), removeabbrev_datum(), removeabbrev_heap(), removeabbrev_index(), removeabbrev_index_brin(), removeDontCares(), RemoveGXact(), RemoveLocalLock(), removeObjectDependency(), RemoveRoleFromObjectPolicy(), RenameEnumLabel(), RenameRole(), renametrig(), renametrig_partition(), RenumberEnumType(), reorder_function_arguments(), ReorderBufferCopySnap(), ReorderBufferExecuteInvalidations(), ReorderBufferImmediateInvalidation(), ReorderBufferProcessTXN(), reorderqueue_pop(), reorderqueue_push(), repairDependencyLoop(), reparameterize_path(), repeat(), replace_guc_value(), replace_outer_placeholdervar(), replace_outer_var(), replace_token(), ReplicationOriginShmemInit(), ReplicationSlotCleanup(), ReplicationSlotCreate(), ReplicationSlotsComputeLogicalRestartLSN(), ReplicationSlotsComputeRequiredLSN(), ReplicationSlotsComputeRequiredXmin(), ReplicationSlotsCountDBSlots(), ReplicationSlotsDropDBSlots(), ReplicationSlotsShmemInit(), replorigin_advance(), replorigin_get_progress(), replorigin_redo(), replorigin_session_setup(), replorigin_state_clear(), repoint_table_dependencies(), report_unmatched_relation(), reportDependentObjects(), reportErrorPosition(), RequestNamedLWLockTranche(), ReservePrivateRefCountEntry(), ResetCatalogCache(), resetQueryRepresentation(), resetSpGistScanOpaque(), resize(), resize_intArrayType(), resolve_column_ref(), resolve_polymorphic_argtypes(), resolve_polymorphic_tupdesc(), ResourceOwnerEnlarge(), ResourceOwnerForget(), ResourceOwnerForgetLock(), ResourceOwnerReleaseAllOfKind(), restore(), RestoreComboCIDState(), RestoreParamExecParams(), RestoreParamList(), RestoreSlotFromDisk(), results_differ(), retrieve_objects(), reverse_name(), rewriteSearchAndCycle(), rewriteValuesRTE(), rewriteVisibilityMap(), rfmtlong(), ri_Check_Pk_Match(), ri_ExtractValues(), RI_FKey_cascade_del(), RI_FKey_cascade_upd(), RI_FKey_check(), RI_Initial_Check(), ri_KeysEqual(), ri_NullCheck(), RI_PartitionRemove_Check(), ri_restrict(), ri_set(), right_offset(), rmtree(), roles_is_member_of(), roman_to_int(), rpytime(), RT_ADD_CHILD_48(), RT_COPY_ARRAYS_FOR_INSERT(), rt_cube_size(), RT_FREE_NODE(), RT_GROW_NODE_16(), RT_GROW_NODE_48(), RT_NODE_16_SEARCH_EQ(), RT_NODE_SEARCH(), RT_SHIFT_ARRAYS_FOR_INSERT(), RT_VERIFY_NODE(), run_all_permutations(), run_all_permutations_recurse(), run_named_permutations(), run_permutation(), run_schedule(), runShellCommand(), sanitize_str(), satisfies_hash_partition(), save_ps_display_args(), scalararraysel(), scan_profile(), scanGetItem(), scanPendingInsert(), score_timezone(), scram_SaltedPassword(), search_indexed_tlist_for_var(), search_plan_tree(), SearchCatCacheList(), searchChar(), SearchNamedReplicationSlot(), select_active_windows(), select_common_type_from_oids(), select_div_scale(), select_loop(), selectColorTrigrams(), send_relation_and_attrs(), SendCancelRequest(), SendCopyBegin(), SendProcSignal(), SendQuery(), SendRowDescriptionMessage(), sepgsql_audit_log(), sepgsql_compute_avd(), sepgsql_proc_post_create(), sepgsql_relation_drop(), serialize_expr_stats(), serialize_prepare_info(), serializeAnalyzeReceive(), SerializeParamList(), SerializeTransactionState(), ServerLoop(), set_append_rel_size(), set_backtrace(), set_join_column_names(), set_rel_width(), set_relation_column_names(), set_status_by_pages(), set_using_names(), set_var_from_str(), setCompoundAffixFlagValue(), SetExplainExtensionState(), SetIndexStorageProperties(), setPathArray(), setPathObject(), setup_background_workers(), setup_dynamic_shared_memory(), setup_pct_info(), setup_publisher(), setup_regexp_matches(), setup_salt(), setup_subscriber(), setup_test_matches(), SetupLockInTable(), SetXidCommitTsInPage(), SharedInvalShmemInit(), shiftList(), shimTriConsistentFn(), shm_mq_sendv(), shm_toc_lookup(), show_binary_results(), show_grouping_set_keys(), show_hash_info(), show_indexsearches_info(), show_item(), show_trgm(), ShowAllGUCConfig(), ShowTransactionStateRec(), ShutdownWorkersHard(), SICleanupQueue(), SignalBackends(), sigTermHandler(), SIInsertDataEntries(), silly_cmp_tsvector(), simple8b_contains(), simple8b_decode(), simple8b_encode(), SimpleLruWriteAll(), sizebitvec(), sjis2euc_jp(), sjis2mic(), SlabContextCreate(), SlabFindNextBlockListIndex(), SlabReset(), SlabStats(), slot_fill_defaults(), slot_modify_data(), slot_store_data(), slotAllNulls(), SlotExistsInSyncStandbySlots(), slotNoNulls(), SlruInternalWritePage(), SlruPhysicalWritePage(), smgr_bulk_flush(), smgrDoPendingDeletes(), smgrdosyncall(), smgrdounlinkall(), smgrinit(), smgropen(), smgrshutdown(), smgrtruncate(), SN_close_env(), SN_create_env(), sort_expanded_ranges(), sortins(), sortouts(), spg_box_quad_inner_consistent(), spg_box_quad_leaf_consistent(), spg_box_quad_picksplit(), spg_kd_inner_consistent(), spg_kd_picksplit(), spg_quad_inner_consistent(), spg_quad_leaf_consistent(), spg_quad_picksplit(), spg_range_quad_inner_consistent(), spg_range_quad_leaf_consistent(), spg_range_quad_picksplit(), spg_text_choose(), spg_text_inner_consistent(), spg_text_picksplit(), spgbeginscan(), spgdoinsert(), spgExtractNodeLabels(), spgFormInnerTuple(), spgFormLeafTuple(), spggettuple(), spgInnerTest(), spgist_name_choose(), spgist_name_inner_consistent(), SpGistGetLeafTupleSize(), SpGistInitMetapage(), SpGistPageAddNewItem(), spgMakeInnerItem(), spgMatchNodeAction(), spgPageIndexMultiDelete(), spgPrepareScanKeys(), spgprocesspending(), spgproperty(), spgRedoMoveLeafs(), spgRedoPickSplit(), spgRedoVacuumLeaf(), spgRedoVacuumRedirect(), spgrescan(), spgSplitNodeAction(), spgUpdateNodeLink(), spgvalidate(), SPI_modifytuple(), SPI_sql_row_to_xmlelement(), split_array(), spread_chromo(), sql_exec(), sql_fn_resolve_param_name(), sqlda_common_total_size(), sqlda_compat_empty_size(), sqrt_var(), standby_desc(), standby_desc_invalidations(), standby_desc_running_xacts(), standby_redo(), StandbyRecoverPreparedTransactions(), StandbyReleaseLockTree(), StandbySlotsHaveCaughtup(), StartReadBuffersImpl(), startScan(), startScanKey(), statext_compute_stattarget(), statext_dependencies_build(), statext_dependencies_deserialize(), statext_dependencies_serialize(), statext_mcv_build(), statext_mcv_deserialize(), statext_mcv_serialize(), statext_ndistinct_deserialize(), statext_ndistinct_serialize(), stats_fill_fcinfo_from_arg_pairs(), step_has_blocker(), store_conn_addrinfo(), store_expanded_ranges(), store_pub_sub_info(), storeGettuple(), StorePartitionKey(), StoreQueryTuple(), StoreRelCheck(), storeRow(), stream_abort_internal(), StreamLogicalLog(), strInArray(), string_to_uuid(), stringzone(), strip_quotes(), sts_begin_parallel_scan(), sts_initialize(), sts_reinitialize(), sub_abs(), subcolorcvec(), subcoloronerow(), subxact_info_add(), SummarizeDbaseRecord(), SummarizeXactRecord(), sync_queue_destroy(), sync_queue_init(), sync_queue_sync_all(), SyncPostCheckpoint(), SyncRepGetCandidateStandbys(), SyncRepGetNthLatestSyncRecPtr(), SyncRepGetOldestSyncRecPtr(), SyncRepGetSyncRecPtr(), SyncRepUpdateSyncStandbysDefined(), SyncScanShmemInit(), systable_beginscan(), systable_beginscan_ordered(), table_block_relation_size(), tablesample_init(), tarChecksum(), tbm_add_tuples(), tbm_begin_private_iterate(), tbm_intersect(), tbm_lossify(), tbm_prepare_shared_iterate(), tbm_union(), TerminateOtherDBBackends(), test(), test_atomic_uint32(), test_atomic_uint64(), test_basic(), test_bloomfilter(), test_config_settings(), test_dsa_basic(), test_dsa_resowners(), test_enc_setup(), test_huge_distances(), test_integerset(), test_nosync(), test_pattern(), test_pipeline_abort(), test_predtest(), test_prepared(), test_protocol_version(), test_radixtree(), test_random(), test_re_execute(), test_resowner_many(), test_resowner_priorities(), test_single_value_and_filler(), test_singlerowmode(), test_transaction(), TestConfiguration(), testdelete(), testfind(), text_position_setup(), text_substring(), textarray_to_stringlist(), textarray_to_strvaluelist(), thesaurus_lexize(), threadRun(), tidin(), TidListEval(), TidStoreGetBlockOffsets(), TidStoreIsMember(), TidStoreSetBlockOffsets(), timesub(), to_chars(), to_chars_df(), to_chars_f(), toast_build_flattened_tuple(), toast_close_indexes(), toast_delete_external(), toast_flatten_tuple(), toast_flatten_tuple_to_datum(), toast_open_indexes(), toast_save_datum(), toast_tuple_cleanup(), toast_tuple_find_biggest_attribute(), toast_tuple_init(), tokenize_auth_file(), TopologicalSort(), TopoSort(), TransactionIdIsActive(), TransactionIdSetPageStatusInternal(), TransactionIdSetTreeStatus(), TransactionTreeSetCommitTsData(), transformAssignmentIndirection(), transformCallStmt(), transformFkeyCheckAttrs(), transformFkeyGetPrimaryKey(), transformFrameOffset(), TransformGUCArray(), transformIndexConstraint(), transformIndirection(), transformLockingClause(), transformOfType(), transformPartitionRangeBounds(), transformRelOptions(), transformValuesClause(), transformWithClause(), transformXmlExpr(), translate(), transtime(), trgm_presence_map(), triggered_change_notification(), TriggerEnabled(), trigramsMatchGraph(), trim_mergeclauses_for_inner_pathkeys(), try_complete_step(), tryAttachPartitionForeignKey(), TryReuseForeignKey(), ts_accum(), ts_stat_sql(), tsq_mcontains(), tsquery_opr_selec(), tsquery_rewrite_query(), tsqueryrecv(), tsquerysend(), tstoreReceiveSlot_detoast(), tstoreStartupReceiver(), tsvector_concat(), tsvector_delete_arr(), tsvector_delete_by_indices(), tsvector_filter(), tsvector_setweight(), tsvector_setweight_by_filter(), tsvector_strip(), tsvector_to_array(), tsvector_unnest(), tsvector_update_trigger(), tsvectorin(), tsvectorout(), tsvectorrecv(), tsvectorsend(), ttdummy(), tuple_data_split_internal(), tupledesc_match(), TupleDescAttr(), TupleDescCompactAttr(), TupleDescCopy(), TupleDescGetAttInMetadata(), TupleDescGetDefault(), tuplesort_begin_cluster(), tuplesort_begin_heap(), tuplesort_begin_index_btree(), tuplesort_begin_index_gin(), tuplesort_begin_index_gist(), tuplesort_heap_insert(), tuplesort_heap_replace_top(), tuplesort_initialize_shared(), tuplestore_clear(), tuplestore_copy_read_pointer(), tuplestore_puttuple_common(), tuplestore_set_eflags(), tuplestore_trim(), TwoPhaseGetGXact(), TwoPhaseGetXidByVirtualXID(), TwoPhaseShmemInit(), TypeCreate(), typeDepNeeded(), TypeShellMake(), tzloadbody(), tzparse(), unicode_assigned(), unicode_is_normalized(), unicode_normalize_func(), union_tuples(), unionkey(), unpack_sql_state(), untransformRelOptions(), update_attstats(), update_leaves(), update_node(), update_synced_slots_inactive_since(), updateAclDependenciesWorker(), UpdateIndexRelation(), upgrade_task_run(), use_physical_tlist(), utf8_to_iso8859(), utf8_to_win(), uuid_decrement(), uuid_increment(), uuid_out(), vac_open_indexes(), vacuum_all_databases(), vacuumLeafPage(), vacuumLeafRoot(), vacuumlo(), vacuumRedirectAndPlaceholder(), validate_log_connections_options(), validate_pkattnums(), validateDomainCheckConstraint(), validateDomainNotNullConstraint(), validateFkOnDeleteSetColumns(), var_eq_const(), varbit_out(), varchar(), varstr_levenshtein(), vector8_has(), vector8_has_le(), verify_client_proof(), verify_common_type_from_oids(), verify_heap_slot_handler(), verify_manifest_checksum(), verify_message(), verifyPartitionIndexNotNull(), wait_for_postmaster_start(), wait_for_tests(), wait_on_slots(), WaitForOlderSnapshots(), WaitForParallelWorkersToAttach(), WaitForParallelWorkersToExit(), WaitForParallelWorkersToFinish(), WaitForProcSignalBarrier(), WaitXLogInsertionsToFinish(), WALInsertLockAcquireExclusive(), WALInsertLockRelease(), WalReceiverMain(), WalSndInitStopping(), WalSndRqstFileReload(), WalSndShmemInit(), WalSndWaitStopping(), widget_in(), width_bucket_array_variable(), win_to_utf8(), winsock_strerror(), worker_spi_launch(), write_multirange_data(), write_reconstructed_file(), write_relcache_init_file(), write_relmap_file(), WriteBlockRefTable(), WriteDataChunks(), WriteInt(), writeListPage(), writeNodeArray(), WriteToc(), writezone(), X509_NAME_to_cstring(), xact_desc_assignment(), xact_desc_relations(), xact_desc_stats(), xact_desc_subxacts(), XidCacheRemoveRunningXids(), XLogPrefetcherNextBlock(), XLogRegisterBlock(), XLogRegisterBuffer(), XLogResetInsertion(), XLOGShmemInit(), xmlcomment(), xmlelement(), XmlTableDestroyOpaque(), XmlTableGetValue(), xpath_table(), and zapallsubs().

◆ init

◆ invalid

invalidindex index d is invalid

Definition at line 138 of file isn.c.

Referenced by database_is_invalid_oid(), and index_create().

◆ isn_names

const char* const isn_names[] = {"EAN13/UPC/ISxN", "EAN13/UPC/ISxN", "EAN13", "ISBN", "ISMN", "ISSN", "UPC"}
static

Definition at line 44 of file isn.c.

Referenced by ean2isn(), ean2string(), and string2ean().

◆ j

invalidindex index d is j

Definition at line 78 of file isn.c.

Referenced by _bt_deadblocks(), _bt_killitems(), _bt_merge_arrays(), _bt_preprocess_array_keys(), _bt_preprocess_keys(), _hash_addovflpage(), _ltree_picksplit(), _print_horizontal_line(), aclmembers(), acquire_inherited_sample_rows(), add_base_rels_to_query(), addFkRecurseReferenced(), addFkRecurseReferencing(), addRangeTableEntryForFunction(), addtype(), apply_returning_filter(), apw_load_buffers(), array_contain_compare(), array_extract_slice(), array_insert_slice(), array_out(), array_reverse_n(), array_shuffle_n(), array_slice_size(), associate(), attnumstoint2vector(), BF_set_key(), BlockRefTableEntryMarkBlockModified(), BlockRefTableEntrySetLimitBlock(), BlockRefTableWriteEntry(), bpchar_input(), brtuple_disk_tupdesc(), bt_metap(), bt_multi_page_stats(), bt_page_print_tuples(), bt_page_stats_internal(), build_attnums_array(), build_attrmap_by_name(), build_attrmap_by_position(), build_distinct_groups(), build_sorted_items(), buildACLCommands(), calc_distr(), calc_rank_or(), calc_word_similarity(), ChangeVarNodes_walker(), check_backtrace_functions(), check_duplicates_in_publist(), check_generic_type_consistency(), check_testspec(), CheckAttributeNamesTypes(), checkcondition_gin(), checkWellFormedRecursionWalker(), choose_bitmap_and(), clauselist_apply_dependencies(), collectMatchesForHeapRow(), compute_array_stats(), compute_distinct_stats(), compute_scalar_stats(), compute_tsvector_stats(), convert_prep_stmt_params(), convert_subquery_pathkeys(), CopyTriggerDesc(), count_usable_fds(), create_list_bounds(), create_range_bounds(), createDummyViewAsClause(), CreatePartitionPruneState(), CreateTriggerFiringOn(), cube_enlarge(), d2d(), DeadLockCheck(), decompile_column_index_array(), deconstruct_distribute(), deconstruct_recurse(), DeescapeQuotedString(), DefineIndex(), deparse_lquery(), dependencies_clauselist_selectivity(), dependency_is_fully_matched(), des_init(), determineNotNullFlags(), DiscreteKnapsack(), do_field(), do_header(), dofindsubquery(), DropRelationBuffers(), DropRelationsAllBuffers(), dsa_dump(), dshash_dump(), dumpIndex(), dumpTableSchema(), dumptuples(), enforce_generic_type_consistency(), eqjoinsel_inner(), eqjoinsel_semi(), escape_single_quotes_ascii(), estimate_multivariate_ndistinct(), ExecEndModifyTable(), ExecFilterJunk(), ExecHashTableResetMatchFlags(), ExecIndexAdvanceArrayKeys(), ExecIndexBuildScanKeys(), ExecIndexEvalArrayKeys(), ExecIndexEvalRuntimeKeys(), ExecInitAgg(), ExecInitAppend(), ExecInitFunctionScan(), ExecInitMergeAppend(), ExecScanHashTableForUnmatched(), execute_attr_map_slot(), execute_attr_map_tuple(), expandColorTrigrams(), ExpandConstraints(), ExplainMemberNodes(), extract_rollup_sets(), f2d(), FastPathTransferRelationLocks(), fillRelOptions(), fillTrgm(), find_among(), find_among_b(), find_hash_columns(), find_jointree_node_for_rel(), find_mergeclauses_for_outer_pathkeys(), find_placeholders_recurse(), find_strongest_dependency(), findDependencyLoops(), findDontCares(), findeq(), flagInhAttrs(), flagInhIndexes(), flagInhTables(), FlushRelationsAllBuffers(), ForgetManyTestResources(), format_aggregate_signature(), format_function_signature(), format_node_dump(), FuncnameGetCandidates(), g_cube_picksplit(), g_int_compress(), g_int_decompress(), g_int_picksplit(), g_intbig_picksplit(), generate_bitmap_or_paths(), generate_dependencies_recurse(), get_crosstab_tuplestore(), get_docrep(), get_from_clause_item(), get_nullingrels_recurse(), get_qual_for_range(), get_relids_in_jointree(), getColorInfo(), getConstraints(), getDumpableObjects(), getIndexes(), getleapdatetime(), GetLockConflicts(), GetLockStatusData(), GetPermutation(), getPolicies(), getPublicationNamespaces(), getPublicationTables(), getRightMostDot(), getTableAttrs(), getTokenTypes(), getTriggers(), ghstore_picksplit(), gin_bool_consistent(), gin_check_parent_keys_consistency(), gin_extract_hstore_query(), gin_extract_jsonb_query(), gin_extract_tsquery(), ginExtractEntries(), gistchoose(), gistMakeUnionItVec(), gistRelocateBuildBuffersOnSplit(), gistSplitByKey(), group_similar_or_args(), gtrgm_picksplit(), gtsquery_picksplit(), gtsvector_picksplit(), has_dangerous_join_using(), has_lock_conflicts(), hash_bitmap_info(), hash_metapage_info(), hash_page_items(), hash_page_stats(), hashagg_recompile_expressions(), helpSQL(), hstore_delete_array(), hstore_delete_hstore(), hstore_from_record(), hstoreArrayToPairs(), identify_join_columns(), if(), increment_overflow(), increment_overflow_time(), index_delete_sort(), inet_mcv_join_sel(), init_tour(), InitExecPartitionPruneContexts(), initialize_reloptions(), InitializeLWLocks(), InitPlan(), initPopulateTable(), InitPostmasterChildSlots(), InitProcGlobal(), initValue(), inner_int_contains(), inner_int_inter(), inner_int_overlap(), inner_int_union(), interpt_pp(), jointree_contains_lateral_outer_refs(), JsonbDeepContains(), leader_takeover_tapes(), list_deduplicate_oid(), log_newpages(), lookup_var_attr_stats(), ltree_index(), ltree_picksplit(), ltree_union(), main(), make_row_comparison_op(), make_tsvector(), make_tuple_from_result_row(), make_unique_from_pathkeys(), MakeConfigurationMapping(), markQueryForLocking(), markRelsAsNulledBy(), markRTEForSelectPriv(), mcv_get_match_bitmap(), mda_get_offset_values(), merge_acl_with_grant(), mergeins(), mulPow5divPow2(), mulPow5InvDivPow2(), mulShiftAll(), MultiXactIdExpand(), ndistinct_for_combination(), nocache_index_getattr(), nocachegetattr(), NormalizeSubWord(), OffsetVarNodes_walker(), order_qual_clauses(), output_escaped_str(), outzone(), packGraph(), ParallelBackupStart(), parseOidArray(), parseRelOptions(), parseRelOptionsInternal(), parseUnicode(), partition_bounds_copy(), partition_bounds_equal(), path_area(), path_distance(), path_inter(), pathkeys_useful_for_merging(), PerformRadiusTransaction(), pg_blocking_pids(), pg_checksum_block(), pg_dependencies_out(), pg_get_constraintdef_worker(), pg_get_logical_snapshot_info(), pg_isolation_test_session_is_blocked(), pg_ndistinct_out(), pg_next_dst_boundary(), pg_regcomp(), pg_sha224_final(), pg_sha256_final(), pg_sha384_final(), pg_sha512_final(), pg_stat_get_wal_senders(), pgrowlocks(), pgstatindex_impl(), PGTYPESdate_defmt_asc(), PGTYPEStimestamp_defmt_scan(), planstate_walk_members(), plist_same(), plpgsql_dumptree(), pltcl_SPI_execute_plan(), PLy_cursor_plan(), PLy_spi_execute_plan(), poly_distance(), pqConnectOptions2(), PQconnectPoll(), PQdisplayTuples(), PQprint(), PQprintTuples(), PQunescapeBytea(), prepare_sort_from_pathkeys(), prepareCommandsInPipeline(), preprocess_qual_conditions(), pretty_format_node_dump(), print_aligned_text(), ProcedureCreate(), process_backslash_command(), processExtensionTables(), pull_up_sublinks_jointree_recurse(), pull_up_sublinks_qual_recurse(), pull_up_subqueries_recurse(), qunique(), qunique_arg(), range_gist_picksplit(), rangeTableEntry_used_walker(), read_letter(), record_cmp(), record_eq(), record_image_cmp(), record_image_eq(), reduce_outer_joins_pass1(), reduce_outer_joins_pass2(), remove_gene(), remove_self_joins_recurse(), remove_useless_results_recurse(), removeObjectDependency(), RemoveRoleFromObjectPolicy(), repairDependencyLoop(), replace_vars_in_jointree(), report_invalid_encoding(), report_untranslatable_char(), rfmtlong(), rho(), RI_FKey_cascade_upd(), run_permutation(), satisfies_hash_partition(), scram_SaltedPassword(), select_outer_pathkeys_for_merge(), selectColorTrigrams(), set_join_column_names(), set_relation_column_names(), set_using_names(), SHA256_Transform(), SHA512_Transform(), shm_mq_sendv(), show_binary_results(), show_modifytable_info(), signValue(), silly_cmp_tsvector(), spg_box_quad_inner_consistent(), spg_range_quad_picksplit(), spg_text_inner_consistent(), spg_text_leaf_consistent(), spgist_name_inner_consistent(), spgist_name_leaf_consistent(), spgPrepareScanKeys(), sql_exec(), startScanKey(), statext_mcv_build(), statext_ndistinct_build(), StoreRelCheck(), strlist_to_textarray(), systable_beginscan(), systable_beginscan_ordered(), SystemAttributeByName(), TidQualFromRestrictInfoList(), TopologicalSort(), TopoSort(), TransactionIdIsInProgress(), TransactionTreeSetCommitTsData(), transformFkeyCheckAttrs(), transformFromClauseItem(), transformJoinOnClause(), transformPartitionRangeBounds(), transformRangeTableFunc(), trigramsMatchGraph(), tsq_mcontains(), tsvector_concat(), tsvector_delete_by_indices(), tsvector_filter(), tsvector_setweight(), tsvector_setweight_by_filter(), tsvector_unnest(), tsvectorrecv(), tsvectorsend(), tuplesort_heap_insert(), tuplesort_heap_replace_top(), tzloadbody(), tzparse(), update_leaves(), vacuumLeafPage(), validate_pkattnums(), validateFkOnDeleteSetColumns(), varchar_input(), varstr_levenshtein(), WaitForOlderSnapshots(), WaitForTerminatingWorkers(), WriteBlockRefTable(), writezone(), XidCacheRemoveRunningXids(), and xpath_table().

◆ near

invalidtable invalid table near
Initial value:
{\"%s\", \"%s\"} (pos: %d)",
TABLE[i][0], TABLE[i][1], i)

Definition at line 133 of file isn.c.

◆ TABLE_index

const unsigned TABLE_index[10][2]
Initial value:
{
const char *aux1,
*aux2

Definition at line 69 of file isn.c.

Referenced by ean2string(), hyphenate(), and if().

◆ true

◆ x

int x = 0

Definition at line 75 of file isn.c.

Referenced by acosd_q1(), asind_q1(), before(), BF_swap(), bit_in(), bitncmp(), bms_add_member(), bms_del_member(), bms_is_member(), bms_make_singleton(), bms_member_index(), bms_overlap_list(), box_in(), box_recv(), bpcharfastcmp_c(), btfloat4fastcmp(), btfloat8fastcmp(), btint2fastcmp(), btint8fastcmp(), btoidfastcmp(), casecmp(), check_with_filler(), clamp_cardinality_to_long(), cmp(), compareDoubles(), comparison_shim(), complex_in(), computeIterativeZipfian(), construct_point(), cosd_0_to_60(), cosd_q1(), cube_c_f8(), cube_f8(), cube_recv(), div10(), div100(), div1e8(), div5(), do_to_timestamp(), estimate_ln_dweight(), exp_var(), fb(), fc(), fd(), fe(), gbt_bit_ssup_cmp(), gbt_bool_ssup_cmp(), gbt_bpchar_ssup_cmp(), gbt_bytea_ssup_cmp(), gbt_cash_ssup_cmp(), gbt_date_ssup_cmp(), gbt_enum_ssup_cmp(), gbt_float4_ssup_cmp(), gbt_float8_ssup_cmp(), gbt_inet_ssup_cmp(), gbt_int2_ssup_cmp(), gbt_int8_ssup_cmp(), gbt_intv_ssup_cmp(), gbt_macaddr8_ssup_cmp(), gbt_macaddr_ssup_cmp(), gbt_numeric_ssup_cmp(), gbt_oid_ssup_cmp(), gbt_text_ssup_cmp(), gbt_timekey_ssup_cmp(), gbt_ts_ssup_cmp(), gbt_uuid_ssup_cmp(), get_code_decomposition(), get_restricted_token(), if(), int128_add_int64_mul_int64(), int128_compare(), interpret_function_parameter_list(), intset_add_member(), intset_is_member(), k_hashes(), line_interpt_line(), ln_var(), lookup_var_attr_stats(), lseg_crossing(), macaddr_fast_cmp(), main(), my_int128_compare(), myRand(), namefastcmp_c(), namefastcmp_locale(), network_fast_cmp(), NUM_numpart_from_char(), numeric_cmp_abbrev(), numeric_fast_cmp(), numeric_float8_no_overflow(), numeric_int2(), numeric_int4_opt_error(), numeric_int8_opt_error(), numeric_normalize(), numeric_out(), numeric_out_sci(), numeric_pg_lsn(), numeric_send(), numeric_to_char(), numeric_to_number(), outBitmapset(), overexplain_bitmapset(), overexplain_intlist(), pair_decode(), pair_encode(), part_bits32_by2(), pg_bswap16(), pg_bswap32(), pg_bswap64(), pg_hypot(), pg_to_ascii(), pgp_elgamal_decrypt(), plperl_destroy_interp(), PLyUnicode_FromScalar(), point_construct(), point_inside(), point_zorder_internal(), print_double(), pub_contains_invalid_column(), rbt_delete_fixup(), rbt_delete_node(), rbt_insert(), rbt_insert_fixup(), rbt_rotate_left(), rbt_rotate_right(), rho(), rightneighbor(), rotl(), sind_0_to_30(), sind_q1(), single_decode(), single_encode(), ssup_datum_int32_cmp(), ssup_datum_unsigned_cmp(), test_empty(), test_huge_distances(), test_pattern(), test_single_value(), test_single_value_and_filler(), timestamp_fastcmp(), transformXmlExpr(), updateminmax(), uuid_fast_cmp(), varbit_in(), varbit_out(), varlenafastcmp_locale(), varstr_levenshtein(), varstrfastcmp_c(), xml_out(), xml_out_internal(), xml_send(), and xmlconcat().

◆ y

int y = -1

Definition at line 76 of file isn.c.

Referenced by before(), box_in(), box_recv(), bpcharfastcmp_c(), btfloat4fastcmp(), btfloat8fastcmp(), btint2fastcmp(), btint8fastcmp(), btoidfastcmp(), casecmp(), cmp(), compareDoubles(), comparison_shim(), complex_in(), construct_point(), date2j(), do_to_timestamp(), gbt_bit_ssup_cmp(), gbt_bool_ssup_cmp(), gbt_bpchar_ssup_cmp(), gbt_bytea_ssup_cmp(), gbt_cash_ssup_cmp(), gbt_date_ssup_cmp(), gbt_enum_ssup_cmp(), gbt_float4_ssup_cmp(), gbt_float8_ssup_cmp(), gbt_inet_ssup_cmp(), gbt_int2_ssup_cmp(), gbt_int8_ssup_cmp(), gbt_intv_ssup_cmp(), gbt_macaddr8_ssup_cmp(), gbt_macaddr_ssup_cmp(), gbt_numeric_ssup_cmp(), gbt_oid_ssup_cmp(), gbt_text_ssup_cmp(), gbt_timekey_ssup_cmp(), gbt_ts_ssup_cmp(), gbt_uuid_ssup_cmp(), if(), int128_add_int64_mul_int64(), int128_compare(), j2date(), k_hashes(), leaps_thru_end_of(), leaps_thru_end_of_nonneg(), line_interpt_line(), lseg_crossing(), macaddr_fast_cmp(), main(), md5_calc(), my_int128_compare(), namefastcmp_c(), namefastcmp_locale(), network_fast_cmp(), numeric_cmp_abbrev(), numeric_fast_cmp(), pair_decode(), pair_encode(), pg_hypot(), pgp_elgamal_encrypt(), PGTYPESdate_julmdy(), point_construct(), point_inside(), point_zorder_internal(), rbt_delete_node(), rbt_insert_fixup(), rbt_rotate_left(), rbt_rotate_right(), reservoir_get_next_S(), rpytime(), ssup_datum_int32_cmp(), ssup_datum_unsigned_cmp(), test_huge_distances(), timestamp_fastcmp(), timesub(), uuid_fast_cmp(), varlenafastcmp_locale(), varstr_levenshtein(), and varstrfastcmp_c().