Changeset 952


Ignore:
Timestamp:
Jan 3, 2019, 10:20:00 AM (8 months ago)
Author:
cito
Message:

Update PostgreSQL type definitions

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pgmodule.c

    r951 r952  
    324324                        break;
    325325
    326                 case CASHARRAYOID:
     326                case MONEYARRAYOID:
    327327                        t = array_as_text ? PYGRES_TEXT : ((decimal_point ?
    328328                                PYGRES_MONEY : PYGRES_TEXT) | PYGRES_ARRAY);
  • trunk/pgtypes.h

    r798 r952  
    22        pgtypes - PostgreSQL type definitions
    33
    4         These are the standard PostgreSQL 9.5 built-in types,
    5         extracted from src/include/catalog/pg_type.h,
     4        These are the standard PostgreSQL 11.1 built-in types,
     5        extracted from src/backend/catalog/pg_type_d.h,
    66        because that header file is sometimes not available
    77        or needs other header files to get properly included.
     
    99*/
    1010
    11 #ifndef PG_TYPE_H
     11#ifndef PG_TYPE_D_H
    1212
    1313#define BOOLOID 16
     
    2828#define JSONOID 114
    2929#define XMLOID 142
     30#define XMLARRAYOID 143
     31#define JSONARRAYOID 199
    3032#define PGNODETREEOID 194
     33#define PGNDISTINCTOID 3361
     34#define PGDEPENDENCIESOID 3402
    3135#define PGDDLCOMMANDOID 32
     36#define SMGROID 210
    3237#define POINTOID 600
    3338#define LSEGOID 601
     
    3641#define POLYGONOID 604
    3742#define LINEOID 628
     43#define LINEARRAYOID 629
    3844#define FLOAT4OID 700
    3945#define FLOAT8OID 701
     
    4349#define UNKNOWNOID 705
    4450#define CIRCLEOID 718
     51#define CIRCLEARRAYOID 719
    4552#define CASHOID 790
     53#define MONEYARRAYOID 791
    4654#define MACADDROID 829
    4755#define INETOID 869
    4856#define CIDROID 650
     57#define MACADDR8OID 774
     58#define BOOLARRAYOID 1000
     59#define BYTEAARRAYOID 1001
     60#define CHARARRAYOID 1002
     61#define NAMEARRAYOID 1003
    4962#define INT2ARRAYOID 1005
     63#define INT2VECTORARRAYOID 1006
    5064#define INT4ARRAYOID 1007
     65#define REGPROCARRAYOID 1008
    5166#define TEXTARRAYOID 1009
    5267#define OIDARRAYOID 1028
     68#define TIDARRAYOID 1010
     69#define XIDARRAYOID 1011
     70#define CIDARRAYOID 1012
     71#define OIDVECTORARRAYOID 1013
     72#define BPCHARARRAYOID 1014
     73#define VARCHARARRAYOID 1015
     74#define INT8ARRAYOID 1016
     75#define POINTARRAYOID 1017
     76#define LSEGARRAYOID 1018
     77#define PATHARRAYOID 1019
     78#define BOXARRAYOID 1020
    5379#define FLOAT4ARRAYOID 1021
     80#define FLOAT8ARRAYOID 1022
     81#define ABSTIMEARRAYOID 1023
     82#define RELTIMEARRAYOID 1024
     83#define TINTERVALARRAYOID 1025
     84#define POLYGONARRAYOID 1027
    5485#define ACLITEMOID 1033
     86#define ACLITEMARRAYOID 1034
     87#define MACADDRARRAYOID 1040
     88#define MACADDR8ARRAYOID 775
     89#define INETARRAYOID 1041
     90#define CIDRARRAYOID 651
    5591#define CSTRINGARRAYOID 1263
    5692#define BPCHAROID 1042
     
    5995#define TIMEOID 1083
    6096#define TIMESTAMPOID 1114
     97#define TIMESTAMPARRAYOID 1115
     98#define DATEARRAYOID 1182
     99#define TIMEARRAYOID 1183
    61100#define TIMESTAMPTZOID 1184
     101#define TIMESTAMPTZARRAYOID 1185
    62102#define INTERVALOID 1186
     103#define INTERVALARRAYOID 1187
     104#define NUMERICARRAYOID 1231
    63105#define TIMETZOID 1266
     106#define TIMETZARRAYOID 1270
    64107#define BITOID 1560
     108#define BITARRAYOID 1561
    65109#define VARBITOID 1562
     110#define VARBITARRAYOID 1563
    66111#define NUMERICOID 1700
    67112#define REFCURSOROID 1790
     113#define REFCURSORARRAYOID 2201
    68114#define REGPROCEDUREOID 2202
    69115#define REGOPEROID 2203
     
    73119#define REGROLEOID 4096
    74120#define REGNAMESPACEOID 4089
     121#define REGPROCEDUREARRAYOID 2207
     122#define REGOPERARRAYOID 2208
     123#define REGOPERATORARRAYOID 2209
     124#define REGCLASSARRAYOID 2210
    75125#define REGTYPEARRAYOID 2211
     126#define REGROLEARRAYOID 4097
     127#define REGNAMESPACEARRAYOID 4090
    76128#define UUIDOID 2950
     129#define UUIDARRAYOID 2951
    77130#define LSNOID 3220
     131#define PG_LSNARRAYOID 3221
    78132#define TSVECTOROID 3614
    79133#define GTSVECTOROID 3642
     
    81135#define REGCONFIGOID 3734
    82136#define REGDICTIONARYOID 3769
     137#define TSVECTORARRAYOID 3643
     138#define GTSVECTORARRAYOID 3644
     139#define TSQUERYARRAYOID 3645
     140#define REGCONFIGARRAYOID 3735
     141#define REGDICTIONARYARRAYOID 3770
    83142#define JSONBOID 3802
     143#define JSONBARRAYOID 3807
     144#define TXID_SNAPSHOTOID 2970
     145#define TXID_SNAPSHOTARRAYOID 2949
    84146#define INT4RANGEOID 3904
     147#define INT4RANGEARRAYOID 3905
     148#define NUMRANGEOID 3906
     149#define NUMRANGEARRAYOID 3907
     150#define TSRANGEOID 3908
     151#define TSRANGEARRAYOID 3909
     152#define TSTZRANGEOID 3910
     153#define TSTZRANGEARRAYOID 3911
     154#define DATERANGEOID 3912
     155#define DATERANGEARRAYOID 3913
     156#define INT8RANGEOID 3926
     157#define INT8RANGEARRAYOID 3927
    85158#define RECORDOID 2249
    86159#define RECORDARRAYOID 2287
     
    98171#define ANYENUMOID 3500
    99172#define FDW_HANDLEROID 3115
     173#define INDEX_AM_HANDLEROID 325
    100174#define TSM_HANDLEROID 3310
    101175#define ANYRANGEOID 3831
    102176
    103 /* more types */
    104 
    105 #define JSONARRAYOID 199
    106 #define CASHARRAYOID 791
    107 #define BOOLARRAYOID 1000
    108 #define BYTEAARRAYOID 1001
    109 #define CHARARRAYOID 1002
    110 #define NAMEARRAYOID 1003
    111 #define XIDARRAYOID 1011
    112 #define CIDARRAYOID 1012
    113 #define BPCHARARRAYOID 1014
    114 #define VARCHARARRAYOID 1015
    115 #define INT8ARRAYOID 1016
    116 #define FLOAT8ARRAYOID 1022
    117 #define ABSTIMEARRAYOID 1023
    118 #define RELTIMEARRAYOID 1024
    119 #define TIMESTAMPARRAYOID 1115
    120 #define DATEARRAYOID 1182
    121 #define TIMEARRAYOID 1183
    122 #define TIMESTAMPTZARRAYOID 1185
    123 #define INTERVALARRAYOID 1187
    124 #define NUMERICARRAYOID 1231
    125 #define TIMETZARRAYOID 1270
    126 #define JSONBARRAYOID 3807
    127 
    128 #endif /* PG_TYPE_H */
     177#endif /* PG_TYPE_D_H */
Note: See TracChangeset for help on using the changeset viewer.