From 423e12b0367935786ce506456008b511b17021f1 Mon Sep 17 00:00:00 2001 From: mkgrgis Date: Mon, 14 Apr 2025 13:01:51 +0300 Subject: [PATCH 1/4] Initial inet data type implementation, merge with master --- Makefile | 2 +- README.md | 112 +- deparse.c | 58 + expected/13.15/types/inet.out | 2243 ++++++++++++++++ expected/13.15/with_gis_support/type.out | 61 + .../13.15/without_gis_support/auto_import.out | 691 ++--- expected/14.12/types/inet.out | 2264 +++++++++++++++++ expected/14.12/with_gis_support/type.out | 61 + .../14.12/without_gis_support/auto_import.out | 691 ++--- expected/15.7/types/inet.out | 2264 +++++++++++++++++ expected/15.7/with_gis_support/type.out | 61 + .../15.7/without_gis_support/auto_import.out | 691 ++--- expected/16.3/types/inet.out | 2264 +++++++++++++++++ .../16.3/with_gis_support/auto_import.out | 691 ++--- expected/16.3/with_gis_support/type.out | 61 + .../16.3/without_gis_support/auto_import.out | 691 ++--- expected/17.0/types/inet.out | 2264 +++++++++++++++++ .../17.0/without_gis_support/auto_import.out | 691 ++--- sql/13.15/types/inet.sql | 462 ++++ sql/14.12/types/inet.sql | 462 ++++ sql/15.7/types/inet.sql | 462 ++++ sql/16.3/types/inet.sql | 462 ++++ sql/17.0/types/inet.sql | 462 ++++ sql/init_data/inet.data | 625 +++++ sql/init_data/init.sql | 54 +- sqlite_data_norm.c | 280 +- sqlite_fdw.c | 4 +- sqlite_fdw.h | 2 +- sqlite_query.c | 190 +- 29 files changed, 17261 insertions(+), 2065 deletions(-) create mode 100644 expected/13.15/types/inet.out create mode 100644 expected/14.12/types/inet.out create mode 100644 expected/15.7/types/inet.out create mode 100644 expected/16.3/types/inet.out create mode 100644 expected/17.0/types/inet.out create mode 100644 sql/13.15/types/inet.sql create mode 100644 sql/14.12/types/inet.sql create mode 100644 sql/15.7/types/inet.sql create mode 100644 sql/16.3/types/inet.sql create mode 100644 sql/17.0/types/inet.sql create mode 100644 sql/init_data/inet.data diff --git a/Makefile b/Makefile index e01ed134..977570a3 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ $(info There is NO PostGIS support for SQLite FDW) endif # Tests for PostgreSQL data types support -DATA_TYPE_TESTS = types/bitstring types/bool types/float4 types/float8 types/int4 types/int8 types/json types/numeric types/macaddr types/macaddr8 types/out_of_range types/timestamp types/uuid +DATA_TYPE_TESTS = types/bitstring types/bool types/float4 types/float8 types/inet types/int4 types/int8 types/json types/numeric types/macaddr types/macaddr8 types/out_of_range types/timestamp types/uuid # Tests with different versions with GIS support and without GIS support GIS_DEP_TESTS = $(GIS_DEP_TESTS_DIR)/type $(GIS_DEP_TESTS_DIR)/auto_import $(GIS_DEP_TESTS_DIR)/$(GIS_TEST) diff --git a/README.md b/README.md index 56daf87b..2e6a71e6 100644 --- a/README.md +++ b/README.md @@ -49,18 +49,20 @@ Features - `double precision`, `float` and `numeric`: `real` values and special values with `text` affinity (`+Infinity`, `-Infinity`, `NaN`), - `macaddr`: `text`(12..17) or `blob`(6) or `integer`, - `macaddr8`: `text`(16..23) or `blob`(8) or `integer`, - - `json`: `text`(default) or `blob` as SQLite `jsonb` object. + - `json`: `text`(default) or `blob` as SQLite `jsonb` object, + - `inet`: `text`(8..49) or `blob`(4..5 IP v4, 16..17 IP v6) or `integer` (IP v4). - Support mixed SQLite [data affinity](https://www.sqlite.org/datatype3.html) output (`INSERT`/`UPDATE`) for such data types as - `timestamp`: `text`(default) or `int`, - `uuid`: `text`(36) or `blob`(16)(default), - `macaddr`: `text`(17) or `blob`(6) or `integer`(default), - - `macaddr8`: `text`(23) or `blob`(8) or `integer`(default). + - `macaddr8`: `text`(23) or `blob`(8) or `integer`(default), + - `inet`: `integer` (default for IP v4) or `blob`(4..5 IP v4, 16..17 default for IP v6) or `text`(8..49). - Full support for `+Infinity` (means ∞) and `-Infinity` (means -∞) special values for IEEE 754-2008 numbers in `double precision`, `float` and `numeric` columns including such conditions as ` n < '+Infinity'` or ` m > '-Infinity'`. - Bidirectional data transformation for `geometry` and `geography` data types for SpatiaLite ↔ PostGIS. [EWKB](https://libgeos.org/specifications/wkb/#extended-wkb) data transport is used. See [GIS support description](GIS.md). ### Pushing down - `WHERE` clauses are pushdowned -- Aggregate function are pushdowned +- Aggregate functions are pushdowned - `ORDER BY` is pushdowned - Joins (left/right/inner/cross/semi) are pushdowned - `CASE` expressions are pushdowned. @@ -267,6 +269,7 @@ SQLite `NULL` affinity always can be transparent converted for a nullable column | float8 | V+ | ✔ | ∅ | i | `NULL` | REAL | |[geometry](GIS.md)| ∅ | ∅ | V+ | ∅ | ∅ | BLOB | |[geography](GIS.md)|∅ | ∅ | V+ | ∅ | ∅ | BLOB | +| inet | ✔- | ∅ |V
(Len=4..5, 16..17)| V+ | `NULL` | INT v4, BLOB v6 | | int2 | ✔- | ? | ∅ | ∅ | `NULL` | INT | | int4 | ✔- | ? | ∅ | ∅ | `NULL` | INT | | int8 | ✔ | ? | ∅ | ∅ | `NULL` | INT | @@ -641,6 +644,17 @@ Array support is experimental. Please be careful. - `sqlite_fdw` UUID values support exists only for `uuid` columns in foreign table. SQLite documentation recommends to store UUID as value with both `blob` and `text` [affinity](https://www.sqlite.org/datatype3.html). `sqlite_fdw` can pushdown both reading and filtering both `text` and `blob` values. - Expected affinity of UUID value in SQLite table determined by `column_type` option of the column for `INSERT` and `UPDATE` commands. PostgreSQL supports both `blob` and `text` [affinity](https://www.sqlite.org/datatype3.html). +- Usual form of UUID from a value with `blob` affinity can be generated with such SQLite query as +```sql +select case when typeof(u) = 'blob' then + substr(lower(hex(u)),1,8) || '-' || + substr(lower(hex(u)),9,4) || '-' || + substr(lower(hex(u)),13,4) || '-' || + substr(lower(hex(u)),17,4) || '-' || + substr(lower(hex(u)),21,12) + else null end uuid_canon +from "type_UUID"; +``` ### bit and varbit support - `sqlite_fdw` PostgreSQL `bit`/`varbit` values support based on `int` SQLite data affinity, because there is no per bit operations for SQLite `blob` affinity data. Maximum SQLite `int` affinity value is 8 bytes length, hence maximum `bit`/`varbit` values length is 64 bits. @@ -649,6 +663,98 @@ for `INSERT` and `UPDATE` commands. PostgreSQL supports both `blob` and `text` [ ### MAC address support - `sqlite_fdw` PostgreSQL `macaddr`/`macaddr8` values support based on `int` SQLite data affinity, because there is no per bit operations for SQLite `blob` affinity data. For `macaddr` out of range error is possible because this type is 6 bytes length, but SQLite `int` can store value up to 8 bytes. - `sqlite_fdw` doesn't pushdown any operations with MAC adresses because there is 3 possible affinities for it in SQLite: `integer`, `blob` and `text`. +### IP address support +- `sqlite_fdw` PostgreSQL `inet` values support based on `int` SQLite data affinity for IP v4 and `blob` SQLite data affinity for IP v6. +- Usual form of IP v4 address with cidr from a value with `integer` affinity can be generated with such SQLite query as +```sql +select case when typeof(ip) = 'integer' + then ((ip >> 24) & 255) || '.' || ((ip >> 16) & 255) || '.' || ((ip >> 8) & 255) || '.' || (ip & 255) || + case when (ip >> 32) > 0 then '/' || (ip >> 32) else '' end + else null + end ipv4_text, + ip +from "type_INET"; +``` +- Usual form of IP v6 or IP v4 address from a value with `blob` affinity can be generated with such SQLite query as +```sql +select + case + when typeof(ip) = 'blob' and (length(ip) = 16 or length(ip) = 17) then + lower( + substr(hex(ip),1,4) || ':' || + substr(hex(ip),5,4) || ':' || + substr(hex(ip),9,4) || ':' || + substr(hex(ip),13,4) || ':' || + substr(hex(ip),17,4) || ':' || + substr(hex(ip),21,4) || ':' || + substr(hex(ip),25,4) || ':' || + substr(hex(ip),29,4) + ) || + case + when length(ip) = 17 then + '/' || ((instr('123456789ABCDEF', substr(hex(ip),33,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),34,1))) + else '' + end + when typeof(ip) = 'blob' and (length(ip) = 4 or length(ip) = 5) then + ((instr('123456789ABCDEF', substr(hex(ip),1,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),2,1))) || '.' || + ((instr('123456789ABCDEF', substr(hex(ip),3,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),4,1))) || '.' || + ((instr('123456789ABCDEF', substr(hex(ip),5,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),6,1))) || '.' || + ((instr('123456789ABCDEF', substr(hex(ip),7,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),8,1))) + || + case + when length(ip) = 5 then + '/' || ((instr('123456789ABCDEF', substr(hex(ip),9,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),10,1))) + else '' + end + else null + end as ip_text +from "type_INET"; +``` +- IP address with possible cidr addition enconing as SQLite BLOB value based on such conventions +``` + m - mask as number of bits + a - bytes of IP address + + IP v4 + cidr +┏━━━┳━━━┳━━━┳━━━┳━━━┓ +┃ a ┃ a ┃ a ┃ a ┃ m ┃ +┗━━━┻━━━┻━━━┻━━━┻━━━┛ + 0 1 2 3 4 - byte index + IP v6 + cidr +┏━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┓ +┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ m ┃ +┗━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┛ + 0 1 2 3 4 5 5 7 8 9 10 11 12 13 14 15 16 17 - byte index + + IP v4 +┏━━━┳━━━┳━━━┳━━━┓ +┃ a ┃ a ┃ a ┃ a ┃ +┗━━━┻━━━┻━━━┻━━━┛ + 0 1 2 3 - byte index + IP v6 +┏━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┳━━━┓ +┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ a ┃ +┗━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┻━━━┛ + 0 1 2 3 4 5 5 7 8 9 10 11 12 13 14 15 16 - byte index +``` +- IP address v4 with possible cidr addition enconing as SQLite integer based on such conventions +``` + m - mask as number of bits + a - IP address bytes + + IP v4 + cidr +┏━━━┳━━━┳━━━┳━━━┳━━━┓ +┃ m ┃ a ┃ a ┃ a ┃ a ┃ +┗━━━┻━━━┻━━━┻━━━┻━━━┛ + 0 1 2 3 4 - byte index + + IP v4 +┏━━━┳━━━┳━━━┳━━━┓ +┃ a ┃ a ┃ a ┃ a ┃ +┗━━━┻━━━┻━━━┻━━━┛ + 0 1 2 3 - byte index +``` +- `sqlite_fdw` doesn't pushdown any operations with IP adresses because there is 3 possible affinities for it in SQLite: `integer`, `blob` and `text`. ### JSON support and operators - Operators `->` and `->>` for `json` and `jsonb` are pushed down. This means if you deal with a foreign table only, you can use SQLite syntax of `->` and `->>` operators which is more rich than PostgreSQL syntax. In PostgreSQL this operators means only 1-leveled extraction after one call, but possible multilevel extraction in one call of the operator in SQLite. You can extract `'{"a": 2, "c": [4, 5, {"f": 7}]}' ->'c' -> 2` with result `{"f":7}` both for PostgreSQL and SQLite tables, but `'{"a": 2, "c": [4, 5, {"f": 7}]}' ->'$.c[2]'` possible only in SQLite and for a foreign table. diff --git a/deparse.c b/deparse.c index e7927965..91383996 100644 --- a/deparse.c +++ b/deparse.c @@ -33,9 +33,11 @@ #include "parser/parsetree.h" #include "parser/parse_type.h" #include "utils/builtins.h" +#include "utils/inet.h" #include "utils/lsyscache.h" #include "utils/syscache.h" #include "utils/typcache.h" +#include /* * Global context for sqlite_foreign_expr_walker's search of an expression tree. @@ -364,6 +366,7 @@ sqlite_deparsable_data_type(Param *p) case MACADDR8OID: case JSONOID: case JSONBOID: + case INETOID: return true; } #ifdef SQLITE_FDW_GIS_ENABLE @@ -2455,6 +2458,16 @@ sqlite_deparse_column_ref(StringInfo buf, int varno, int varattno, PlannerInfo * appendStringInfoString(buf, ")"); break; } + case INETOID: + { + elog(DEBUG2, "IP addr unification for \"%s\"", colname); + appendStringInfoString(buf, "sqlite_fdw_ipaddr_blob("); + if (qualify_col) + ADD_REL_QUALIFIER(buf, varno); + appendStringInfoString(buf, sqlite_quote_identifier(colname, '`')); + appendStringInfoString(buf, ")"); + break; + } default: { no_unification = true; @@ -2818,6 +2831,24 @@ sqlite_deparse_direct_update_sql(StringInfo buf, PlannerInfo *root, appendStringInfo(buf, "sqlite_fdw_macaddr_blob("); special_affinity = true; } + else if (pg_attyp == INETOID) + { + if (preferred_affinity == SQLITE_TEXT) + { + appendStringInfo(buf, "sqlite_fdw_ipaddr_str("); + special_affinity = true; + } + else if (preferred_affinity == SQLITE_INTEGER) + { + appendStringInfo(buf, "sqlite_fdw_ipaddr_int("); + special_affinity = true; + } + else if (preferred_affinity == SQLITE_NULL) + { + appendStringInfo(buf, "sqlite_fdw_ipaddr_native("); + special_affinity = true; + } + } sqlite_deparse_expr((Expr *) tle->expr, &context); @@ -3255,6 +3286,33 @@ sqlite_deparse_const(Const *node, deparse_expr_cxt *context, int showtype) appendStringInfo(buf, ")"); } break; + case INETOID: + { + inet *pg_inet = DatumGetInetP(node->constvalue); + unsigned char bits = ip_bits(pg_inet); + unsigned char *ipaddr = pg_inet->inet_data.ipaddr; + + appendStringInfo(buf, "X\'"); + for (int i = 0; i < ip_addrsize(pg_inet); i++) + { + int d1 = (ipaddr[i] >> 4) & 0x0F; + int d2 = ipaddr[i] & 0x0F; + + appendStringInfoChar(buf, hex_dig[d1]); + appendStringInfoChar(buf, hex_dig[d2]); + } + /* Is here an address mask? */ + if (bits < ip_maxbits(pg_inet)) + { + int d1 = (bits >> 4) & 0x0F; + int d2 = bits & 0x0F; + + appendStringInfoChar(buf, hex_dig[d1]); + appendStringInfoChar(buf, hex_dig[d2]); + } + appendStringInfo(buf, "\'"); + } + break; default: { if (listed_datatype_oid(node->consttype, -1, postGisSQLiteCompatibleTypes)) diff --git a/expected/13.15/types/inet.out b/expected/13.15/types/inet.out new file mode 100644 index 00000000..6c49a08d --- /dev/null +++ b/expected/13.15/types/inet.out @@ -0,0 +1,2243 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; + QUERY PLAN +------------------------------------------------------------------------------------------------------------ + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" +(3 rows) + +--Testcase 015: +SELECT * FROM "type_INET+"; + i | ip | t | l | tx | ip_text +-----+-------------------------------+---------+----+---------------+--------------------------------------------- + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 10 | | null | | | + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 14 | | null | | | + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 20 | | null | | | + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 28 | | null | | | + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 36 | | null | | | + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 42 | | null | | | + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 55 | | null | | | + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 69 | | null | | | + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 80 | | null | | | + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 83 | | null | | | + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 86 | | null | | | + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 92 | | null | | | + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 96 | | null | | | + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 103 | | null | | | + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 116 | | null | | | + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 120 | | null | | | + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 122 | | null | | | + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 128 | | null | | | + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 135 | | null | | | + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 155 | | null | | | + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 164 | | null | | | + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 211 | | null | | | + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 244 | | null | | | + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 253 | | null | | | + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 258 | | null | | | + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 267 | | null | | | + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 287 | | null | | | + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 297 | | null | | | + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 304 | | null | | | + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 308 | | null | | | + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 322 | | null | | | + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 329 | | null | | | + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 340 | | null | | | + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 358 | | null | | | + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 361 | | null | | | + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 367 | | null | | | + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 370 | | null | | | + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 379 | | null | | | + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 382 | | null | | | + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 402 | | null | | | + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 405 | | null | | | + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 408 | | null | | | + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 425 | | null | | | + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 429 | | null | | | + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 438 | | null | | | + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 444 | | null | | | + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 450 | | null | | | + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 461 | | null | | | + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 465 | | null | | | + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 467 | | null | | | + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 478 | | null | | | + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 480 | | null | | | + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 488 | | null | | | + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 492 | | null | | | + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 497 | | null | | | + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 499 | | null | | | + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 501 | | null | | | + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 504 | | null | | | + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 507 | | null | | | + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 510 | | null | | | + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 522 | | null | | | + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 552 | | null | | | + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 564 | | null | | | + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 571 | | null | | | + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 589 | | null | | | + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 615 | 218.33.169.7 | integer | 10 | 3659639047 | 218.33.169.7 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 +(625 rows) + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); + QUERY PLAN +------------------------------------------------------ + Insert on public."type_INET" + -> Result + Output: '205.48.101.94'::inet, NULL::integer +(3 rows) + +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 700)) +(3 rows) + +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + i | ip | t | l | tx | ip_text +-----+--------------------+------+----+-------------------+-------------------- + 700 | 218.33.169.7 | text | 12 | 218.33.169.7 | + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 +(4 rows) + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '218.33.169.7'::inet, 710 +(3 rows) + +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '218.33.169.8'::inet, 711 +(3 rows) + +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '218.33.169.9'::inet, 712 +(3 rows) + +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '218.33.169.10'::inet, 713 +(3 rows) + +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '218.33.169.11'::inet, 714 +(3 rows) + +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + ip | i +--------------+----- + 218.33.169.7 | 615 + 218.33.169.7 | 700 + 218.33.169.7 | 710 +(3 rows) + +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 710)) +(3 rows) + +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+---------------+--------------- + 710 | 218.33.169.7 | blob | 4 | !\x07 | 218.33.169.7 + 711 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 712 | 218.33.169.9 | integer | 10 | 3659639049 | 218.33.169.9 + 713 | 218.33.169.10 | text | 13 | 218.33.169.10 | + 714 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 +(5 rows) + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '218.33.169.0/29'::inet, 720 +(3 rows) + +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '219.33.168.0/24'::inet, 721 +(3 rows) + +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '220.33.1.0/17'::inet, 722 +(3 rows) + +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '221.32.0.0/12'::inet, 723 +(3 rows) + +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); + QUERY PLAN +------------------------------------------ + Insert on public."type_INET" + -> Result + Output: '222.0.0.0/7'::inet, 724 +(3 rows) + +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da00000007')) +(3 rows) + +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + ip | i +----+--- +(0 rows) + +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 720)) +(3 rows) + +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + i | ip | t | l | tx | ip_text +-----+-----------------+---------+----+---------------+----------------- + 720 | 218.33.169.0/29 | blob | 5 | ! | 218.33.169.0/29 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.1.0/17 | integer | 11 | 76707594496 | 220.33.1.0/17 + 723 | 221.32.0.0/12 | text | 13 | 221.32.0.0/12 | + 724 | 222.0.0.0/7 | integer | 11 | 33789313024 | 222.0.0.0/7 +(5 rows) + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'da21a90c' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90b')) +(3 rows) + +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a90b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90a')) +(3 rows) + +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'da21a90a') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a909')) +(3 rows) + +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'da21a909') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a908')) +(3 rows) + +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a908') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+--------------+--------------- + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 +(5 rows) + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'de00000006' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'de00000007')) +(3 rows) + +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'dd2000000b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dd2000000c')) +(3 rows) + +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'dc21000010') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dc21010011')) +(3 rows) + +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'db21a00017') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'db21a90018')) +(3 rows) + +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a9201c') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a9001d')) +(3 rows) + +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b7'::inet, 730 +(3 rows) + +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b8'::inet, 731 +(3 rows) + +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b9'::inet, 732 +(3 rows) + +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c0'::inet, 733 +(3 rows) + +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c1'::inet, 734 +(3 rows) + +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + ip | i +---------------------------------------+----- + 2345:425:2ca1:31f4:2a11:567:5673:23b7 | 730 +(1 row) + +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 730)) +(3 rows) + +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b7 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b7 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 +(4 rows) + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); + QUERY PLAN +------------------------------------------------------------------------ + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:2300/120'::inet, 740 +(3 rows) + +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:0/112'::inet, 741 +(3 rows) + +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5600:0/104'::inet, 742 +(3 rows) + +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:567::/96'::inet, 743 +(3 rows) + +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + -> Result + Output: '2345:425:2ca1:31f4:2a11:500::/88'::inet, 744 +(3 rows) + +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + ip | i +----------------------------------+----- + 2345:425:2ca1:31f4:2a11:500::/88 | 744 +(1 row) + +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 740)) +(3 rows) + +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+------+----+----------------------------------+--------------------------------------------- + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 741 | 2345:425:2ca1:31f4:2a11:567:5673:0/112 | blob | 17 | #E\x04%,1*\x11\x05gVs | 2345:0425:2ca1:31f4:2a11:0567:5673:0000/112 + 743 | 2345:425:2ca1:31f4:2a11:567::/96 | text | 32 | 2345:425:2ca1:31f4:2a11:567::/96 | + 744 | 2345:425:2ca1:31f4:2a11:500::/88 | blob | 17 | #E\x04%,1*\x11\x05 | 2345:0425:2ca1:31f4:2a11:0500:0000:0000/88 +(4 rows) + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'234504252ca131f42a110567567323c2' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c1')) +(3 rows) + +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323c1') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c0')) +(3 rows) + +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'234504252ca131f42a110567567323c0') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b9')) +(3 rows) + +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'234504252ca131f42a110567567323b9') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b8')) +(3 rows) + +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323b8') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'543204252ca131f42a1105000000000058' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105670000000060') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105670000000060')) +(3 rows) + +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'543204252ca131f42a1105675600000068') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675600000068')) +(3 rows) + +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'543204252ca131f42a1105675673000070') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673000070')) +(3 rows) + +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105675673230078') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673230078')) +(3 rows) + +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 +(4 rows) + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'15d2c54d')) +(3 rows) + +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) ASC NULLS LAST +(3 rows) + +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) DESC NULLS FIRST +(3 rows) + +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+---------+----+----------------------------------------+--------------------------------------------- + 10 | | null | | | + 14 | | null | | | + 20 | | null | | | + 28 | | null | | | + 36 | | null | | | + 42 | | null | | | + 55 | | null | | | + 69 | | null | | | + 80 | | null | | | + 83 | | null | | | + 86 | | null | | | + 92 | | null | | | + 96 | | null | | | + 103 | | null | | | + 116 | | null | | | + 120 | | null | | | + 122 | | null | | | + 128 | | null | | | + 135 | | null | | | + 155 | | null | | | + 164 | | null | | | + 211 | | null | | | + 244 | | null | | | + 253 | | null | | | + 258 | | null | | | + 267 | | null | | | + 287 | | null | | | + 297 | | null | | | + 304 | | null | | | + 308 | | null | | | + 322 | | null | | | + 329 | | null | | | + 340 | | null | | | + 358 | | null | | | + 361 | | null | | | + 367 | | null | | | + 370 | | null | | | + 379 | | null | | | + 382 | | null | | | + 402 | | null | | | + 405 | | null | | | + 408 | | null | | | + 425 | | null | | | + 429 | | null | | | + 438 | | null | | | + 444 | | null | | | + 450 | | null | | | + 461 | | null | | | + 465 | | null | | | + 467 | | null | | | + 478 | | null | | | + 480 | | null | | | + 488 | | null | | | + 492 | | null | | | + 497 | | null | | | + 499 | | null | | | + 501 | | null | | | + 504 | | null | | | + 507 | | null | | | + 510 | | null | | | + 522 | | null | | | + 552 | | null | | | + 564 | | null | | | + 571 | | null | | | + 589 | | null | | | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 615 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 700 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 741 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | text | 38 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | + 743 | 5432:425:2ca1:31f4:2a11:567::/96 | blob | 17 | T2\x04%,1*\x11\x05g | 5432:0425:2ca1:31f4:2a11:0567:0000:0000/96 + 744 | 5432:425:2ca1:31f4:2a11:500::/88 | blob | 17 | T2\x04%,1*\x11\x05 | 5432:0425:2ca1:31f4:2a11:0500:0000:0000/88 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 +(647 rows) + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +ERROR: Failed to execute remote SQL +HINT: SQLite error 'UNIQUE constraint failed: type_INETpk.col', SQLite primary result code 19, extended result code 1555 +CONTEXT: SQL query: INSERT INTO main."type_INETpk"(`col`) VALUES (?) +--Testcase 212: +SELECT * FROM "type_INETpk"; + col +--------------- + 28.117.109.25 + 28.117.109.25 + 28.117.109.25 +(3 rows) + +--Testcase 213: +DELETE FROM "type_INETpk"; +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; +NOTICE: drop cascades to 5 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table "type_INET" +drop cascades to foreign table "type_INET+" +drop cascades to foreign table "type_INETpk" +drop cascades to server sqlite2 diff --git a/expected/13.15/with_gis_support/type.out b/expected/13.15/with_gis_support/type.out index 619bb46e..0ffee84c 100644 --- a/expected/13.15/with_gis_support/type.out +++ b/expected/13.15/with_gis_support/type.out @@ -535,3 +535,64 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; +<<<<<<< HEAD:expected/13.15/with_gis_support/type.out +======= +NOTICE: drop cascades to 57 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table department +drop cascades to foreign table employee +drop cascades to foreign table empdata +drop cascades to foreign table numbers +drop cascades to foreign table t +drop cascades to foreign table multiprimary +drop cascades to foreign table columntest +drop cascades to foreign table noprimary +drop cascades to foreign table limittest +drop cascades to foreign table grem1_1 +drop cascades to foreign table grem1_2 +drop cascades to foreign table case_exp +drop cascades to foreign table "type_STRING" +drop cascades to foreign table "type_BOOLEANpk" +drop cascades to foreign table "type_BYTE" +drop cascades to foreign table "type_SINT" +drop cascades to foreign table "type_BINT" +drop cascades to foreign table "type_INTEGER" +drop cascades to foreign table "type_FLOAT" +drop cascades to foreign table "type_DOUBLE" +drop cascades to foreign table "type_TIMESTAMP" +drop cascades to foreign table "type_BLOB" +drop cascades to foreign table "type_DATE" +drop cascades to foreign table "type_TIME" +drop cascades to foreign table "type_BIT" +drop cascades to foreign table "type_VARBIT" +drop cascades to foreign table "type_UUIDpk" +drop cascades to foreign table "type_UUID" +drop cascades to foreign table "type_MACADDRpk" +drop cascades to foreign table "type_MACADDR" +drop cascades to foreign table "type_MACADDR8pk" +drop cascades to foreign table "type_MACADDR8" +drop cascades to foreign table "type_INETpk" +drop cascades to foreign table "type_INET" +drop cascades to foreign table "types_PostGIS" +drop cascades to foreign table "BitT" +drop cascades to foreign table notype +drop cascades to foreign table typetest +drop cascades to foreign table "type_TEXT" +drop cascades to foreign table alltypetest +drop cascades to foreign table shorty +drop cascades to foreign table "A a" +drop cascades to foreign table fts_table +drop cascades to foreign table fts_table_data +drop cascades to foreign table fts_table_idx +drop cascades to foreign table fts_table_content +drop cascades to foreign table fts_table_docsize +drop cascades to foreign table fts_table_config +drop cascades to foreign table "RO_RW_test" +drop cascades to foreign table "Unicode data" +drop cascades to foreign table "type_BOOLEAN_oper" +drop cascades to foreign table "♁" +drop cascades to foreign table "♂" +drop cascades to foreign table type_json +drop cascades to foreign table "type_BOOLEAN" +drop cascades to server sqlite2 +>>>>>>> 8f05c67 (Initial inet data type implementation):expected/14.12/type_nogis.out diff --git a/expected/13.15/without_gis_support/auto_import.out b/expected/13.15/without_gis_support/auto_import.out index 4c399770..7a55c435 100644 --- a/expected/13.15/without_gis_support/auto_import.out +++ b/expected/13.15/without_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/14.12/types/inet.out b/expected/14.12/types/inet.out new file mode 100644 index 00000000..eb33a738 --- /dev/null +++ b/expected/14.12/types/inet.out @@ -0,0 +1,2264 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; + QUERY PLAN +------------------------------------------------------------------------------------------------------------ + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" +(3 rows) + +--Testcase 015: +SELECT * FROM "type_INET+"; + i | ip | t | l | tx | ip_text +-----+-------------------------------+---------+----+---------------+--------------------------------------------- + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 10 | | null | | | + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 14 | | null | | | + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 20 | | null | | | + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 28 | | null | | | + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 36 | | null | | | + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 42 | | null | | | + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 55 | | null | | | + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 69 | | null | | | + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 80 | | null | | | + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 83 | | null | | | + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 86 | | null | | | + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 92 | | null | | | + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 96 | | null | | | + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 103 | | null | | | + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 116 | | null | | | + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 120 | | null | | | + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 122 | | null | | | + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 128 | | null | | | + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 135 | | null | | | + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 155 | | null | | | + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 164 | | null | | | + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 211 | | null | | | + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 244 | | null | | | + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 253 | | null | | | + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 258 | | null | | | + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 267 | | null | | | + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 287 | | null | | | + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 297 | | null | | | + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 304 | | null | | | + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 308 | | null | | | + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 322 | | null | | | + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 329 | | null | | | + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 340 | | null | | | + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 358 | | null | | | + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 361 | | null | | | + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 367 | | null | | | + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 370 | | null | | | + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 379 | | null | | | + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 382 | | null | | | + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 402 | | null | | | + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 405 | | null | | | + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 408 | | null | | | + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 425 | | null | | | + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 429 | | null | | | + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 438 | | null | | | + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 444 | | null | | | + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 450 | | null | | | + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 461 | | null | | | + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 465 | | null | | | + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 467 | | null | | | + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 478 | | null | | | + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 480 | | null | | | + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 488 | | null | | | + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 492 | | null | | | + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 497 | | null | | | + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 499 | | null | | | + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 501 | | null | | | + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 504 | | null | | | + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 507 | | null | | | + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 510 | | null | | | + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 522 | | null | | | + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 552 | | null | | | + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 564 | | null | | | + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 571 | | null | | | + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 589 | | null | | | + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 615 | 218.33.169.7 | integer | 10 | 3659639047 | 218.33.169.7 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 +(625 rows) + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); + QUERY PLAN +------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '205.48.101.94'::inet, NULL::integer +(4 rows) + +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 700)) +(3 rows) + +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + i | ip | t | l | tx | ip_text +-----+--------------------+------+----+-------------------+-------------------- + 700 | 218.33.169.7 | text | 12 | 218.33.169.7 | + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 +(4 rows) + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.7'::inet, 710 +(4 rows) + +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.8'::inet, 711 +(4 rows) + +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.9'::inet, 712 +(4 rows) + +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.10'::inet, 713 +(4 rows) + +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.11'::inet, 714 +(4 rows) + +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + ip | i +--------------+----- + 218.33.169.7 | 615 + 218.33.169.7 | 700 + 218.33.169.7 | 710 +(3 rows) + +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 710)) +(3 rows) + +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+---------------+--------------- + 710 | 218.33.169.7 | blob | 4 | !\x07 | 218.33.169.7 + 711 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 712 | 218.33.169.9 | integer | 10 | 3659639049 | 218.33.169.9 + 713 | 218.33.169.10 | text | 13 | 218.33.169.10 | + 714 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 +(5 rows) + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.0/29'::inet, 720 +(4 rows) + +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '219.33.168.0/24'::inet, 721 +(4 rows) + +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '220.33.1.0/17'::inet, 722 +(4 rows) + +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '221.32.0.0/12'::inet, 723 +(4 rows) + +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); + QUERY PLAN +------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '222.0.0.0/7'::inet, 724 +(4 rows) + +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da00000007')) +(3 rows) + +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + ip | i +----+--- +(0 rows) + +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 720)) +(3 rows) + +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + i | ip | t | l | tx | ip_text +-----+-----------------+---------+----+---------------+----------------- + 720 | 218.33.169.0/29 | blob | 5 | ! | 218.33.169.0/29 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.1.0/17 | integer | 11 | 76707594496 | 220.33.1.0/17 + 723 | 221.32.0.0/12 | text | 13 | 221.32.0.0/12 | + 724 | 222.0.0.0/7 | integer | 11 | 33789313024 | 222.0.0.0/7 +(5 rows) + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'da21a90c' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90b')) +(3 rows) + +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a90b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90a')) +(3 rows) + +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'da21a90a') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a909')) +(3 rows) + +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'da21a909') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a908')) +(3 rows) + +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a908') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+--------------+--------------- + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 +(5 rows) + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'de00000006' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'de00000007')) +(3 rows) + +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'dd2000000b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dd2000000c')) +(3 rows) + +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'dc21000010') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dc21010011')) +(3 rows) + +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'db21a00017') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'db21a90018')) +(3 rows) + +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a9201c') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a9001d')) +(3 rows) + +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b7'::inet, 730 +(4 rows) + +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b8'::inet, 731 +(4 rows) + +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b9'::inet, 732 +(4 rows) + +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c0'::inet, 733 +(4 rows) + +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c1'::inet, 734 +(4 rows) + +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + ip | i +---------------------------------------+----- + 2345:425:2ca1:31f4:2a11:567:5673:23b7 | 730 +(1 row) + +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 730)) +(3 rows) + +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b7 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b7 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 +(4 rows) + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); + QUERY PLAN +------------------------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:2300/120'::inet, 740 +(4 rows) + +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:0/112'::inet, 741 +(4 rows) + +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5600:0/104'::inet, 742 +(4 rows) + +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567::/96'::inet, 743 +(4 rows) + +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:500::/88'::inet, 744 +(4 rows) + +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + ip | i +----------------------------------+----- + 2345:425:2ca1:31f4:2a11:500::/88 | 744 +(1 row) + +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 740)) +(3 rows) + +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+------+----+----------------------------------+--------------------------------------------- + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 741 | 2345:425:2ca1:31f4:2a11:567:5673:0/112 | blob | 17 | #E\x04%,1*\x11\x05gVs | 2345:0425:2ca1:31f4:2a11:0567:5673:0000/112 + 743 | 2345:425:2ca1:31f4:2a11:567::/96 | text | 32 | 2345:425:2ca1:31f4:2a11:567::/96 | + 744 | 2345:425:2ca1:31f4:2a11:500::/88 | blob | 17 | #E\x04%,1*\x11\x05 | 2345:0425:2ca1:31f4:2a11:0500:0000:0000/88 +(4 rows) + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'234504252ca131f42a110567567323c2' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c1')) +(3 rows) + +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323c1') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c0')) +(3 rows) + +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'234504252ca131f42a110567567323c0') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b9')) +(3 rows) + +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'234504252ca131f42a110567567323b9') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b8')) +(3 rows) + +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323b8') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'543204252ca131f42a1105000000000058' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105670000000060') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105670000000060')) +(3 rows) + +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'543204252ca131f42a1105675600000068') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675600000068')) +(3 rows) + +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'543204252ca131f42a1105675673000070') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673000070')) +(3 rows) + +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105675673230078') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673230078')) +(3 rows) + +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 +(4 rows) + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'15d2c54d')) +(3 rows) + +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) ASC NULLS LAST +(3 rows) + +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) DESC NULLS FIRST +(3 rows) + +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+---------+----+----------------------------------------+--------------------------------------------- + 10 | | null | | | + 14 | | null | | | + 20 | | null | | | + 28 | | null | | | + 36 | | null | | | + 42 | | null | | | + 55 | | null | | | + 69 | | null | | | + 80 | | null | | | + 83 | | null | | | + 86 | | null | | | + 92 | | null | | | + 96 | | null | | | + 103 | | null | | | + 116 | | null | | | + 120 | | null | | | + 122 | | null | | | + 128 | | null | | | + 135 | | null | | | + 155 | | null | | | + 164 | | null | | | + 211 | | null | | | + 244 | | null | | | + 253 | | null | | | + 258 | | null | | | + 267 | | null | | | + 287 | | null | | | + 297 | | null | | | + 304 | | null | | | + 308 | | null | | | + 322 | | null | | | + 329 | | null | | | + 340 | | null | | | + 358 | | null | | | + 361 | | null | | | + 367 | | null | | | + 370 | | null | | | + 379 | | null | | | + 382 | | null | | | + 402 | | null | | | + 405 | | null | | | + 408 | | null | | | + 425 | | null | | | + 429 | | null | | | + 438 | | null | | | + 444 | | null | | | + 450 | | null | | | + 461 | | null | | | + 465 | | null | | | + 467 | | null | | | + 478 | | null | | | + 480 | | null | | | + 488 | | null | | | + 492 | | null | | | + 497 | | null | | | + 499 | | null | | | + 501 | | null | | | + 504 | | null | | | + 507 | | null | | | + 510 | | null | | | + 522 | | null | | | + 552 | | null | | | + 564 | | null | | | + 571 | | null | | | + 589 | | null | | | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 615 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 700 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 741 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | text | 38 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | + 743 | 5432:425:2ca1:31f4:2a11:567::/96 | blob | 17 | T2\x04%,1*\x11\x05g | 5432:0425:2ca1:31f4:2a11:0567:0000:0000/96 + 744 | 5432:425:2ca1:31f4:2a11:500::/88 | blob | 17 | T2\x04%,1*\x11\x05 | 5432:0425:2ca1:31f4:2a11:0500:0000:0000/88 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 +(647 rows) + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +ERROR: Failed to execute remote SQL +HINT: SQLite error 'UNIQUE constraint failed: type_INETpk.col', SQLite primary result code 19, extended result code 1555 +CONTEXT: SQL query: INSERT INTO main."type_INETpk"(`col`) VALUES (?) +--Testcase 212: +SELECT * FROM "type_INETpk"; + col +--------------- + 28.117.109.25 + 28.117.109.25 + 28.117.109.25 +(3 rows) + +--Testcase 213: +DELETE FROM "type_INETpk"; +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; +NOTICE: drop cascades to 5 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table "type_INET" +drop cascades to foreign table "type_INET+" +drop cascades to foreign table "type_INETpk" +drop cascades to server sqlite2 diff --git a/expected/14.12/with_gis_support/type.out b/expected/14.12/with_gis_support/type.out index 619bb46e..cfb2d40c 100644 --- a/expected/14.12/with_gis_support/type.out +++ b/expected/14.12/with_gis_support/type.out @@ -535,3 +535,64 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; +<<<<<<< HEAD:expected/14.12/with_gis_support/type.out +======= +NOTICE: drop cascades to 57 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table department +drop cascades to foreign table employee +drop cascades to foreign table empdata +drop cascades to foreign table numbers +drop cascades to foreign table t +drop cascades to foreign table multiprimary +drop cascades to foreign table columntest +drop cascades to foreign table noprimary +drop cascades to foreign table limittest +drop cascades to foreign table grem1_1 +drop cascades to foreign table grem1_2 +drop cascades to foreign table case_exp +drop cascades to foreign table "type_STRING" +drop cascades to foreign table "type_BOOLEANpk" +drop cascades to foreign table "type_BYTE" +drop cascades to foreign table "type_SINT" +drop cascades to foreign table "type_BINT" +drop cascades to foreign table "type_INTEGER" +drop cascades to foreign table "type_FLOAT" +drop cascades to foreign table "type_DOUBLE" +drop cascades to foreign table "type_TIMESTAMP" +drop cascades to foreign table "type_BLOB" +drop cascades to foreign table "type_DATE" +drop cascades to foreign table "type_TIME" +drop cascades to foreign table "type_BIT" +drop cascades to foreign table "type_VARBIT" +drop cascades to foreign table "type_UUIDpk" +drop cascades to foreign table "type_UUID" +drop cascades to foreign table "type_MACADDRpk" +drop cascades to foreign table "type_MACADDR" +drop cascades to foreign table "type_MACADDR8pk" +drop cascades to foreign table "type_MACADDR8" +drop cascades to foreign table "type_INETpk" +drop cascades to foreign table "type_INET" +drop cascades to foreign table "types_PostGIS" +drop cascades to foreign table "BitT" +drop cascades to foreign table notype +drop cascades to foreign table typetest +drop cascades to foreign table "type_TEXT" +drop cascades to foreign table alltypetest +drop cascades to foreign table shorty +drop cascades to foreign table "A a" +drop cascades to foreign table fts_table +drop cascades to foreign table fts_table_data +drop cascades to foreign table fts_table_idx +drop cascades to foreign table fts_table_content +drop cascades to foreign table fts_table_docsize +drop cascades to foreign table fts_table_config +drop cascades to foreign table "RO_RW_test" +drop cascades to foreign table "Unicode data" +drop cascades to foreign table "type_BOOLEAN_oper" +drop cascades to foreign table "♁" +drop cascades to foreign table "♂" +drop cascades to foreign table type_json +drop cascades to foreign table "type_BOOLEAN" +drop cascades to server sqlite2 +>>>>>>> 8f05c67 (Initial inet data type implementation):expected/13.15/type_nogis.out diff --git a/expected/14.12/without_gis_support/auto_import.out b/expected/14.12/without_gis_support/auto_import.out index 4c399770..7a55c435 100644 --- a/expected/14.12/without_gis_support/auto_import.out +++ b/expected/14.12/without_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/15.7/types/inet.out b/expected/15.7/types/inet.out new file mode 100644 index 00000000..eb33a738 --- /dev/null +++ b/expected/15.7/types/inet.out @@ -0,0 +1,2264 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; + QUERY PLAN +------------------------------------------------------------------------------------------------------------ + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" +(3 rows) + +--Testcase 015: +SELECT * FROM "type_INET+"; + i | ip | t | l | tx | ip_text +-----+-------------------------------+---------+----+---------------+--------------------------------------------- + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 10 | | null | | | + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 14 | | null | | | + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 20 | | null | | | + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 28 | | null | | | + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 36 | | null | | | + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 42 | | null | | | + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 55 | | null | | | + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 69 | | null | | | + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 80 | | null | | | + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 83 | | null | | | + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 86 | | null | | | + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 92 | | null | | | + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 96 | | null | | | + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 103 | | null | | | + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 116 | | null | | | + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 120 | | null | | | + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 122 | | null | | | + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 128 | | null | | | + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 135 | | null | | | + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 155 | | null | | | + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 164 | | null | | | + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 211 | | null | | | + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 244 | | null | | | + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 253 | | null | | | + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 258 | | null | | | + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 267 | | null | | | + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 287 | | null | | | + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 297 | | null | | | + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 304 | | null | | | + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 308 | | null | | | + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 322 | | null | | | + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 329 | | null | | | + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 340 | | null | | | + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 358 | | null | | | + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 361 | | null | | | + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 367 | | null | | | + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 370 | | null | | | + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 379 | | null | | | + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 382 | | null | | | + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 402 | | null | | | + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 405 | | null | | | + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 408 | | null | | | + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 425 | | null | | | + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 429 | | null | | | + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 438 | | null | | | + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 444 | | null | | | + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 450 | | null | | | + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 461 | | null | | | + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 465 | | null | | | + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 467 | | null | | | + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 478 | | null | | | + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 480 | | null | | | + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 488 | | null | | | + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 492 | | null | | | + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 497 | | null | | | + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 499 | | null | | | + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 501 | | null | | | + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 504 | | null | | | + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 507 | | null | | | + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 510 | | null | | | + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 522 | | null | | | + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 552 | | null | | | + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 564 | | null | | | + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 571 | | null | | | + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 589 | | null | | | + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 615 | 218.33.169.7 | integer | 10 | 3659639047 | 218.33.169.7 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 +(625 rows) + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); + QUERY PLAN +------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '205.48.101.94'::inet, NULL::integer +(4 rows) + +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 700)) +(3 rows) + +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + i | ip | t | l | tx | ip_text +-----+--------------------+------+----+-------------------+-------------------- + 700 | 218.33.169.7 | text | 12 | 218.33.169.7 | + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 +(4 rows) + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.7'::inet, 710 +(4 rows) + +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.8'::inet, 711 +(4 rows) + +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.9'::inet, 712 +(4 rows) + +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.10'::inet, 713 +(4 rows) + +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.11'::inet, 714 +(4 rows) + +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + ip | i +--------------+----- + 218.33.169.7 | 615 + 218.33.169.7 | 700 + 218.33.169.7 | 710 +(3 rows) + +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 710)) +(3 rows) + +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+---------------+--------------- + 710 | 218.33.169.7 | blob | 4 | !\x07 | 218.33.169.7 + 711 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 712 | 218.33.169.9 | integer | 10 | 3659639049 | 218.33.169.9 + 713 | 218.33.169.10 | text | 13 | 218.33.169.10 | + 714 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 +(5 rows) + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.0/29'::inet, 720 +(4 rows) + +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '219.33.168.0/24'::inet, 721 +(4 rows) + +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '220.33.1.0/17'::inet, 722 +(4 rows) + +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '221.32.0.0/12'::inet, 723 +(4 rows) + +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); + QUERY PLAN +------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '222.0.0.0/7'::inet, 724 +(4 rows) + +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da00000007')) +(3 rows) + +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + ip | i +----+--- +(0 rows) + +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 720)) +(3 rows) + +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + i | ip | t | l | tx | ip_text +-----+-----------------+---------+----+---------------+----------------- + 720 | 218.33.169.0/29 | blob | 5 | ! | 218.33.169.0/29 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.1.0/17 | integer | 11 | 76707594496 | 220.33.1.0/17 + 723 | 221.32.0.0/12 | text | 13 | 221.32.0.0/12 | + 724 | 222.0.0.0/7 | integer | 11 | 33789313024 | 222.0.0.0/7 +(5 rows) + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'da21a90c' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90b')) +(3 rows) + +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a90b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90a')) +(3 rows) + +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'da21a90a') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a909')) +(3 rows) + +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'da21a909') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a908')) +(3 rows) + +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a908') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+--------------+--------------- + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 +(5 rows) + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'de00000006' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'de00000007')) +(3 rows) + +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'dd2000000b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dd2000000c')) +(3 rows) + +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'dc21000010') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dc21010011')) +(3 rows) + +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'db21a00017') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'db21a90018')) +(3 rows) + +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a9201c') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a9001d')) +(3 rows) + +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b7'::inet, 730 +(4 rows) + +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b8'::inet, 731 +(4 rows) + +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b9'::inet, 732 +(4 rows) + +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c0'::inet, 733 +(4 rows) + +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c1'::inet, 734 +(4 rows) + +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + ip | i +---------------------------------------+----- + 2345:425:2ca1:31f4:2a11:567:5673:23b7 | 730 +(1 row) + +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 730)) +(3 rows) + +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b7 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b7 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 +(4 rows) + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); + QUERY PLAN +------------------------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:2300/120'::inet, 740 +(4 rows) + +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:0/112'::inet, 741 +(4 rows) + +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5600:0/104'::inet, 742 +(4 rows) + +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567::/96'::inet, 743 +(4 rows) + +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:500::/88'::inet, 744 +(4 rows) + +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + ip | i +----------------------------------+----- + 2345:425:2ca1:31f4:2a11:500::/88 | 744 +(1 row) + +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 740)) +(3 rows) + +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+------+----+----------------------------------+--------------------------------------------- + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 741 | 2345:425:2ca1:31f4:2a11:567:5673:0/112 | blob | 17 | #E\x04%,1*\x11\x05gVs | 2345:0425:2ca1:31f4:2a11:0567:5673:0000/112 + 743 | 2345:425:2ca1:31f4:2a11:567::/96 | text | 32 | 2345:425:2ca1:31f4:2a11:567::/96 | + 744 | 2345:425:2ca1:31f4:2a11:500::/88 | blob | 17 | #E\x04%,1*\x11\x05 | 2345:0425:2ca1:31f4:2a11:0500:0000:0000/88 +(4 rows) + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'234504252ca131f42a110567567323c2' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c1')) +(3 rows) + +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323c1') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c0')) +(3 rows) + +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'234504252ca131f42a110567567323c0') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b9')) +(3 rows) + +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'234504252ca131f42a110567567323b9') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b8')) +(3 rows) + +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323b8') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'543204252ca131f42a1105000000000058' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105670000000060') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105670000000060')) +(3 rows) + +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'543204252ca131f42a1105675600000068') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675600000068')) +(3 rows) + +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'543204252ca131f42a1105675673000070') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673000070')) +(3 rows) + +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105675673230078') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673230078')) +(3 rows) + +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 +(4 rows) + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'15d2c54d')) +(3 rows) + +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) ASC NULLS LAST +(3 rows) + +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) DESC NULLS FIRST +(3 rows) + +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+---------+----+----------------------------------------+--------------------------------------------- + 10 | | null | | | + 14 | | null | | | + 20 | | null | | | + 28 | | null | | | + 36 | | null | | | + 42 | | null | | | + 55 | | null | | | + 69 | | null | | | + 80 | | null | | | + 83 | | null | | | + 86 | | null | | | + 92 | | null | | | + 96 | | null | | | + 103 | | null | | | + 116 | | null | | | + 120 | | null | | | + 122 | | null | | | + 128 | | null | | | + 135 | | null | | | + 155 | | null | | | + 164 | | null | | | + 211 | | null | | | + 244 | | null | | | + 253 | | null | | | + 258 | | null | | | + 267 | | null | | | + 287 | | null | | | + 297 | | null | | | + 304 | | null | | | + 308 | | null | | | + 322 | | null | | | + 329 | | null | | | + 340 | | null | | | + 358 | | null | | | + 361 | | null | | | + 367 | | null | | | + 370 | | null | | | + 379 | | null | | | + 382 | | null | | | + 402 | | null | | | + 405 | | null | | | + 408 | | null | | | + 425 | | null | | | + 429 | | null | | | + 438 | | null | | | + 444 | | null | | | + 450 | | null | | | + 461 | | null | | | + 465 | | null | | | + 467 | | null | | | + 478 | | null | | | + 480 | | null | | | + 488 | | null | | | + 492 | | null | | | + 497 | | null | | | + 499 | | null | | | + 501 | | null | | | + 504 | | null | | | + 507 | | null | | | + 510 | | null | | | + 522 | | null | | | + 552 | | null | | | + 564 | | null | | | + 571 | | null | | | + 589 | | null | | | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 615 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 700 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 741 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | text | 38 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | + 743 | 5432:425:2ca1:31f4:2a11:567::/96 | blob | 17 | T2\x04%,1*\x11\x05g | 5432:0425:2ca1:31f4:2a11:0567:0000:0000/96 + 744 | 5432:425:2ca1:31f4:2a11:500::/88 | blob | 17 | T2\x04%,1*\x11\x05 | 5432:0425:2ca1:31f4:2a11:0500:0000:0000/88 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 +(647 rows) + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +ERROR: Failed to execute remote SQL +HINT: SQLite error 'UNIQUE constraint failed: type_INETpk.col', SQLite primary result code 19, extended result code 1555 +CONTEXT: SQL query: INSERT INTO main."type_INETpk"(`col`) VALUES (?) +--Testcase 212: +SELECT * FROM "type_INETpk"; + col +--------------- + 28.117.109.25 + 28.117.109.25 + 28.117.109.25 +(3 rows) + +--Testcase 213: +DELETE FROM "type_INETpk"; +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; +NOTICE: drop cascades to 5 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table "type_INET" +drop cascades to foreign table "type_INET+" +drop cascades to foreign table "type_INETpk" +drop cascades to server sqlite2 diff --git a/expected/15.7/with_gis_support/type.out b/expected/15.7/with_gis_support/type.out index 619bb46e..b6664da1 100644 --- a/expected/15.7/with_gis_support/type.out +++ b/expected/15.7/with_gis_support/type.out @@ -535,3 +535,64 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; +<<<<<<< HEAD:expected/15.7/with_gis_support/type.out +======= +NOTICE: drop cascades to 57 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table department +drop cascades to foreign table employee +drop cascades to foreign table empdata +drop cascades to foreign table numbers +drop cascades to foreign table t +drop cascades to foreign table multiprimary +drop cascades to foreign table columntest +drop cascades to foreign table noprimary +drop cascades to foreign table limittest +drop cascades to foreign table grem1_1 +drop cascades to foreign table grem1_2 +drop cascades to foreign table case_exp +drop cascades to foreign table "type_STRING" +drop cascades to foreign table "type_BOOLEANpk" +drop cascades to foreign table "type_BYTE" +drop cascades to foreign table "type_SINT" +drop cascades to foreign table "type_BINT" +drop cascades to foreign table "type_INTEGER" +drop cascades to foreign table "type_FLOAT" +drop cascades to foreign table "type_DOUBLE" +drop cascades to foreign table "type_TIMESTAMP" +drop cascades to foreign table "type_BLOB" +drop cascades to foreign table "type_DATE" +drop cascades to foreign table "type_TIME" +drop cascades to foreign table "type_BIT" +drop cascades to foreign table "type_VARBIT" +drop cascades to foreign table "type_UUIDpk" +drop cascades to foreign table "type_UUID" +drop cascades to foreign table "type_MACADDRpk" +drop cascades to foreign table "type_MACADDR" +drop cascades to foreign table "type_MACADDR8pk" +drop cascades to foreign table "type_MACADDR8" +drop cascades to foreign table "type_INETpk" +drop cascades to foreign table "type_INET" +drop cascades to foreign table "types_PostGIS" +drop cascades to foreign table "BitT" +drop cascades to foreign table notype +drop cascades to foreign table typetest +drop cascades to foreign table "type_TEXT" +drop cascades to foreign table alltypetest +drop cascades to foreign table shorty +drop cascades to foreign table "A a" +drop cascades to foreign table fts_table +drop cascades to foreign table fts_table_data +drop cascades to foreign table fts_table_idx +drop cascades to foreign table fts_table_content +drop cascades to foreign table fts_table_docsize +drop cascades to foreign table fts_table_config +drop cascades to foreign table "RO_RW_test" +drop cascades to foreign table "Unicode data" +drop cascades to foreign table "type_BOOLEAN_oper" +drop cascades to foreign table "♁" +drop cascades to foreign table "♂" +drop cascades to foreign table type_json +drop cascades to foreign table "type_BOOLEAN" +drop cascades to server sqlite2 +>>>>>>> 8f05c67 (Initial inet data type implementation):expected/16.3/type_nogis.out diff --git a/expected/15.7/without_gis_support/auto_import.out b/expected/15.7/without_gis_support/auto_import.out index 4c399770..7a55c435 100644 --- a/expected/15.7/without_gis_support/auto_import.out +++ b/expected/15.7/without_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/16.3/types/inet.out b/expected/16.3/types/inet.out new file mode 100644 index 00000000..eb33a738 --- /dev/null +++ b/expected/16.3/types/inet.out @@ -0,0 +1,2264 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; + QUERY PLAN +------------------------------------------------------------------------------------------------------------ + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" +(3 rows) + +--Testcase 015: +SELECT * FROM "type_INET+"; + i | ip | t | l | tx | ip_text +-----+-------------------------------+---------+----+---------------+--------------------------------------------- + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 10 | | null | | | + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 14 | | null | | | + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 20 | | null | | | + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 28 | | null | | | + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 36 | | null | | | + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 42 | | null | | | + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 55 | | null | | | + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 69 | | null | | | + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 80 | | null | | | + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 83 | | null | | | + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 86 | | null | | | + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 92 | | null | | | + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 96 | | null | | | + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 103 | | null | | | + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 116 | | null | | | + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 120 | | null | | | + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 122 | | null | | | + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 128 | | null | | | + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 135 | | null | | | + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 155 | | null | | | + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 164 | | null | | | + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 211 | | null | | | + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 244 | | null | | | + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 253 | | null | | | + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 258 | | null | | | + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 267 | | null | | | + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 287 | | null | | | + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 297 | | null | | | + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 304 | | null | | | + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 308 | | null | | | + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 322 | | null | | | + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 329 | | null | | | + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 340 | | null | | | + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 358 | | null | | | + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 361 | | null | | | + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 367 | | null | | | + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 370 | | null | | | + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 379 | | null | | | + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 382 | | null | | | + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 402 | | null | | | + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 405 | | null | | | + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 408 | | null | | | + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 425 | | null | | | + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 429 | | null | | | + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 438 | | null | | | + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 444 | | null | | | + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 450 | | null | | | + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 461 | | null | | | + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 465 | | null | | | + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 467 | | null | | | + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 478 | | null | | | + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 480 | | null | | | + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 488 | | null | | | + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 492 | | null | | | + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 497 | | null | | | + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 499 | | null | | | + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 501 | | null | | | + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 504 | | null | | | + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 507 | | null | | | + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 510 | | null | | | + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 522 | | null | | | + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 552 | | null | | | + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 564 | | null | | | + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 571 | | null | | | + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 589 | | null | | | + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 615 | 218.33.169.7 | integer | 10 | 3659639047 | 218.33.169.7 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 +(625 rows) + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); + QUERY PLAN +------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '205.48.101.94'::inet, NULL::integer +(4 rows) + +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 700)) +(3 rows) + +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + i | ip | t | l | tx | ip_text +-----+--------------------+------+----+-------------------+-------------------- + 700 | 218.33.169.7 | text | 12 | 218.33.169.7 | + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 +(4 rows) + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.7'::inet, 710 +(4 rows) + +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.8'::inet, 711 +(4 rows) + +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.9'::inet, 712 +(4 rows) + +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.10'::inet, 713 +(4 rows) + +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.11'::inet, 714 +(4 rows) + +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + ip | i +--------------+----- + 218.33.169.7 | 615 + 218.33.169.7 | 700 + 218.33.169.7 | 710 +(3 rows) + +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 710)) +(3 rows) + +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+---------------+--------------- + 710 | 218.33.169.7 | blob | 4 | !\x07 | 218.33.169.7 + 711 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 712 | 218.33.169.9 | integer | 10 | 3659639049 | 218.33.169.9 + 713 | 218.33.169.10 | text | 13 | 218.33.169.10 | + 714 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 +(5 rows) + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.0/29'::inet, 720 +(4 rows) + +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '219.33.168.0/24'::inet, 721 +(4 rows) + +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '220.33.1.0/17'::inet, 722 +(4 rows) + +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '221.32.0.0/12'::inet, 723 +(4 rows) + +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); + QUERY PLAN +------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '222.0.0.0/7'::inet, 724 +(4 rows) + +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da00000007')) +(3 rows) + +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + ip | i +----+--- +(0 rows) + +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 720)) +(3 rows) + +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + i | ip | t | l | tx | ip_text +-----+-----------------+---------+----+---------------+----------------- + 720 | 218.33.169.0/29 | blob | 5 | ! | 218.33.169.0/29 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.1.0/17 | integer | 11 | 76707594496 | 220.33.1.0/17 + 723 | 221.32.0.0/12 | text | 13 | 221.32.0.0/12 | + 724 | 222.0.0.0/7 | integer | 11 | 33789313024 | 222.0.0.0/7 +(5 rows) + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'da21a90c' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90b')) +(3 rows) + +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a90b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90a')) +(3 rows) + +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'da21a90a') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a909')) +(3 rows) + +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'da21a909') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a908')) +(3 rows) + +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a908') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+--------------+--------------- + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 +(5 rows) + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'de00000006' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'de00000007')) +(3 rows) + +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'dd2000000b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dd2000000c')) +(3 rows) + +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'dc21000010') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dc21010011')) +(3 rows) + +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'db21a00017') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'db21a90018')) +(3 rows) + +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a9201c') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a9001d')) +(3 rows) + +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b7'::inet, 730 +(4 rows) + +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b8'::inet, 731 +(4 rows) + +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b9'::inet, 732 +(4 rows) + +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c0'::inet, 733 +(4 rows) + +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c1'::inet, 734 +(4 rows) + +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + ip | i +---------------------------------------+----- + 2345:425:2ca1:31f4:2a11:567:5673:23b7 | 730 +(1 row) + +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 730)) +(3 rows) + +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b7 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b7 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 +(4 rows) + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); + QUERY PLAN +------------------------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:2300/120'::inet, 740 +(4 rows) + +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:0/112'::inet, 741 +(4 rows) + +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5600:0/104'::inet, 742 +(4 rows) + +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567::/96'::inet, 743 +(4 rows) + +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:500::/88'::inet, 744 +(4 rows) + +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + ip | i +----------------------------------+----- + 2345:425:2ca1:31f4:2a11:500::/88 | 744 +(1 row) + +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 740)) +(3 rows) + +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+------+----+----------------------------------+--------------------------------------------- + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 741 | 2345:425:2ca1:31f4:2a11:567:5673:0/112 | blob | 17 | #E\x04%,1*\x11\x05gVs | 2345:0425:2ca1:31f4:2a11:0567:5673:0000/112 + 743 | 2345:425:2ca1:31f4:2a11:567::/96 | text | 32 | 2345:425:2ca1:31f4:2a11:567::/96 | + 744 | 2345:425:2ca1:31f4:2a11:500::/88 | blob | 17 | #E\x04%,1*\x11\x05 | 2345:0425:2ca1:31f4:2a11:0500:0000:0000/88 +(4 rows) + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'234504252ca131f42a110567567323c2' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c1')) +(3 rows) + +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323c1') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c0')) +(3 rows) + +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'234504252ca131f42a110567567323c0') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b9')) +(3 rows) + +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'234504252ca131f42a110567567323b9') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b8')) +(3 rows) + +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323b8') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'543204252ca131f42a1105000000000058' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105670000000060') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105670000000060')) +(3 rows) + +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'543204252ca131f42a1105675600000068') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675600000068')) +(3 rows) + +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'543204252ca131f42a1105675673000070') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673000070')) +(3 rows) + +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105675673230078') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673230078')) +(3 rows) + +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 +(4 rows) + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'15d2c54d')) +(3 rows) + +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) ASC NULLS LAST +(3 rows) + +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) DESC NULLS FIRST +(3 rows) + +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+---------+----+----------------------------------------+--------------------------------------------- + 10 | | null | | | + 14 | | null | | | + 20 | | null | | | + 28 | | null | | | + 36 | | null | | | + 42 | | null | | | + 55 | | null | | | + 69 | | null | | | + 80 | | null | | | + 83 | | null | | | + 86 | | null | | | + 92 | | null | | | + 96 | | null | | | + 103 | | null | | | + 116 | | null | | | + 120 | | null | | | + 122 | | null | | | + 128 | | null | | | + 135 | | null | | | + 155 | | null | | | + 164 | | null | | | + 211 | | null | | | + 244 | | null | | | + 253 | | null | | | + 258 | | null | | | + 267 | | null | | | + 287 | | null | | | + 297 | | null | | | + 304 | | null | | | + 308 | | null | | | + 322 | | null | | | + 329 | | null | | | + 340 | | null | | | + 358 | | null | | | + 361 | | null | | | + 367 | | null | | | + 370 | | null | | | + 379 | | null | | | + 382 | | null | | | + 402 | | null | | | + 405 | | null | | | + 408 | | null | | | + 425 | | null | | | + 429 | | null | | | + 438 | | null | | | + 444 | | null | | | + 450 | | null | | | + 461 | | null | | | + 465 | | null | | | + 467 | | null | | | + 478 | | null | | | + 480 | | null | | | + 488 | | null | | | + 492 | | null | | | + 497 | | null | | | + 499 | | null | | | + 501 | | null | | | + 504 | | null | | | + 507 | | null | | | + 510 | | null | | | + 522 | | null | | | + 552 | | null | | | + 564 | | null | | | + 571 | | null | | | + 589 | | null | | | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 615 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 700 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 741 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | text | 38 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | + 743 | 5432:425:2ca1:31f4:2a11:567::/96 | blob | 17 | T2\x04%,1*\x11\x05g | 5432:0425:2ca1:31f4:2a11:0567:0000:0000/96 + 744 | 5432:425:2ca1:31f4:2a11:500::/88 | blob | 17 | T2\x04%,1*\x11\x05 | 5432:0425:2ca1:31f4:2a11:0500:0000:0000/88 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 +(647 rows) + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +ERROR: Failed to execute remote SQL +HINT: SQLite error 'UNIQUE constraint failed: type_INETpk.col', SQLite primary result code 19, extended result code 1555 +CONTEXT: SQL query: INSERT INTO main."type_INETpk"(`col`) VALUES (?) +--Testcase 212: +SELECT * FROM "type_INETpk"; + col +--------------- + 28.117.109.25 + 28.117.109.25 + 28.117.109.25 +(3 rows) + +--Testcase 213: +DELETE FROM "type_INETpk"; +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; +NOTICE: drop cascades to 5 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table "type_INET" +drop cascades to foreign table "type_INET+" +drop cascades to foreign table "type_INETpk" +drop cascades to server sqlite2 diff --git a/expected/16.3/with_gis_support/auto_import.out b/expected/16.3/with_gis_support/auto_import.out index 95055559..7a55c435 100644 --- a/expected/16.3/with_gis_support/auto_import.out +++ b/expected/16.3/with_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/16.3/with_gis_support/type.out b/expected/16.3/with_gis_support/type.out index 619bb46e..2ff00057 100644 --- a/expected/16.3/with_gis_support/type.out +++ b/expected/16.3/with_gis_support/type.out @@ -535,3 +535,64 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; +<<<<<<< HEAD:expected/16.3/with_gis_support/type.out +======= +NOTICE: drop cascades to 57 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table department +drop cascades to foreign table employee +drop cascades to foreign table empdata +drop cascades to foreign table numbers +drop cascades to foreign table t +drop cascades to foreign table multiprimary +drop cascades to foreign table columntest +drop cascades to foreign table noprimary +drop cascades to foreign table limittest +drop cascades to foreign table grem1_1 +drop cascades to foreign table grem1_2 +drop cascades to foreign table case_exp +drop cascades to foreign table "type_STRING" +drop cascades to foreign table "type_BOOLEANpk" +drop cascades to foreign table "type_BYTE" +drop cascades to foreign table "type_SINT" +drop cascades to foreign table "type_BINT" +drop cascades to foreign table "type_INTEGER" +drop cascades to foreign table "type_FLOAT" +drop cascades to foreign table "type_DOUBLE" +drop cascades to foreign table "type_TIMESTAMP" +drop cascades to foreign table "type_BLOB" +drop cascades to foreign table "type_DATE" +drop cascades to foreign table "type_TIME" +drop cascades to foreign table "type_BIT" +drop cascades to foreign table "type_VARBIT" +drop cascades to foreign table "type_UUIDpk" +drop cascades to foreign table "type_UUID" +drop cascades to foreign table "type_MACADDRpk" +drop cascades to foreign table "type_MACADDR" +drop cascades to foreign table "type_MACADDR8pk" +drop cascades to foreign table "type_MACADDR8" +drop cascades to foreign table "type_INETpk" +drop cascades to foreign table "type_INET" +drop cascades to foreign table "types_PostGIS" +drop cascades to foreign table "BitT" +drop cascades to foreign table notype +drop cascades to foreign table typetest +drop cascades to foreign table "type_TEXT" +drop cascades to foreign table alltypetest +drop cascades to foreign table shorty +drop cascades to foreign table "A a" +drop cascades to foreign table fts_table +drop cascades to foreign table fts_table_data +drop cascades to foreign table fts_table_idx +drop cascades to foreign table fts_table_content +drop cascades to foreign table fts_table_docsize +drop cascades to foreign table fts_table_config +drop cascades to foreign table "RO_RW_test" +drop cascades to foreign table "Unicode data" +drop cascades to foreign table "type_BOOLEAN_oper" +drop cascades to foreign table "♁" +drop cascades to foreign table "♂" +drop cascades to foreign table type_json +drop cascades to foreign table "type_BOOLEAN" +drop cascades to server sqlite2 +>>>>>>> 8f05c67 (Initial inet data type implementation):expected/15.7/type_nogis.out diff --git a/expected/16.3/without_gis_support/auto_import.out b/expected/16.3/without_gis_support/auto_import.out index 4c399770..7a55c435 100644 --- a/expected/16.3/without_gis_support/auto_import.out +++ b/expected/16.3/without_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/17.0/types/inet.out b/expected/17.0/types/inet.out new file mode 100644 index 00000000..eb33a738 --- /dev/null +++ b/expected/17.0/types/inet.out @@ -0,0 +1,2264 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; + QUERY PLAN +------------------------------------------------------------------------------------------------------------ + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" +(3 rows) + +--Testcase 015: +SELECT * FROM "type_INET+"; + i | ip | t | l | tx | ip_text +-----+-------------------------------+---------+----+---------------+--------------------------------------------- + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 10 | | null | | | + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 14 | | null | | | + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 20 | | null | | | + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 28 | | null | | | + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 36 | | null | | | + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 42 | | null | | | + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 55 | | null | | | + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 69 | | null | | | + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 80 | | null | | | + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 83 | | null | | | + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 86 | | null | | | + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 92 | | null | | | + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 96 | | null | | | + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 103 | | null | | | + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 116 | | null | | | + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 120 | | null | | | + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 122 | | null | | | + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 128 | | null | | | + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 135 | | null | | | + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 155 | | null | | | + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 164 | | null | | | + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 211 | | null | | | + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 244 | | null | | | + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 253 | | null | | | + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 258 | | null | | | + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 267 | | null | | | + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 287 | | null | | | + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 297 | | null | | | + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 304 | | null | | | + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 308 | | null | | | + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 322 | | null | | | + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 329 | | null | | | + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 340 | | null | | | + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 358 | | null | | | + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 361 | | null | | | + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 367 | | null | | | + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 370 | | null | | | + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 379 | | null | | | + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 382 | | null | | | + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 402 | | null | | | + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 405 | | null | | | + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 408 | | null | | | + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 425 | | null | | | + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 429 | | null | | | + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 438 | | null | | | + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 444 | | null | | | + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 450 | | null | | | + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 461 | | null | | | + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 465 | | null | | | + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 467 | | null | | | + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 478 | | null | | | + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 480 | | null | | | + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 488 | | null | | | + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 492 | | null | | | + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 497 | | null | | | + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 499 | | null | | | + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 501 | | null | | | + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 504 | | null | | | + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 507 | | null | | | + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 510 | | null | | | + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 522 | | null | | | + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 552 | | null | | | + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 564 | | null | | | + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 571 | | null | | | + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 589 | | null | | | + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 615 | 218.33.169.7 | integer | 10 | 3659639047 | 218.33.169.7 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 +(625 rows) + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); + QUERY PLAN +------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '205.48.101.94'::inet, NULL::integer +(4 rows) + +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 700)) +(3 rows) + +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + i | ip | t | l | tx | ip_text +-----+--------------------+------+----+-------------------+-------------------- + 700 | 218.33.169.7 | text | 12 | 218.33.169.7 | + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 +(4 rows) + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.7'::inet, 710 +(4 rows) + +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.8'::inet, 711 +(4 rows) + +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); + QUERY PLAN +------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.9'::inet, 712 +(4 rows) + +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.10'::inet, 713 +(4 rows) + +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.11'::inet, 714 +(4 rows) + +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; + ip | i +--------------+----- + 218.33.169.7 | 615 + 218.33.169.7 | 700 + 218.33.169.7 | 710 +(3 rows) + +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 710)) +(3 rows) + +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+---------------+--------------- + 710 | 218.33.169.7 | blob | 4 | !\x07 | 218.33.169.7 + 711 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 712 | 218.33.169.9 | integer | 10 | 3659639049 | 218.33.169.9 + 713 | 218.33.169.10 | text | 13 | 218.33.169.10 | + 714 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 +(5 rows) + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '218.33.169.0/29'::inet, 720 +(4 rows) + +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); + QUERY PLAN +---------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '219.33.168.0/24'::inet, 721 +(4 rows) + +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '220.33.1.0/17'::inet, 722 +(4 rows) + +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); + QUERY PLAN +-------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '221.32.0.0/12'::inet, 723 +(4 rows) + +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); + QUERY PLAN +------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '222.0.0.0/7'::inet, 724 +(4 rows) + +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da00000007')) +(3 rows) + +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; + ip | i +----+--- +(0 rows) + +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 720)) +(3 rows) + +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + i | ip | t | l | tx | ip_text +-----+-----------------+---------+----+---------------+----------------- + 720 | 218.33.169.0/29 | blob | 5 | ! | 218.33.169.0/29 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.1.0/17 | integer | 11 | 76707594496 | 220.33.1.0/17 + 723 | 221.32.0.0/12 | text | 13 | 221.32.0.0/12 | + 724 | 222.0.0.0/7 | integer | 11 | 33789313024 | 222.0.0.0/7 +(5 rows) + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'da21a90c' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90b')) +(3 rows) + +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a90b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a90a')) +(3 rows) + +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'da21a90a') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a909')) +(3 rows) + +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'da21a909') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a908')) +(3 rows) + +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a908') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a907')) +(3 rows) + +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + i | ip | t | l | tx | ip_text +-----+---------------+---------+----+--------------+--------------- + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 +(5 rows) + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'de00000006' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'de00000007')) +(3 rows) + +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'dd2000000b') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dd2000000c')) +(3 rows) + +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'dc21000010') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'dc21010011')) +(3 rows) + +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'db21a00017') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'db21a90018')) +(3 rows) + +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'da21a9201c') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'da21a9001d')) +(3 rows) + +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b7'::inet, 730 +(4 rows) + +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b8'::inet, 731 +(4 rows) + +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23b9'::inet, 732 +(4 rows) + +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c0'::inet, 733 +(4 rows) + +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); + QUERY PLAN +-------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:23c1'::inet, 734 +(4 rows) + +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; + ip | i +---------------------------------------+----- + 2345:425:2ca1:31f4:2a11:567:5673:23b7 | 730 +(1 row) + +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 730)) +(3 rows) + +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b7 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b7 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23c0 | + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 +(4 rows) + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); + QUERY PLAN +------------------------------------------------------------------------ + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:2300/120'::inet, 740 +(4 rows) + +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5673:0/112'::inet, 741 +(4 rows) + +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); + QUERY PLAN +--------------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567:5600:0/104'::inet, 742 +(4 rows) + +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +ERROR: unable to use with integer affinity +DETAIL: Only IP v4 values can be used with integer affinity. +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:567::/96'::inet, 743 +(4 rows) + +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); + QUERY PLAN +--------------------------------------------------------------- + Insert on public."type_INET" + Batch Size: 1 + -> Result + Output: '2345:425:2ca1:31f4:2a11:500::/88'::inet, 744 +(4 rows) + +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET" + Output: ip, i + SQLite query: SELECT sqlite_fdw_ipaddr_blob(`ip`), `i` FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; + ip | i +----------------------------------+----- + 2345:425:2ca1:31f4:2a11:500::/88 | 744 +(1 row) + +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" WHERE ((`i` >= 740)) +(3 rows) + +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+------+----+----------------------------------+--------------------------------------------- + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 741 | 2345:425:2ca1:31f4:2a11:567:5673:0/112 | blob | 17 | #E\x04%,1*\x11\x05gVs | 2345:0425:2ca1:31f4:2a11:0567:5673:0000/112 + 743 | 2345:425:2ca1:31f4:2a11:567::/96 | text | 32 | 2345:425:2ca1:31f4:2a11:567::/96 | + 744 | 2345:425:2ca1:31f4:2a11:500::/88 | blob | 17 | #E\x04%,1*\x11\x05 | 2345:0425:2ca1:31f4:2a11:0500:0000:0000/88 +(4 rows) + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'234504252ca131f42a110567567323c2' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c1')) +(3 rows) + +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323c1') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323c0')) +(3 rows) + +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'234504252ca131f42a110567567323c0') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b9')) +(3 rows) + +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; + QUERY PLAN +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'234504252ca131f42a110567567323b9') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b8')) +(3 rows) + +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'234504252ca131f42a110567567323b8') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a110567567323b7')) +(3 rows) + +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + i | ip | t | l | tx | ip_text +-----+------------------+---------+----+--------------+------------------ + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 +(5 rows) + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = X'543204252ca131f42a1105000000000058' WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105000000000058')) +(3 rows) + +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105670000000060') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105670000000060')) +(3 rows) + +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_int(X'543204252ca131f42a1105675600000068') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675600000068')) +(3 rows) + +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_str(X'543204252ca131f42a1105675673000070') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673000070')) +(3 rows) + +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public."type_INET" + -> Foreign Update on public."type_INET" + SQLite query: UPDATE main."type_INET" SET `ip` = sqlite_fdw_ipaddr_native(X'543204252ca131f42a1105675673230078') WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'234504252ca131f42a1105675673230078')) +(3 rows) + +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + i | ip | t | l | tx | ip_text +-----+---------------------------------------+------+----+---------------------------------------+----------------------------------------- + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 +(4 rows) + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'15d2c54d')) +(3 rows) + +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + QUERY PLAN +--------------------------------------------------------------------------------------------------------- + Delete on public."type_INET" + -> Foreign Delete on public."type_INET" + SQLite query: DELETE FROM main."type_INET" WHERE ((sqlite_fdw_ipaddr_blob(`ip`) = X'383f3d72')) +(3 rows) + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; + QUERY PLAN +----------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) ASC NULLS LAST +(3 rows) + +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; + QUERY PLAN +------------------------------------------------------------------------------------------------------------------------------------------------------------------- + Foreign Scan on public."type_INET+" + Output: i, ip, t, l, tx, ip_text + SQLite query: SELECT `i`, sqlite_fdw_ipaddr_blob(`ip`), `t`, `l`, `tx`, `ip_text` FROM main."type_INET+" ORDER BY sqlite_fdw_ipaddr_blob(`ip`) DESC NULLS FIRST +(3 rows) + +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + i | ip | t | l | tx | ip_text +-----+-------------------------------------------+---------+----+----------------------------------------+--------------------------------------------- + 10 | | null | | | + 14 | | null | | | + 20 | | null | | | + 28 | | null | | | + 36 | | null | | | + 42 | | null | | | + 55 | | null | | | + 69 | | null | | | + 80 | | null | | | + 83 | | null | | | + 86 | | null | | | + 92 | | null | | | + 96 | | null | | | + 103 | | null | | | + 116 | | null | | | + 120 | | null | | | + 122 | | null | | | + 128 | | null | | | + 135 | | null | | | + 155 | | null | | | + 164 | | null | | | + 211 | | null | | | + 244 | | null | | | + 253 | | null | | | + 258 | | null | | | + 267 | | null | | | + 287 | | null | | | + 297 | | null | | | + 304 | | null | | | + 308 | | null | | | + 322 | | null | | | + 329 | | null | | | + 340 | | null | | | + 358 | | null | | | + 361 | | null | | | + 367 | | null | | | + 370 | | null | | | + 379 | | null | | | + 382 | | null | | | + 402 | | null | | | + 405 | | null | | | + 408 | | null | | | + 425 | | null | | | + 429 | | null | | | + 438 | | null | | | + 444 | | null | | | + 450 | | null | | | + 461 | | null | | | + 465 | | null | | | + 467 | | null | | | + 478 | | null | | | + 480 | | null | | | + 488 | | null | | | + 492 | | null | | | + 497 | | null | | | + 499 | | null | | | + 501 | | null | | | + 504 | | null | | | + 507 | | null | | | + 510 | | null | | | + 522 | | null | | | + 552 | | null | | | + 564 | | null | | | + 571 | | null | | | + 589 | | null | | | + 702 | 255.255.255.255 | blob | 4 | | 255.255.255.255 + 703 | 255.255.254.224/28 | blob | 5 | \x1C | 255.255.254.224/28 + 457 | 255.75.10.97 | integer | 10 | 4283107937 | 255.75.10.97 + 625 | ff01::1/21 | blob | 17 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001/21 + 624 | ff01::1 | blob | 16 | \x01 | ff01:0000:0000:0000:0000:0000:0000:0001 + 150 | 254.123.253.233 | integer | 10 | 4269538793 | 254.123.253.233 + 32 | 253.74.141.202 | integer | 10 | 4249521610 | 253.74.141.202 + 575 | 252.176.159.106 | integer | 10 | 4239433578 | 252.176.159.106 + 383 | 250.176.79.79 | integer | 10 | 4205858639 | 250.176.79.79 + 580 | 249.245.11.156 | integer | 10 | 4193586076 | 249.245.11.156 + 112 | 249.175.223.152 | integer | 10 | 4189052824 | 249.175.223.152 + 604 | 249.167.212.72 | integer | 10 | 4188525640 | 249.167.212.72 + 398 | 248.242.205.103 | integer | 10 | 4176661863 | 248.242.205.103 + 328 | 248.225.135.21 | integer | 10 | 4175529749 | 248.225.135.21 + 137 | 247.216.240.149 | integer | 10 | 4158189717 | 247.216.240.149 + 249 | 247.180.220.136 | integer | 10 | 4155825288 | 247.180.220.136 + 414 | 247.180.160.113 | integer | 10 | 4155809905 | 247.180.160.113 + 89 | 247.7.198.248 | integer | 10 | 4144482040 | 247.7.198.248 + 318 | 246.224.132.58 | integer | 10 | 4141909050 | 246.224.132.58 + 460 | 246.215.8.102 | integer | 10 | 4141287526 | 246.215.8.102 + 305 | 246.147.199.115 | integer | 10 | 4136879987 | 246.147.199.115 + 543 | 244.160.119.181 | integer | 10 | 4104157109 | 244.160.119.181 + 208 | 244.148.162.224 | integer | 10 | 4103381728 | 244.148.162.224 + 563 | 244.63.22.62 | integer | 10 | 4097775166 | 244.63.22.62 + 468 | 243.229.8.172 | integer | 10 | 4091873452 | 243.229.8.172 + 271 | 243.161.244.167 | integer | 10 | 4087477415 | 243.161.244.167 + 295 | 243.134.30.100 | integer | 10 | 4085653092 | 243.134.30.100 + 449 | 243.82.98.207 | integer | 10 | 4082262735 | 243.82.98.207 + 435 | 242.106.122.78 | integer | 10 | 4067064398 | 242.106.122.78 + 307 | 241.244.120.200 | integer | 10 | 4059330760 | 241.244.120.200 + 198 | 241.211.1.109 | integer | 10 | 4057137517 | 241.211.1.109 + 595 | 241.194.191.85 | integer | 10 | 4056072021 | 241.194.191.85 + 179 | 241.179.116.11 | integer | 10 | 4055069707 | 241.179.116.11 + 490 | 240.232.193.155 | integer | 10 | 4041785755 | 240.232.193.155 + 394 | 240.220.164.57 | integer | 10 | 4040991801 | 240.220.164.57 + 37 | 240.82.109.101 | integer | 10 | 4031933797 | 240.82.109.101 + 52 | 240.47.114.57 | integer | 10 | 4029641273 | 240.47.114.57 + 275 | 239.250.45.132 | integer | 10 | 4026150276 | 239.250.45.132 + 61 | 239.181.165.233 | integer | 10 | 4021659113 | 239.181.165.233 + 73 | 239.95.217.230 | integer | 10 | 4016036326 | 239.95.217.230 + 392 | 239.87.14.72 | integer | 10 | 4015459912 | 239.87.14.72 + 12 | 238.233.177.15 | integer | 10 | 4008292623 | 238.233.177.15 + 228 | 238.209.54.62 | integer | 10 | 4006688318 | 238.209.54.62 + 33 | 237.188.81.187 | integer | 10 | 3988541883 | 237.188.81.187 + 29 | 237.24.51.229 | integer | 10 | 3977786341 | 237.24.51.229 + 259 | 236.62.95.154 | integer | 10 | 3963510682 | 236.62.95.154 + 588 | 234.156.241.152 | integer | 10 | 3936154008 | 234.156.241.152 + 204 | 234.86.171.182 | integer | 10 | 3931548598 | 234.86.171.182 + 537 | 234.46.48.100 | integer | 10 | 3928895588 | 234.46.48.100 + 613 | 233.131.155.245 | integer | 10 | 3917716469 | 233.131.155.245 + 374 | 233.87.71.43 | integer | 10 | 3914811179 | 233.87.71.43 + 101 | 232.45.235.183 | integer | 10 | 3895323575 | 232.45.235.183 + 109 | 231.240.22.160 | integer | 10 | 3891271328 | 231.240.22.160 + 261 | 231.154.66.237 | integer | 10 | 3885646573 | 231.154.66.237 + 59 | 231.44.133.66 | integer | 10 | 3878454594 | 231.44.133.66 + 325 | 230.46.78.158 | integer | 10 | 3861794462 | 230.46.78.158 + 177 | 230.46.69.48 | integer | 10 | 3861792048 | 230.46.69.48 + 548 | 229.208.36.32 | integer | 10 | 3855623200 | 229.208.36.32 + 359 | 229.64.51.77 | integer | 10 | 3846189901 | 229.64.51.77 + 432 | 229.17.33.101 | integer | 10 | 3843105125 | 229.17.33.101 + 458 | 228.249.129.27 | integer | 10 | 3841556763 | 228.249.129.27 + 381 | 228.234.207.123 | integer | 10 | 3840593787 | 228.234.207.123 + 369 | 228.187.227.90 | integer | 10 | 3837518682 | 228.187.227.90 + 110 | 228.107.124.145 | integer | 10 | 3832249489 | 228.107.124.145 + 542 | 227.230.225.180 | integer | 10 | 3823559092 | 227.230.225.180 + 43 | 227.137.163.196 | integer | 10 | 3817448388 | 227.137.163.196 + 532 | 226.198.128.192 | integer | 10 | 3804659904 | 226.198.128.192 + 411 | 226.69.230.4 | integer | 10 | 3796231684 | 226.69.230.4 + 577 | 225.251.187.1 | integer | 10 | 3791371009 | 225.251.187.1 + 25 | 225.15.14.165 | integer | 10 | 3775860389 | 225.15.14.165 + 222 | 223.255.215.176 | integer | 10 | 3758086064 | 223.255.215.176 + 430 | 223.221.76.172 | integer | 10 | 3755822252 | 223.221.76.172 + 148 | 222.168.227.51 | integer | 10 | 3735610163 | 222.168.227.51 + 171 | 222.109.77.139 | integer | 10 | 3731705227 | 222.109.77.139 + 724 | 222.0.0.0/6 | blob | 5 | | 222.0.0.0/6 + 494 | 221.162.167.181 | integer | 10 | 3718424501 | 221.162.167.181 + 454 | 221.151.237.221 | integer | 10 | 3717721565 | 221.151.237.221 + 106 | 221.149.51.2 | integer | 10 | 3717542658 | 221.149.51.2 + 723 | 221.32.0.0/11 | integer | 11 | 50954502144 | 221.32.0.0/11 + 484 | 220.242.200.101 | integer | 10 | 3706898533 | 220.242.200.101 + 217 | 220.239.170.173 | integer | 10 | 3706694317 | 220.239.170.173 + 49 | 220.205.180.198 | integer | 10 | 3704468678 | 220.205.180.198 + 546 | 220.198.141.154 | integer | 10 | 3703999898 | 220.198.141.154 + 180 | 220.179.63.168 | integer | 10 | 3702734760 | 220.179.63.168 + 600 | 220.121.61.208 | integer | 10 | 3698933200 | 220.121.61.208 + 722 | 220.33.0.0/16 | integer | 11 | 72412626944 | 220.33.0.0/16 + 470 | 219.206.181.101 | integer | 10 | 3687757157 | 219.206.181.101 + 721 | 219.33.168.0/24 | integer | 12 | 106755631104 | 219.33.168.0/24 + 160 | 218.65.176.89 | integer | 10 | 3661738073 | 218.65.176.89 + 720 | 218.33.169.32/28 | integer | 12 | 123918723360 | 218.33.169.32/28 + 714 | 218.33.169.12 | blob | 4 | !\x0C | 218.33.169.12 + 713 | 218.33.169.11 | integer | 10 | 3659639051 | 218.33.169.11 + 712 | 218.33.169.10 | integer | 10 | 3659639050 | 218.33.169.10 + 711 | 218.33.169.9 | text | 12 | 218.33.169.9 | + 615 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 700 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 710 | 218.33.169.8 | integer | 10 | 3659639048 | 218.33.169.8 + 617 | 218.33.169.0/31 | integer | 12 | 136803625216 | 218.33.169.0/31 + 618 | 218.33.128.0/18 | integer | 11 | 80969039872 | 218.33.128.0/18 + 84 | 216.88.243.136 | integer | 10 | 3629708168 | 216.88.243.136 + 701 | 216.21.168.160/29 | text | 17 | 216.21.168.160/29 | + 176 | 215.147.44.173 | integer | 10 | 3616746669 | 215.147.44.173 + 265 | 215.47.246.82 | integer | 10 | 3610244690 | 215.47.246.82 + 166 | 213.206.241.70 | integer | 10 | 3587109190 | 213.206.241.70 + 365 | 213.95.222.202 | integer | 10 | 3579829962 | 213.95.222.202 + 51 | 213.87.102.109 | integer | 10 | 3579274861 | 213.87.102.109 + 183 | 213.60.22.146 | integer | 10 | 3577484946 | 213.60.22.146 + 95 | 213.39.115.236 | integer | 10 | 3576132588 | 213.39.115.236 + 286 | 213.4.129.9 | integer | 10 | 3573842185 | 213.4.129.9 + 486 | 211.223.96.183 | integer | 10 | 3554631863 | 211.223.96.183 + 415 | 211.221.104.110 | integer | 10 | 3554502766 | 211.221.104.110 + 212 | 211.96.181.118 | integer | 10 | 3546330486 | 211.96.181.118 + 456 | 210.161.249.39 | integer | 10 | 3533830439 | 210.161.249.39 + 489 | 209.150.35.249 | integer | 10 | 3516277753 | 209.150.35.249 + 38 | 209.125.201.244 | integer | 10 | 3514681844 | 209.125.201.244 + 93 | 209.33.227.131 | integer | 10 | 3508659075 | 209.33.227.131 + 356 | 208.14.45.76 | integer | 10 | 3490590028 | 208.14.45.76 + 300 | 207.81.62.124 | integer | 10 | 3478208124 | 207.81.62.124 + 223 | 207.71.249.41 | integer | 10 | 3477600553 | 207.71.249.41 + 113 | 206.78.173.162 | integer | 10 | 3461262754 | 206.78.173.162 + 216 | 206.13.203.250 | integer | 10 | 3457010682 | 206.13.203.250 + 169 | 205.190.209.57 | integer | 10 | 3451834681 | 205.190.209.57 + 194 | 205.165.6.112 | integer | 10 | 3450144368 | 205.165.6.112 + 1 | 205.48.101.94 | integer | 10 | 3442500958 | 205.48.101.94 + 156 | 204.155.97.217 | integer | 10 | 3432735193 | 204.155.97.217 + 19 | 204.136.128.221 | integer | 10 | 3431497949 | 204.136.128.221 + 550 | 203.241.185.28 | integer | 10 | 3421616412 | 203.241.185.28 + 107 | 203.143.183.21 | integer | 10 | 3415193365 | 203.143.183.21 + 474 | 202.197.197.152 | integer | 10 | 3401958808 | 202.197.197.152 + 138 | 201.160.3.208 | integer | 10 | 3382707152 | 201.160.3.208 + 100 | 200.56.244.221 | integer | 10 | 3359175901 | 200.56.244.221 + 283 | 199.167.12.86 | integer | 10 | 3349613654 | 199.167.12.86 + 526 | 199.142.41.164 | integer | 10 | 3347982756 | 199.142.41.164 + 185 | 198.49.80.122 | integer | 10 | 3325120634 | 198.49.80.122 + 547 | 197.173.63.107 | integer | 10 | 3316465515 | 197.173.63.107 + 140 | 197.172.114.23 | integer | 10 | 3316412951 | 197.172.114.23 + 274 | 196.130.108.140 | integer | 10 | 3296881804 | 196.130.108.140 + 355 | 195.211.137.176 | integer | 10 | 3285420464 | 195.211.137.176 + 71 | 195.21.199.159 | integer | 10 | 3272984479 | 195.21.199.159 + 491 | 194.231.101.62 | integer | 10 | 3269944638 | 194.231.101.62 + 161 | 194.204.44.77 | integer | 10 | 3268160589 | 194.204.44.77 + 79 | 194.161.198.219 | integer | 10 | 3265382107 | 194.161.198.219 + 321 | 194.106.77.154 | integer | 10 | 3261746586 | 194.106.77.154 + 104 | 194.45.213.168 | integer | 10 | 3257783720 | 194.45.213.168 + 46 | 193.185.41.198 | integer | 10 | 3250137542 | 193.185.41.198 + 149 | 193.171.47.212 | integer | 10 | 3249221588 | 193.171.47.212 + 314 | 193.109.167.147 | integer | 10 | 3245189011 | 193.109.167.147 + 306 | 193.79.112.101 | integer | 10 | 3243208805 | 193.79.112.101 + 289 | 193.64.107.205 | integer | 10 | 3242224589 | 193.64.107.205 + 301 | 193.28.195.69 | integer | 10 | 3239887685 | 193.28.195.69 + 181 | 193.4.38.153 | integer | 10 | 3238274713 | 193.4.38.153 + 558 | 192.28.209.195 | integer | 10 | 3223114179 | 192.28.209.195 + 551 | 191.42.250.138 | integer | 10 | 3207264906 | 191.42.250.138 + 554 | 190.210.77.219 | integer | 10 | 3201453531 | 190.210.77.219 + 123 | 190.199.234.228 | integer | 10 | 3200772836 | 190.199.234.228 + 63 | 190.73.207.202 | integer | 10 | 3192508362 | 190.73.207.202 + 66 | 189.99.7.199 | integer | 10 | 3177383879 | 189.99.7.199 + 105 | 189.80.217.147 | integer | 10 | 3176192403 | 189.80.217.147 + 427 | 188.58.131.244 | integer | 10 | 3157951476 | 188.58.131.244 + 407 | 186.204.118.229 | integer | 10 | 3133961957 | 186.204.118.229 + 136 | 184.157.233.95 | integer | 10 | 3097356639 | 184.157.233.95 + 602 | 184.155.244.115 | integer | 10 | 3097228403 | 184.155.244.115 + 451 | 184.107.160.144 | integer | 10 | 3094061200 | 184.107.160.144 + 6 | 183.253.140.85 | integer | 10 | 3086847061 | 183.253.140.85 + 229 | 183.236.220.28 | integer | 10 | 3085753372 | 183.236.220.28 + 345 | 182.211.204.114 | integer | 10 | 3067333746 | 182.211.204.114 + 423 | 182.61.251.67 | integer | 10 | 3057515331 | 182.61.251.67 + 335 | 181.218.105.217 | integer | 10 | 3050990041 | 181.218.105.217 + 270 | 181.49.112.52 | integer | 10 | 3039916084 | 181.49.112.52 + 378 | 180.139.2.40 | integer | 10 | 3029008936 | 180.139.2.40 + 220 | 179.212.151.153 | integer | 10 | 3017054105 | 179.212.151.153 + 559 | 179.208.158.65 | integer | 10 | 3016793665 | 179.208.158.65 + 199 | 177.36.163.207 | integer | 10 | 2971968463 | 177.36.163.207 + 114 | 176.177.135.225 | integer | 10 | 2964424673 | 176.177.135.225 + 272 | 175.242.48.116 | integer | 10 | 2951884916 | 175.242.48.116 + 363 | 175.166.116.210 | integer | 10 | 2946921682 | 175.166.116.210 + 539 | 175.160.139.46 | integer | 10 | 2946534190 | 175.160.139.46 + 158 | 175.95.119.68 | integer | 10 | 2942269252 | 175.95.119.68 + 225 | 173.116.151.18 | integer | 10 | 2910099218 | 173.116.151.18 + 439 | 173.52.188.128 | integer | 10 | 2905914496 | 173.52.188.128 + 561 | 173.41.74.199 | integer | 10 | 2905164487 | 173.41.74.199 + 175 | 172.242.93.116 | integer | 10 | 2901564788 | 172.242.93.116 + 58 | 172.109.167.148 | integer | 10 | 2892867476 | 172.109.167.148 + 143 | 172.15.14.208 | integer | 10 | 2886667984 | 172.15.14.208 + 393 | 171.229.121.185 | integer | 10 | 2883942841 | 171.229.121.185 + 341 | 169.250.64.192 | integer | 10 | 2851750080 | 169.250.64.192 + 266 | 169.224.7.29 | integer | 10 | 2850031389 | 169.224.7.29 + 273 | 169.213.125.67 | integer | 10 | 2849340739 | 169.213.125.67 + 262 | 169.30.40.6 | integer | 10 | 2837325830 | 169.30.40.6 + 531 | 168.77.102.159 | integer | 10 | 2823644831 | 168.77.102.159 + 284 | 168.11.48.234 | integer | 10 | 2819305706 | 168.11.48.234 + 309 | 167.116.157.80 | integer | 10 | 2809437520 | 167.116.157.80 + 303 | 167.101.253.115 | integer | 10 | 2808479091 | 167.101.253.115 + 124 | 167.52.107.219 | integer | 10 | 2805230555 | 167.52.107.219 + 515 | 166.27.102.106 | integer | 10 | 2786813546 | 166.27.102.106 + 574 | 165.216.170.67 | integer | 10 | 2782440003 | 165.216.170.67 + 11 | 165.90.225.162 | integer | 10 | 2774196642 | 165.90.225.162 + 471 | 165.12.89.14 | integer | 10 | 2769049870 | 165.12.89.14 + 88 | 165.11.118.48 | integer | 10 | 2768991792 | 165.11.118.48 + 535 | 164.182.228.118 | integer | 10 | 2763449462 | 164.182.228.118 + 125 | 163.230.62.220 | integer | 10 | 2749775580 | 163.230.62.220 + 540 | 163.208.222.249 | integer | 10 | 2748374777 | 163.208.222.249 + 396 | 163.49.238.5 | integer | 10 | 2737958405 | 163.49.238.5 + 519 | 163.37.35.66 | integer | 10 | 2737120066 | 163.37.35.66 + 372 | 162.251.195.17 | integer | 10 | 2734408465 | 162.251.195.17 + 72 | 162.106.77.88 | integer | 10 | 2724875608 | 162.106.77.88 + 209 | 161.221.171.40 | integer | 10 | 2715659048 | 161.221.171.40 + 385 | 161.218.191.212 | integer | 10 | 2715467732 | 161.218.191.212 + 187 | 161.123.162.124 | integer | 10 | 2709234300 | 161.123.162.124 + 375 | 161.114.80.142 | integer | 10 | 2708623502 | 161.114.80.142 + 21 | 160.69.78.40 | integer | 10 | 2688896552 | 160.69.78.40 + 498 | 159.208.215.103 | integer | 10 | 2681263975 | 159.208.215.103 + 368 | 159.81.159.223 | integer | 10 | 2672926687 | 159.81.159.223 + 206 | 157.156.134.72 | integer | 10 | 2644280904 | 157.156.134.72 + 15 | 155.255.145.81 | integer | 10 | 2617217361 | 155.255.145.81 + 168 | 155.201.184.79 | integer | 10 | 2613688399 | 155.201.184.79 + 235 | 155.170.87.73 | integer | 10 | 2611631945 | 155.170.87.73 + 294 | 153.214.200.197 | integer | 10 | 2580990149 | 153.214.200.197 + 65 | 153.37.38.182 | integer | 10 | 2569348790 | 153.37.38.182 + 447 | 152.229.92.114 | integer | 10 | 2565168242 | 152.229.92.114 + 523 | 152.139.250.11 | integer | 10 | 2559310347 | 152.139.250.11 + 413 | 152.70.244.236 | integer | 10 | 2554787052 | 152.70.244.236 + 242 | 151.134.174.87 | integer | 10 | 2542186071 | 151.134.174.87 + 433 | 151.3.214.189 | integer | 10 | 2533611197 | 151.3.214.189 + 74 | 150.197.150.14 | integer | 10 | 2529531406 | 150.197.150.14 + 218 | 149.215.24.9 | integer | 10 | 2513901577 | 149.215.24.9 + 174 | 149.166.225.18 | integer | 10 | 2510741778 | 149.166.225.18 + 608 | 149.148.184.221 | integer | 10 | 2509551837 | 149.148.184.221 + 395 | 149.13.111.63 | integer | 10 | 2500685631 | 149.13.111.63 + 182 | 148.229.44.205 | integer | 10 | 2498047181 | 148.229.44.205 + 505 | 148.167.101.4 | integer | 10 | 2493998340 | 148.167.101.4 + 162 | 147.246.187.105 | integer | 10 | 2482420585 | 147.246.187.105 + 146 | 147.202.215.148 | integer | 10 | 2479544212 | 147.202.215.148 + 601 | 147.151.1.144 | integer | 10 | 2476147088 | 147.151.1.144 + 141 | 147.134.141.252 | integer | 10 | 2475068924 | 147.134.141.252 + 193 | 147.14.52.62 | integer | 10 | 2467181630 | 147.14.52.62 + 593 | 146.229.67.176 | integer | 10 | 2464498608 | 146.229.67.176 + 191 | 146.112.143.36 | integer | 10 | 2456850212 | 146.112.143.36 + 530 | 146.27.170.90 | integer | 10 | 2451286618 | 146.27.170.90 + 560 | 145.159.157.167 | integer | 10 | 2443156903 | 145.159.157.167 + 192 | 143.157.113.68 | integer | 10 | 2409460036 | 143.157.113.68 + 167 | 143.101.67.30 | integer | 10 | 2405778206 | 143.101.67.30 + 257 | 143.77.140.198 | integer | 10 | 2404224198 | 143.77.140.198 + 207 | 143.41.246.125 | integer | 10 | 2401891965 | 143.41.246.125 + 516 | 142.222.1.91 | integer | 10 | 2396914011 | 142.222.1.91 + 583 | 142.211.245.230 | integer | 10 | 2396255718 | 142.211.245.230 + 605 | 142.137.230.31 | integer | 10 | 2391402015 | 142.137.230.31 + 320 | 142.66.251.66 | integer | 10 | 2386754370 | 142.66.251.66 + 376 | 140.113.203.25 | integer | 10 | 2356267801 | 140.113.203.25 + 117 | 140.34.214.128 | integer | 10 | 2351093376 | 140.34.214.128 + 40 | 139.112.18.173 | integer | 10 | 2339377837 | 139.112.18.173 + 390 | 139.58.62.200 | integer | 10 | 2335850184 | 139.58.62.200 + 292 | 138.189.159.157 | integer | 10 | 2327682973 | 138.189.159.157 + 154 | 138.149.213.250 | integer | 10 | 2325075450 | 138.149.213.250 + 528 | 138.109.241.13 | integer | 10 | 2322460941 | 138.109.241.13 + 343 | 137.194.100.209 | integer | 10 | 2311218385 | 137.194.100.209 + 237 | 137.30.169.129 | integer | 10 | 2300488065 | 137.30.169.129 + 159 | 136.242.20.94 | integer | 10 | 2297566302 | 136.242.20.94 + 94 | 136.206.43.175 | integer | 10 | 2295212975 | 136.206.43.175 + 442 | 135.235.133.171 | integer | 10 | 2280359339 | 135.235.133.171 + 77 | 135.165.49.229 | integer | 10 | 2275750373 | 135.165.49.229 + 570 | 135.52.126.134 | integer | 10 | 2268364422 | 135.52.126.134 + 296 | 135.52.111.34 | integer | 10 | 2268360482 | 135.52.111.34 + 54 | 134.239.185.20 | integer | 10 | 2263857428 | 134.239.185.20 + 400 | 134.55.46.252 | integer | 10 | 2251763452 | 134.55.46.252 + 556 | 133.240.185.226 | integer | 10 | 2247145954 | 133.240.185.226 + 336 | 133.89.141.43 | integer | 10 | 2237238571 | 133.89.141.43 + 441 | 132.231.133.56 | integer | 10 | 2229765432 | 132.231.133.56 + 553 | 132.180.213.190 | integer | 10 | 2226443710 | 132.180.213.190 + 213 | 132.98.248.99 | integer | 10 | 2221078627 | 132.98.248.99 + 464 | 132.61.79.239 | integer | 10 | 2218610671 | 132.61.79.239 + 437 | 132.52.246.117 | integer | 10 | 2218063477 | 132.52.246.117 + 410 | 132.47.83.153 | integer | 10 | 2217694105 | 132.47.83.153 + 549 | 132.26.237.169 | integer | 10 | 2216357289 | 132.26.237.169 + 587 | 131.172.204.238 | integer | 10 | 2209139950 | 131.172.204.238 + 82 | 131.96.207.198 | integer | 10 | 2204159942 | 131.96.207.198 + 282 | 131.53.181.224 | integer | 10 | 2201335264 | 131.53.181.224 + 316 | 130.181.212.219 | integer | 10 | 2192954587 | 130.181.212.219 + 416 | 129.124.231.41 | integer | 10 | 2172446505 | 129.124.231.41 + 239 | 129.121.108.107 | integer | 10 | 2172218475 | 129.121.108.107 + 428 | 128.157.228.197 | integer | 10 | 2157831365 | 128.157.228.197 + 214 | 128.151.39.43 | integer | 10 | 2157389611 | 128.151.39.43 + 165 | 128.90.38.245 | integer | 10 | 2153391861 | 128.90.38.245 + 131 | 128.18.38.32 | integer | 10 | 2148673056 | 128.18.38.32 + 210 | 128.12.105.10 | integer | 10 | 2148296970 | 128.12.105.10 + 568 | 127.219.60.48 | integer | 10 | 2145074224 | 127.219.60.48 + 85 | 126.254.48.253 | integer | 10 | 2130587901 | 126.254.48.253 + 544 | 126.211.169.225 | integer | 10 | 2127800801 | 126.211.169.225 + 230 | 126.186.123.78 | integer | 10 | 2126150478 | 126.186.123.78 + 354 | 126.143.252.69 | integer | 10 | 2123365445 | 126.143.252.69 + 334 | 125.235.193.182 | integer | 10 | 2112602550 | 125.235.193.182 + 201 | 125.114.169.247 | integer | 10 | 2104666615 | 125.114.169.247 + 62 | 124.235.41.48 | integer | 10 | 2095786288 | 124.235.41.48 + 330 | 124.214.84.154 | integer | 10 | 2094421146 | 124.214.84.154 + 97 | 124.100.183.145 | integer | 10 | 2086975377 | 124.100.183.145 + 419 | 124.77.160.15 | integer | 10 | 2085462031 | 124.77.160.15 + 53 | 123.231.125.27 | integer | 10 | 2078768411 | 123.231.125.27 + 485 | 123.60.59.238 | integer | 10 | 2067545070 | 123.60.59.238 + 231 | 123.43.92.163 | integer | 10 | 2066439331 | 123.43.92.163 + 111 | 122.159.54.211 | integer | 10 | 2057254611 | 122.159.54.211 + 139 | 121.229.71.154 | integer | 10 | 2045069210 | 121.229.71.154 + 24 | 121.179.104.153 | integer | 10 | 2041800857 | 121.179.104.153 + 226 | 121.111.63.82 | integer | 10 | 2037333842 | 121.111.63.82 + 293 | 120.251.32.52 | integer | 10 | 2029723700 | 120.251.32.52 + 342 | 120.241.254.238 | integer | 10 | 2029125358 | 120.241.254.238 + 30 | 120.151.214.171 | integer | 10 | 2023216811 | 120.151.214.171 + 119 | 120.23.162.179 | integer | 10 | 2014814899 | 120.23.162.179 + 495 | 119.166.8.33 | integer | 10 | 2007369761 | 119.166.8.33 + 473 | 119.79.245.119 | integer | 10 | 2001728887 | 119.79.245.119 + 327 | 119.50.45.238 | integer | 10 | 1999777262 | 119.50.45.238 + 440 | 118.223.229.41 | integer | 10 | 1994384681 | 118.223.229.41 + 133 | 118.200.90.79 | integer | 10 | 1992841807 | 118.200.90.79 + 538 | 118.34.237.203 | integer | 10 | 1982000587 | 118.34.237.203 + 529 | 118.10.77.46 | integer | 10 | 1980386606 | 118.10.77.46 + 591 | 117.141.48.215 | integer | 10 | 1972187351 | 117.141.48.215 + 503 | 117.85.224.118 | integer | 10 | 1968562294 | 117.85.224.118 + 445 | 115.146.120.61 | integer | 10 | 1938978877 | 115.146.120.61 + 332 | 115.101.89.130 | integer | 10 | 1936021890 | 115.101.89.130 + 338 | 115.35.116.107 | integer | 10 | 1931703403 | 115.35.116.107 + 126 | 114.126.128.119 | integer | 10 | 1920893047 | 114.126.128.119 + 362 | 114.101.237.200 | integer | 10 | 1919282632 | 114.101.237.200 + 56 | 113.195.56.93 | integer | 10 | 1908619357 | 113.195.56.93 + 582 | 113.67.34.90 | integer | 10 | 1900225114 | 113.67.34.90 + 264 | 113.49.232.34 | integer | 10 | 1899096098 | 113.49.232.34 + 115 | 112.159.227.116 | integer | 10 | 1889526644 | 112.159.227.116 + 298 | 112.42.87.159 | integer | 10 | 1881823135 | 112.42.87.159 + 188 | 112.30.20.29 | integer | 10 | 1881019421 | 112.30.20.29 + 227 | 111.221.237.4 | integer | 10 | 1876815108 | 111.221.237.4 + 277 | 111.112.42.173 | integer | 10 | 1869621933 | 111.112.42.173 + 389 | 111.105.63.26 | integer | 10 | 1869168410 | 111.105.63.26 + 380 | 111.38.231.216 | integer | 10 | 1864820696 | 111.38.231.216 + 254 | 111.24.200.106 | integer | 10 | 1863895146 | 111.24.200.106 + 256 | 110.101.207.168 | integer | 10 | 1852166056 | 110.101.207.168 + 475 | 109.202.220.212 | integer | 10 | 1842011348 | 109.202.220.212 + 448 | 109.190.145.204 | integer | 10 | 1841205708 | 109.190.145.204 + 509 | 108.55.214.7 | integer | 10 | 1815598599 | 108.55.214.7 + 337 | 106.183.231.192 | integer | 10 | 1790437312 | 106.183.231.192 + 609 | 106.99.191.123 | integer | 10 | 1784921979 | 106.99.191.123 + 521 | 106.97.208.4 | integer | 10 | 1784795140 | 106.97.208.4 + 90 | 106.96.249.227 | integer | 10 | 1784740323 | 106.96.249.227 + 466 | 105.151.204.126 | integer | 10 | 1771555966 | 105.151.204.126 + 536 | 105.131.236.121 | integer | 10 | 1770253433 | 105.131.236.121 + 68 | 105.9.31.250 | integer | 10 | 1762205690 | 105.9.31.250 + 291 | 104.238.95.198 | integer | 10 | 1760452550 | 104.238.95.198 + 348 | 104.228.203.245 | integer | 10 | 1759824885 | 104.228.203.245 + 3 | 104.18.168.108 | integer | 10 | 1746053228 | 104.18.168.108 + 48 | 103.28.183.154 | integer | 10 | 1729935258 | 103.28.183.154 + 525 | 102.132.218.38 | integer | 10 | 1719982630 | 102.132.218.38 + 145 | 102.73.67.147 | integer | 10 | 1716077459 | 102.73.67.147 + 310 | 102.31.171.101 | integer | 10 | 1713351525 | 102.31.171.101 + 288 | 101.134.51.130 | integer | 10 | 1703293826 | 101.134.51.130 + 431 | 101.115.226.156 | integer | 10 | 1702093468 | 101.115.226.156 + 401 | 98.238.40.42 | integer | 10 | 1659775018 | 98.238.40.42 + 603 | 97.151.107.25 | integer | 10 | 1637313305 | 97.151.107.25 + 373 | 96.240.115.112 | integer | 10 | 1626370928 | 96.240.115.112 + 565 | 96.163.254.226 | integer | 10 | 1621360354 | 96.163.254.226 + 562 | 96.106.28.103 | integer | 10 | 1617566823 | 96.106.28.103 + 386 | 96.37.54.203 | integer | 10 | 1613051595 | 96.37.54.203 + 91 | 96.14.187.22 | integer | 10 | 1611578134 | 96.14.187.22 + 5 | 95.221.129.147 | integer | 10 | 1608352147 | 95.221.129.147 + 333 | 95.207.181.191 | integer | 10 | 1607447999 | 95.207.181.191 + 508 | 94.189.41.3 | integer | 10 | 1589455107 | 94.189.41.3 + 463 | 94.123.36.30 | integer | 10 | 1585128478 | 94.123.36.30 + 263 | 94.91.100.20 | integer | 10 | 1583047700 | 94.91.100.20 + 39 | 93.213.169.237 | integer | 10 | 1574283757 | 93.213.169.237 + 581 | 93.180.123.182 | integer | 10 | 1572109238 | 93.180.123.182 + 102 | 92.190.136.92 | integer | 10 | 1555990620 | 92.190.136.92 + 47 | 92.173.29.28 | integer | 10 | 1554849052 | 92.173.29.28 + 78 | 91.1.57.212 | integer | 10 | 1526806996 | 91.1.57.212 + 512 | 90.252.21.131 | integer | 10 | 1526470019 | 90.252.21.131 + 323 | 90.221.121.253 | integer | 10 | 1524464125 | 90.221.121.253 + 134 | 90.216.40.68 | integer | 10 | 1524115524 | 90.216.40.68 + 255 | 90.3.213.132 | integer | 10 | 1510200708 | 90.3.213.132 + 233 | 89.225.196.191 | integer | 10 | 1507968191 | 89.225.196.191 + 421 | 89.149.87.98 | integer | 10 | 1502959458 | 89.149.87.98 + 347 | 89.125.172.183 | integer | 10 | 1501408439 | 89.125.172.183 + 232 | 89.23.85.100 | integer | 10 | 1494701412 | 89.23.85.100 + 22 | 88.170.171.22 | integer | 10 | 1487579926 | 88.170.171.22 + 13 | 88.24.114.39 | integer | 10 | 1477997095 | 88.24.114.39 + 364 | 87.134.226.114 | integer | 10 | 1468457586 | 87.134.226.114 + 569 | 87.134.167.151 | integer | 10 | 1468442519 | 87.134.167.151 + 234 | 85.136.41.16 | integer | 10 | 1434986768 | 85.136.41.16 + 8 | 84.170.107.43 | integer | 10 | 1420454699 | 84.170.107.43 + 313 | 84.72.45.155 | integer | 10 | 1414016411 | 84.72.45.155 + 247 | 84.59.213.76 | integer | 10 | 1413207372 | 84.59.213.76 + 741 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | text | 38 | 5432:425:2ca1:31f4:2a11:567:5673:0/112 | + 743 | 5432:425:2ca1:31f4:2a11:567::/96 | blob | 17 | T2\x04%,1*\x11\x05g | 5432:0425:2ca1:31f4:2a11:0567:0000:0000/96 + 744 | 5432:425:2ca1:31f4:2a11:500::/88 | blob | 17 | T2\x04%,1*\x11\x05 | 5432:0425:2ca1:31f4:2a11:0500:0000:0000/88 + 16 | 83.13.81.117 | integer | 10 | 1393381749 | 83.13.81.117 + 27 | 83.5.70.6 | integer | 10 | 1392854534 | 83.5.70.6 + 41 | 82.154.56.140 | integer | 10 | 1385838732 | 82.154.56.140 + 349 | 81.84.155.227 | integer | 10 | 1364499427 | 81.84.155.227 + 315 | 80.181.11.243 | integer | 10 | 1354042355 | 80.181.11.243 + 99 | 80.111.117.99 | integer | 10 | 1349481827 | 80.111.117.99 + 75 | 79.223.250.16 | integer | 10 | 1340078608 | 79.223.250.16 + 592 | 79.171.208.203 | integer | 10 | 1336660171 | 79.171.208.203 + 9 | 79.144.216.22 | integer | 10 | 1334892566 | 79.144.216.22 + 243 | 79.94.194.177 | integer | 10 | 1331610289 | 79.94.194.177 + 240 | 78.239.221.76 | integer | 10 | 1324342604 | 78.239.221.76 + 443 | 78.200.1.131 | integer | 10 | 1321730435 | 78.200.1.131 + 238 | 78.32.92.76 | integer | 10 | 1310743628 | 78.32.92.76 + 585 | 77.65.223.214 | integer | 10 | 1296162774 | 77.65.223.214 + 50 | 74.216.214.72 | integer | 10 | 1255724616 | 74.216.214.72 + 252 | 74.190.254.29 | integer | 10 | 1254030877 | 74.190.254.29 + 64 | 74.159.254.108 | integer | 10 | 1251999340 | 74.159.254.108 + 357 | 74.96.74.146 | integer | 10 | 1247824530 | 74.96.74.146 + 144 | 74.66.194.128 | integer | 10 | 1245889152 | 74.66.194.128 + 487 | 74.61.70.183 | integer | 10 | 1245529783 | 74.61.70.183 + 130 | 74.11.153.183 | integer | 10 | 1242274231 | 74.11.153.183 + 545 | 72.112.141.239 | integer | 10 | 1215335919 | 72.112.141.239 + 391 | 72.105.233.160 | integer | 10 | 1214900640 | 72.105.233.160 + 388 | 71.197.52.178 | integer | 10 | 1204106418 | 71.197.52.178 + 7 | 70.165.215.123 | integer | 10 | 1185273723 | 70.165.215.123 + 576 | 69.227.163.227 | integer | 10 | 1172546531 | 69.227.163.227 + 44 | 69.77.51.75 | integer | 10 | 1162687307 | 69.77.51.75 + 221 | 68.95.24.250 | integer | 10 | 1147083002 | 68.95.24.250 + 371 | 67.251.123.95 | integer | 10 | 1140554591 | 67.251.123.95 + 250 | 67.151.49.171 | integer | 10 | 1133982123 | 67.151.49.171 + 422 | 67.71.146.173 | integer | 10 | 1128764077 | 67.71.146.173 + 426 | 66.218.5.209 | integer | 10 | 1121584593 | 66.218.5.209 + 524 | 66.153.27.211 | integer | 10 | 1117330387 | 66.153.27.211 + 533 | 66.92.232.222 | integer | 10 | 1113385182 | 66.92.232.222 + 594 | 66.85.44.114 | integer | 10 | 1112878194 | 66.85.44.114 + 196 | 66.17.234.63 | integer | 10 | 1108470335 | 66.17.234.63 + 76 | 65.207.143.228 | integer | 10 | 1104121828 | 65.207.143.228 + 360 | 65.21.152.189 | integer | 10 | 1091934397 | 65.21.152.189 + 404 | 64.234.158.9 | integer | 10 | 1089117705 | 64.234.158.9 + 2 | 64.191.16.251 | integer | 10 | 1086263547 | 64.191.16.251 + 280 | 64.101.177.59 | integer | 10 | 1080406331 | 64.101.177.59 + 596 | 63.255.71.88 | integer | 10 | 1073694552 | 63.255.71.88 + 142 | 63.69.81.68 | integer | 10 | 1061507396 | 63.69.81.68 + 153 | 63.50.72.59 | integer | 10 | 1060259899 | 63.50.72.59 + 462 | 63.16.75.23 | integer | 10 | 1058032407 | 63.16.75.23 + 584 | 63.6.54.114 | integer | 10 | 1057371762 | 63.6.54.114 + 610 | 62.251.140.171 | integer | 10 | 1056672939 | 62.251.140.171 + 163 | 62.207.123.111 | integer | 10 | 1053784943 | 62.207.123.111 + 319 | 62.195.56.251 | integer | 10 | 1052981499 | 62.195.56.251 + 31 | 62.124.72.116 | integer | 10 | 1048332404 | 62.124.72.116 + 611 | 62.118.73.196 | integer | 10 | 1047939524 | 62.118.73.196 + 472 | 62.24.41.190 | integer | 10 | 1041770942 | 62.24.41.190 + 34 | 61.252.190.144 | integer | 10 | 1039974032 | 61.252.190.144 + 500 | 61.22.131.30 | integer | 10 | 1024885534 | 61.22.131.30 + 118 | 60.215.174.18 | integer | 10 | 1020767762 | 60.215.174.18 + 339 | 60.97.101.50 | integer | 10 | 1013015858 | 60.97.101.50 + 224 | 60.90.154.16 | integer | 10 | 1012570640 | 60.90.154.16 + 121 | 60.88.199.80 | integer | 10 | 1012451152 | 60.88.199.80 + 597 | 60.73.67.41 | integer | 10 | 1011434281 | 60.73.67.41 + 599 | 60.33.119.210 | integer | 10 | 1008826322 | 60.33.119.210 + 586 | 59.233.170.32 | integer | 10 | 1005169184 | 59.233.170.32 + 205 | 59.226.121.144 | integer | 10 | 1004698000 | 59.226.121.144 + 614 | 59.164.211.253 | integer | 10 | 1000657917 | 59.164.211.253 + 184 | 59.133.135.50 | integer | 9 | 998606642 | 59.133.135.50 + 351 | 59.117.175.134 | integer | 9 | 997568390 | 59.117.175.134 + 384 | 59.107.193.142 | integer | 9 | 996917646 | 59.107.193.142 + 566 | 58.221.131.199 | integer | 9 | 987595719 | 58.221.131.199 + 352 | 58.214.124.144 | integer | 9 | 987135120 | 58.214.124.144 + 189 | 58.133.184.67 | integer | 9 | 981841987 | 58.133.184.67 + 612 | 58.77.130.172 | integer | 9 | 978158252 | 58.77.130.172 + 35 | 57.206.2.191 | integer | 9 | 969802431 | 57.206.2.191 + 260 | 56.251.21.190 | integer | 9 | 955979198 | 56.251.21.190 + 87 | 56.199.135.75 | integer | 9 | 952600395 | 56.199.135.75 + 132 | 56.38.113.145 | integer | 9 | 942043537 | 56.38.113.145 + 479 | 55.184.109.15 | integer | 9 | 934833423 | 55.184.109.15 + 302 | 55.96.199.235 | integer | 9 | 929089515 | 55.96.199.235 + 281 | 55.13.87.142 | integer | 9 | 923621262 | 55.13.87.142 + 417 | 54.190.14.163 | integer | 9 | 918425251 | 54.190.14.163 + 477 | 53.7.220.159 | integer | 9 | 889707679 | 53.7.220.159 + 197 | 52.41.89.181 | integer | 9 | 875125173 | 52.41.89.181 + 420 | 52.3.82.192 | integer | 9 | 872633024 | 52.3.82.192 + 418 | 49.180.34.117 | integer | 9 | 833888885 | 49.180.34.117 + 290 | 49.43.91.47 | integer | 9 | 824924975 | 49.43.91.47 + 453 | 48.192.2.91 | integer | 9 | 817889883 | 48.192.2.91 + 598 | 48.149.137.56 | integer | 9 | 815106360 | 48.149.137.56 + 344 | 48.16.35.136 | integer | 9 | 806364040 | 48.16.35.136 + 251 | 47.147.80.252 | integer | 9 | 798183676 | 47.147.80.252 + 572 | 47.109.125.45 | integer | 9 | 795704621 | 47.109.125.45 + 269 | 47.63.95.236 | integer | 9 | 792682476 | 47.63.95.236 + 534 | 47.27.194.20 | integer | 9 | 790348308 | 47.27.194.20 + 387 | 46.192.107.103 | integer | 9 | 784362343 | 46.192.107.103 + 326 | 46.105.50.131 | integer | 9 | 778646147 | 46.105.50.131 + 186 | 45.252.129.164 | integer | 9 | 771522980 | 45.252.129.164 + 506 | 45.106.131.138 | integer | 9 | 761955210 | 45.106.131.138 + 170 | 44.237.228.229 | integer | 9 | 753788133 | 44.237.228.229 + 482 | 44.124.131.125 | integer | 9 | 746357629 | 44.124.131.125 + 60 | 44.67.142.219 | integer | 9 | 742624987 | 44.67.142.219 + 573 | 41.170.113.98 | integer | 9 | 699036002 | 41.170.113.98 + 502 | 41.119.175.142 | integer | 9 | 695709582 | 41.119.175.142 + 147 | 40.253.212.235 | integer | 9 | 687723755 | 40.253.212.235 + 578 | 40.202.43.19 | integer | 9 | 684337939 | 40.202.43.19 + 346 | 40.99.67.49 | integer | 9 | 677593905 | 40.99.67.49 + 496 | 40.72.241.71 | integer | 9 | 675868999 | 40.72.241.71 + 299 | 40.69.66.232 | integer | 9 | 675627752 | 40.69.66.232 + 452 | 39.2.129.97 | integer | 9 | 654475617 | 39.2.129.97 + 518 | 38.175.101.188 | integer | 9 | 649029052 | 38.175.101.188 + 279 | 38.137.224.147 | integer | 9 | 646570131 | 38.137.224.147 + 268 | 37.231.196.152 | integer | 9 | 635946136 | 37.231.196.152 + 434 | 37.180.117.157 | integer | 9 | 632583581 | 37.180.117.157 + 67 | 37.164.159.15 | integer | 9 | 631545615 | 37.164.159.15 + 241 | 36.242.173.3 | integer | 9 | 619883779 | 36.242.173.3 + 173 | 36.125.139.29 | integer | 9 | 612207389 | 36.125.139.29 + 476 | 35.183.214.65 | integer | 9 | 599250497 | 35.183.214.65 + 511 | 35.171.168.47 | integer | 9 | 598452271 | 35.171.168.47 + 276 | 35.136.41.79 | integer | 9 | 596126031 | 35.136.41.79 + 483 | 35.89.161.4 | integer | 9 | 593076484 | 35.89.161.4 + 734 | 2345:425:2ca1:31f4:2a11:567:5673:23c2 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c2 + 733 | 2345:425:2ca1:31f4:2a11:567:5673:23c1 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23c1 + 731 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | text | 37 | 2345:425:2ca1:31f4:2a11:567:5673:23b9 | + 730 | 2345:425:2ca1:31f4:2a11:567:5673:23b8 | blob | 16 | #E\x04%,1*\x11\x05gVs# | 2345:0425:2ca1:31f4:2a11:0567:5673:23b8 + 740 | 2345:425:2ca1:31f4:2a11:567:5673:23b0/120 | blob | 17 | #E\x04%,1*\x11\x05gVs#x | 2345:0425:2ca1:31f4:2a11:0567:5673:23b0/120 + 621 | 2345:425:2ca1::567:5673:23b8 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b8 + 620 | 2345:425:2ca1::567:5673:23b7 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b7 + 619 | 2345:425:2ca1::567:5673:23b6 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b6 + 616 | 2345:425:2ca1::567:5673:23b5 | blob | 16 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:23b5 + 622 | 2345:425:2ca1::567:5673:0/120 | blob | 17 | #E\x04%, | 2345:0425:2ca1:0000:0000:0567:5673:0000/120 + 129 | 35.24.185.39 | integer | 9 | 588822823 | 35.24.185.39 + 285 | 34.123.154.188 | integer | 9 | 578525884 | 34.123.154.188 + 312 | 34.17.92.190 | integer | 9 | 571563198 | 34.17.92.190 + 353 | 33.129.223.81 | integer | 9 | 562159441 | 33.129.223.81 + 412 | 33.33.156.254 | integer | 9 | 555851006 | 33.33.156.254 + 4 | 32.163.254.222 | integer | 9 | 547618526 | 32.163.254.222 + 172 | 32.140.24.250 | integer | 9 | 546052346 | 32.140.24.250 + 406 | 32.69.44.86 | integer | 9 | 541404246 | 32.69.44.86 + 623 | 2001:db8:5002:ab41::801 | blob | 16 | \x01\rP\x02A | 2001:0db8:5002:ab41:0000:0000:0000:0801 + 17 | 31.236.39.111 | integer | 9 | 535570287 | 31.236.39.111 + 18 | 31.223.45.140 | integer | 9 | 534719884 | 31.223.45.140 + 567 | 31.86.179.136 | integer | 9 | 525775752 | 31.86.179.136 + 403 | 31.36.115.199 | integer | 9 | 522482631 | 31.36.115.199 + 236 | 31.13.161.188 | integer | 9 | 520987068 | 31.13.161.188 + 45 | 30.194.154.142 | integer | 9 | 516070030 | 30.194.154.142 + 459 | 30.115.201.232 | integer | 9 | 510904808 | 30.115.201.232 + 436 | 30.95.165.92 | integer | 9 | 509584732 | 30.95.165.92 + 366 | 30.2.239.190 | integer | 9 | 503508926 | 30.2.239.190 + 278 | 29.151.75.38 | integer | 9 | 496454438 | 29.151.75.38 + 195 | 29.89.113.154 | integer | 9 | 492401050 | 29.89.113.154 + 127 | 28.212.246.115 | integer | 9 | 483718771 | 28.212.246.115 + 607 | 28.117.109.25 | integer | 9 | 477457689 | 28.117.109.25 + 513 | 27.220.123.246 | integer | 9 | 467434486 | 27.220.123.246 + 23 | 27.205.158.253 | integer | 9 | 466460413 | 27.205.158.253 + 469 | 26.195.227.35 | integer | 9 | 449045283 | 26.195.227.35 + 157 | 25.64.68.108 | integer | 9 | 423642220 | 25.64.68.108 + 606 | 24.86.8.16 | integer | 9 | 408291344 | 24.86.8.16 + 57 | 24.40.244.54 | integer | 9 | 405337142 | 24.40.244.54 + 555 | 23.1.97.65 | integer | 9 | 385966401 | 23.1.97.65 + 377 | 22.40.68.5 | integer | 9 | 371737605 | 22.40.68.5 + 331 | 21.180.109.92 | integer | 9 | 364146012 | 21.180.109.92 + 248 | 20.230.161.43 | integer | 9 | 350658859 | 20.230.161.43 + 446 | 20.96.157.214 | integer | 9 | 341876182 | 20.96.157.214 + 514 | 20.78.135.63 | integer | 9 | 340690751 | 20.78.135.63 + 409 | 20.35.78.52 | integer | 9 | 337858100 | 20.35.78.52 + 203 | 20.31.119.242 | integer | 9 | 337606642 | 20.31.119.242 + 527 | 18.231.165.111 | integer | 9 | 317171055 | 18.231.165.111 + 219 | 18.182.145.36 | integer | 9 | 313954596 | 18.182.145.36 + 399 | 17.229.150.23 | integer | 9 | 300258839 | 17.229.150.23 + 311 | 16.44.204.182 | integer | 9 | 271371446 | 16.44.204.182 + 324 | 15.163.194.138 | integer | 9 | 262390410 | 15.163.194.138 + 481 | 15.112.129.183 | integer | 9 | 259031479 | 15.112.129.183 + 424 | 14.180.19.120 | integer | 9 | 246682488 | 14.180.19.120 + 151 | 13.238.20.95 | integer | 9 | 233706591 | 13.238.20.95 + 200 | 13.161.5.32 | integer | 9 | 228656416 | 13.161.5.32 + 520 | 12.97.128.208 | integer | 9 | 207716560 | 12.97.128.208 + 517 | 11.88.28.225 | integer | 9 | 190323937 | 11.88.28.225 + 108 | 10.76.215.130 | integer | 9 | 172808066 | 10.76.215.130 + 190 | 9.201.58.3 | integer | 9 | 164182531 | 9.201.58.3 + 541 | 9.166.171.40 | integer | 9 | 161917736 | 9.166.171.40 + 317 | 9.144.1.64 | integer | 9 | 160432448 | 9.144.1.64 + 245 | 9.108.86.70 | integer | 9 | 158094918 | 9.108.86.70 + 202 | 8.152.34.248 | integer | 9 | 144188152 | 8.152.34.248 + 590 | 8.91.22.29 | integer | 9 | 140187165 | 8.91.22.29 + 397 | 7.149.70.239 | integer | 9 | 127223535 | 7.149.70.239 + 557 | 7.27.121.41 | integer | 9 | 119241001 | 7.27.121.41 + 152 | 6.240.85.220 | integer | 9 | 116413916 | 6.240.85.220 + 246 | 5.65.207.234 | integer | 8 | 88199146 | 5.65.207.234 + 455 | 4.246.15.78 | integer | 8 | 83234638 | 4.246.15.78 + 178 | 4.184.53.45 | integer | 8 | 79181101 | 4.184.53.45 + 579 | 4.104.139.43 | integer | 8 | 73960235 | 4.104.139.43 + 70 | 4.16.24.165 | integer | 8 | 68163749 | 4.16.24.165 + 215 | 3.192.152.232 | integer | 8 | 62953704 | 3.192.152.232 + 98 | 2.254.243.185 | integer | 8 | 50262969 | 2.254.243.185 + 493 | 2.104.84.243 | integer | 8 | 40391923 | 2.104.84.243 + 26 | 1.180.121.239 | integer | 8 | 28604911 | 1.180.121.239 + 81 | 1.163.185.97 | integer | 8 | 27507041 | 1.163.185.97 + 350 | 1.112.197.117 | integer | 8 | 24167797 | 1.112.197.117 +(647 rows) + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +ERROR: Failed to execute remote SQL +HINT: SQLite error 'UNIQUE constraint failed: type_INETpk.col', SQLite primary result code 19, extended result code 1555 +CONTEXT: SQL query: INSERT INTO main."type_INETpk"(`col`) VALUES (?) +--Testcase 212: +SELECT * FROM "type_INETpk"; + col +--------------- + 28.117.109.25 + 28.117.109.25 + 28.117.109.25 +(3 rows) + +--Testcase 213: +DELETE FROM "type_INETpk"; +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; +NOTICE: drop cascades to 5 other objects +DETAIL: drop cascades to server sqlite_svr +drop cascades to foreign table "type_INET" +drop cascades to foreign table "type_INET+" +drop cascades to foreign table "type_INETpk" +drop cascades to server sqlite2 diff --git a/expected/17.0/without_gis_support/auto_import.out b/expected/17.0/without_gis_support/auto_import.out index 4c399770..7a55c435 100644 --- a/expected/17.0/without_gis_support/auto_import.out +++ b/expected/17.0/without_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea - 34 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/sql/13.15/types/inet.sql b/sql/13.15/types/inet.sql new file mode 100644 index 00000000..a0ef867c --- /dev/null +++ b/sql/13.15/types/inet.sql @@ -0,0 +1,462 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); + +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; + +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); + +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' + +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; + +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; +--Testcase 015: +SELECT * FROM "type_INET+"; + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); + +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 212: +SELECT * FROM "type_INETpk"; +--Testcase 213: +DELETE FROM "type_INETpk"; + +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; diff --git a/sql/14.12/types/inet.sql b/sql/14.12/types/inet.sql new file mode 100644 index 00000000..a0ef867c --- /dev/null +++ b/sql/14.12/types/inet.sql @@ -0,0 +1,462 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); + +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; + +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); + +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' + +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; + +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; +--Testcase 015: +SELECT * FROM "type_INET+"; + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); + +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 212: +SELECT * FROM "type_INETpk"; +--Testcase 213: +DELETE FROM "type_INETpk"; + +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; diff --git a/sql/15.7/types/inet.sql b/sql/15.7/types/inet.sql new file mode 100644 index 00000000..a0ef867c --- /dev/null +++ b/sql/15.7/types/inet.sql @@ -0,0 +1,462 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); + +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; + +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); + +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' + +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; + +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; +--Testcase 015: +SELECT * FROM "type_INET+"; + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); + +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 212: +SELECT * FROM "type_INETpk"; +--Testcase 213: +DELETE FROM "type_INETpk"; + +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; diff --git a/sql/16.3/types/inet.sql b/sql/16.3/types/inet.sql new file mode 100644 index 00000000..a0ef867c --- /dev/null +++ b/sql/16.3/types/inet.sql @@ -0,0 +1,462 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); + +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; + +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); + +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' + +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; + +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; +--Testcase 015: +SELECT * FROM "type_INET+"; + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); + +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 212: +SELECT * FROM "type_INETpk"; +--Testcase 213: +DELETE FROM "type_INETpk"; + +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; diff --git a/sql/17.0/types/inet.sql b/sql/17.0/types/inet.sql new file mode 100644 index 00000000..a0ef867c --- /dev/null +++ b/sql/17.0/types/inet.sql @@ -0,0 +1,462 @@ +--SET log_min_messages TO DEBUG1; +--SET client_min_messages TO DEBUG1; +--Testcase 001: +CREATE EXTENSION sqlite_fdw; +--Testcase 002: +CREATE SERVER sqlite_svr FOREIGN DATA WRAPPER sqlite_fdw +OPTIONS (database '/tmp/sqlite_fdw_test/common.db'); + +--Testcase 003: +CREATE SERVER sqlite2 FOREIGN DATA WRAPPER sqlite_fdw; + +--Testcase 010: +CREATE FOREIGN TABLE "type_INET"(ip inet) SERVER sqlite_svr OPTIONS (table 'type_INET'); + +CREATE TABLE tmp_inet(ip inet); +--Testcase 011: +\copy "tmp_inet" from '/tmp/sqlite_fdw_test/inet.data' + +INSERT INTO "type_INET" (ip) SELECT (ip) FROM "tmp_inet"; + +--Testcase 012: +ALTER FOREIGN TABLE "type_INET" ADD COLUMN i int OPTIONS (key 'true'); +--Testcase 013: +CREATE FOREIGN TABLE "type_INET+"( i int OPTIONS (key 'true'), ip INET, "t" text, "l" smallint, "tx" varchar(64), "ip_text" text) SERVER sqlite_svr OPTIONS (table 'type_INET+'); +--Testcase 014: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+"; +--Testcase 015: +SELECT * FROM "type_INET+"; + +--Testcase 016: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE text; +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (700, '218.33.169.7'); +--Testcase 017: +INSERT INTO "type_INET" (i, ip) VALUES (701, '216.21.168.160/29'); +--Testcase 019: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE bytea; +--Testcase 020: IPv4 255.255.255.255 +INSERT INTO "type_INET" (i, ip) VALUES (702, decode('FFFFFFFF', 'hex')); +--Testcase 021: IPv4 255.255.254.224/28 +INSERT INTO "type_INET" (i, ip) VALUES (703, decode('FFFFFEE01C', 'hex')); + +--Testcase 022: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip TYPE inet; +--Testcase 023: ipaddr_native function +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (ip) VALUES ('205.48.101.94'::inet); +--Testcase 024: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 700; +--Testcase 025: +SELECT * FROM "type_INET+" WHERE i >= 700; + +-- INSERT IP v4 +--Testcase 030: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 031: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 032: +INSERT INTO "type_INET" (i, ip) VALUES (710, '218.33.169.7'::inet); +--Testcase 033: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 034 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 035: +INSERT INTO "type_INET" (i, ip) VALUES (711, '218.33.169.8'::inet); +--Testcase 036: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 037: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 038: +INSERT INTO "type_INET" (i, ip) VALUES (712, '218.33.169.9'::inet); +--Testcase 039: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 040: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 041: +INSERT INTO "type_INET" (i, ip) VALUES (713, '218.33.169.10'::inet); +--Testcase 042: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 043: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 044: +INSERT INTO "type_INET" (i, ip) VALUES (714, '218.33.169.11'::inet); +--Testcase 045: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 046: +SELECT * FROM "type_INET" WHERE ip = '218.33.169.7'::inet; +--Testcase 047: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 710; +--Testcase 048: +SELECT * FROM "type_INET+" WHERE i >= 710; + +-- INSERT IP v4 + cidr +--Testcase 050: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 051: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 052: +INSERT INTO "type_INET" (i, ip) VALUES (720, '218.33.169.0/29'::inet); +--Testcase 053: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 054: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 055: +INSERT INTO "type_INET" (i, ip) VALUES (721, '219.33.168.0/24'::inet); +--Testcase 056: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 057: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 058: +INSERT INTO "type_INET" (i, ip) VALUES (722, '220.33.1.0/17'::inet); +--Testcase 059: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 060: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 061: +INSERT INTO "type_INET" (i, ip) VALUES (723, '221.32.0.0/12'::inet); +--Testcase 062: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 063: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 064: +INSERT INTO "type_INET" (i, ip) VALUES (724, '222.0.0.0/7'::inet); +--Testcase 065: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 066: +SELECT * FROM "type_INET" WHERE ip = '218.0.0.0/7'::inet; +--Testcase 067: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 720; +--Testcase 068: +SELECT * FROM "type_INET+" WHERE i >= 720; + +-- UPDATE IP v4 +--Testcase 070: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 071: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 072: +UPDATE "type_INET" SET ip = '218.33.169.12' WHERE ip = '218.33.169.11'; +--Testcase 073: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 074 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 075 +UPDATE "type_INET" SET ip = '218.33.169.11' WHERE ip = '218.33.169.10'; +--Testcase 076: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 077: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 078: +UPDATE "type_INET" SET ip = '218.33.169.10' WHERE ip = '218.33.169.9'; +--Testcase 079: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 080: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 081: +UPDATE "type_INET" SET ip = '218.33.169.9' WHERE ip = '218.33.169.8'; +--Testcase 082: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 083: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; +--Testcase 084: +UPDATE "type_INET" SET ip = '218.33.169.8' WHERE ip = '218.33.169.7'; + +--Testcase 085: +SELECT * FROM "type_INET+" WHERE i >= 710 AND i < 720; + +-- IP UPDATE v4 + cidr +--Testcase 090: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 091: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 092: +UPDATE "type_INET" SET ip = '222.0.0.0/6' WHERE ip = '222.0.0.0/7'; +--Testcase 093: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 094 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 095 +UPDATE "type_INET" SET ip = '221.32.0.0/11' WHERE ip = '221.32.0.0/12'; +--Testcase 096: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 097: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 098: +UPDATE "type_INET" SET ip = '220.33.0.0/16' WHERE ip = '220.33.1.0/17'; +--Testcase 099: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 100: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 101: +UPDATE "type_INET" SET ip = '219.33.160.0/23' WHERE ip = '219.33.169.0/24'; +--Testcase 102: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 103: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; +--Testcase 104: +UPDATE "type_INET" SET ip = '218.33.169.32/28' WHERE ip = '218.33.169.0/29'; + +--Testcase 106: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- INSERT IP v6 +--Testcase 110: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 111: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 112: +INSERT INTO "type_INET" (i, ip) VALUES (730, '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet); +--Testcase 113: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 114 +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 115: +INSERT INTO "type_INET" (i, ip) VALUES (731, '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'::inet); +--Testcase 116: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 117: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 118: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (732, '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'::inet); +--Testcase 119: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 120: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 121: +INSERT INTO "type_INET" (i, ip) VALUES (733, '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'::inet); +--Testcase 122: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 123: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 124: +INSERT INTO "type_INET" (i, ip) VALUES (734, '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'::inet); +--Testcase 125: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 126: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'::inet; +--Testcase 127: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 730; +--Testcase 128: +SELECT * FROM "type_INET+" WHERE i >= 730; + +-- INSERT IP v6 + cidr +--Testcase 130: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 131: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'::inet); +--Testcase 132: +INSERT INTO "type_INET" (i, ip) VALUES (740, '2345:0425:2CA1:31F4:2A11:0567:5673:23B0/120'::inet); +--Testcase 133: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 134: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 135: +INSERT INTO "type_INET" (i, ip) VALUES (741, '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'::inet); +--Testcase 136: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 137: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 138: ERR IPv6 impossible inetger +INSERT INTO "type_INET" (i, ip) VALUES (742, '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'::inet); +--Testcase 139: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 140: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 141: +INSERT INTO "type_INET" (i, ip) VALUES (743, '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'::inet); +--Testcase 142: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 143: +EXPLAIN (VERBOSE, COSTS OFF) +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 144: +INSERT INTO "type_INET" (i, ip) VALUES (744, '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet); +--Testcase 145: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 146: +SELECT * FROM "type_INET" WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'::inet; +--Testcase 147: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" WHERE i >= 740; +--Testcase 148: +SELECT * FROM "type_INET+" WHERE i >= 740; + +-- UPDATE IP v6 +--Testcase 150: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 151: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 152: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C2' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1'; +--Testcase 153: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 154 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 155 +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C1' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0'; +--Testcase 156: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 157: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 158: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23C0' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9'; +--Testcase 159: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 160: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 161: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B9' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8'; +--Testcase 162: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 163: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; +--Testcase 164: +UPDATE "type_INET" SET ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B8' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:23B7'; + +--Testcase 165: +SELECT * FROM "type_INET+" WHERE i >= 720 AND i < 730; + +-- IP UPDATE v6 + cidr +--Testcase 170: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'blob'); +--Testcase 171: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 172: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0500:0000:0000/88' WHERE ip = '2345:0425:2CA1:31F4:2A11:0500:0000:0000/88'; +--Testcase 173: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 174 +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 175 +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:0000:0000/96' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:0000:0000/96'; +--Testcase 176: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'integer'); +--Testcase 177: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 178: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5600:0000/104' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5600:0000/104'; +--Testcase 179: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'text'); +--Testcase 180: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 181: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:0000/112' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:0000/112'; +--Testcase 182: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 183: +EXPLAIN (VERBOSE, COSTS OFF) +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 184: +UPDATE "type_INET" SET ip = '5432:0425:2CA1:31F4:2A11:0567:5673:2300/120' WHERE ip = '2345:0425:2CA1:31F4:2A11:0567:5673:2300/120'; +--Testcase 185: +SELECT * FROM "type_INET+" WHERE i >= 730 AND i < 740; + + +--Testcase 190: +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 191: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '21.210.197.77'; +--Testcase 192: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (ADD column_type 'integer'); +--Testcase 193: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 194: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'TEXT'); +--Testcase 195: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 196: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (SET column_type 'null'); +--Testcase 197: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; +--Testcase 198: +ALTER FOREIGN TABLE "type_INET" ALTER COLUMN ip OPTIONS (DROP column_type); +--Testcase 199: +EXPLAIN (VERBOSE, COSTS OFF) +DELETE FROM "type_INET" WHERE ip = '56.63.61.114'; + +--Testcase 200: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip ASC; +--Testcase 201: +EXPLAIN (VERBOSE, COSTS OFF) +SELECT * FROM "type_INET+" ORDER BY ip DESC; +--Testcase 202: +SELECT * FROM "type_INET+" ORDER BY ip DESC; + +--Testcase 203: +CREATE FOREIGN TABLE "type_INETpk" (col INET OPTIONS (key 'true')) SERVER sqlite_svr; +--Testcase 204: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (ADD column_type 'blob'); +--Testcase 205: +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 206: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'int'); +--Testcase 207: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 208: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'text'); +--Testcase 209: NO ERR, but the same semantics! +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 210: +ALTER FOREIGN TABLE "type_INETpk" ALTER COLUMN col OPTIONS (SET column_type 'blob'); +--Testcase 211: ERR - primary key +INSERT INTO "type_INETpk" VALUES ('28.117.109.25'); +--Testcase 212: +SELECT * FROM "type_INETpk"; +--Testcase 213: +DELETE FROM "type_INETpk"; + +--Testcase 250: +DROP EXTENSION sqlite_fdw CASCADE; diff --git a/sql/init_data/inet.data b/sql/init_data/inet.data new file mode 100644 index 00000000..7d94764f --- /dev/null +++ b/sql/init_data/inet.data @@ -0,0 +1,625 @@ +205.48.101.94 +64.191.16.251 +104.18.168.108 +32.163.254.222 +95.221.129.147 +183.253.140.85 +70.165.215.123 +84.170.107.43 +79.144.216.22 +\N +165.90.225.162 +238.233.177.15 +88.24.114.39 +\N +155.255.145.81 +83.13.81.117 +31.236.39.111 +31.223.45.140 +204.136.128.221 +\N +160.69.78.40 +88.170.171.22 +27.205.158.253 +121.179.104.153 +225.15.14.165 +1.180.121.239 +83.5.70.6 +\N +237.24.51.229 +120.151.214.171 +62.124.72.116 +253.74.141.202 +237.188.81.187 +61.252.190.144 +57.206.2.191 +\N +240.82.109.101 +209.125.201.244 +93.213.169.237 +139.112.18.173 +82.154.56.140 +\N +227.137.163.196 +69.77.51.75 +30.194.154.142 +193.185.41.198 +92.173.29.28 +103.28.183.154 +220.205.180.198 +74.216.214.72 +213.87.102.109 +240.47.114.57 +123.231.125.27 +134.239.185.20 +\N +113.195.56.93 +24.40.244.54 +172.109.167.148 +231.44.133.66 +44.67.142.219 +239.181.165.233 +124.235.41.48 +190.73.207.202 +74.159.254.108 +153.37.38.182 +189.99.7.199 +37.164.159.15 +105.9.31.250 +\N +4.16.24.165 +195.21.199.159 +162.106.77.88 +239.95.217.230 +150.197.150.14 +79.223.250.16 +65.207.143.228 +135.165.49.229 +91.1.57.212 +194.161.198.219 +\N +1.163.185.97 +131.96.207.198 +\N +216.88.243.136 +126.254.48.253 +\N +56.199.135.75 +165.11.118.48 +247.7.198.248 +106.96.249.227 +96.14.187.22 +\N +209.33.227.131 +136.206.43.175 +213.39.115.236 +\N +124.100.183.145 +2.254.243.185 +80.111.117.99 +200.56.244.221 +232.45.235.183 +92.190.136.92 +\N +194.45.213.168 +189.80.217.147 +221.149.51.2 +203.143.183.21 +10.76.215.130 +231.240.22.160 +228.107.124.145 +122.159.54.211 +249.175.223.152 +206.78.173.162 +176.177.135.225 +112.159.227.116 +\N +140.34.214.128 +60.215.174.18 +120.23.162.179 +\N +60.88.199.80 +\N +190.199.234.228 +167.52.107.219 +163.230.62.220 +114.126.128.119 +28.212.246.115 +\N +35.24.185.39 +74.11.153.183 +128.18.38.32 +56.38.113.145 +118.200.90.79 +90.216.40.68 +\N +184.157.233.95 +247.216.240.149 +201.160.3.208 +121.229.71.154 +197.172.114.23 +147.134.141.252 +63.69.81.68 +172.15.14.208 +74.66.194.128 +102.73.67.147 +147.202.215.148 +40.253.212.235 +222.168.227.51 +193.171.47.212 +254.123.253.233 +13.238.20.95 +6.240.85.220 +63.50.72.59 +138.149.213.250 +\N +204.155.97.217 +25.64.68.108 +175.95.119.68 +136.242.20.94 +218.65.176.89 +194.204.44.77 +147.246.187.105 +62.207.123.111 +\N +128.90.38.245 +213.206.241.70 +143.101.67.30 +155.201.184.79 +205.190.209.57 +44.237.228.229 +222.109.77.139 +32.140.24.250 +36.125.139.29 +149.166.225.18 +172.242.93.116 +215.147.44.173 +230.46.69.48 +4.184.53.45 +241.179.116.11 +220.179.63.168 +193.4.38.153 +148.229.44.205 +213.60.22.146 +59.133.135.50 +198.49.80.122 +45.252.129.164 +161.123.162.124 +112.30.20.29 +58.133.184.67 +9.201.58.3 +146.112.143.36 +143.157.113.68 +147.14.52.62 +205.165.6.112 +29.89.113.154 +66.17.234.63 +52.41.89.181 +241.211.1.109 +177.36.163.207 +13.161.5.32 +125.114.169.247 +8.152.34.248 +20.31.119.242 +234.86.171.182 +59.226.121.144 +157.156.134.72 +143.41.246.125 +244.148.162.224 +161.221.171.40 +128.12.105.10 +\N +211.96.181.118 +132.98.248.99 +128.151.39.43 +3.192.152.232 +206.13.203.250 +220.239.170.173 +149.215.24.9 +18.182.145.36 +179.212.151.153 +68.95.24.250 +223.255.215.176 +207.71.249.41 +60.90.154.16 +173.116.151.18 +121.111.63.82 +111.221.237.4 +238.209.54.62 +183.236.220.28 +126.186.123.78 +123.43.92.163 +89.23.85.100 +89.225.196.191 +85.136.41.16 +155.170.87.73 +31.13.161.188 +137.30.169.129 +78.32.92.76 +129.121.108.107 +78.239.221.76 +36.242.173.3 +151.134.174.87 +79.94.194.177 +\N +9.108.86.70 +5.65.207.234 +84.59.213.76 +20.230.161.43 +247.180.220.136 +67.151.49.171 +47.147.80.252 +74.190.254.29 +\N +111.24.200.106 +90.3.213.132 +110.101.207.168 +143.77.140.198 +\N +236.62.95.154 +56.251.21.190 +231.154.66.237 +169.30.40.6 +94.91.100.20 +113.49.232.34 +215.47.246.82 +169.224.7.29 +\N +37.231.196.152 +47.63.95.236 +181.49.112.52 +243.161.244.167 +175.242.48.116 +169.213.125.67 +196.130.108.140 +239.250.45.132 +35.136.41.79 +111.112.42.173 +29.151.75.38 +38.137.224.147 +64.101.177.59 +55.13.87.142 +131.53.181.224 +199.167.12.86 +168.11.48.234 +34.123.154.188 +213.4.129.9 +\N +101.134.51.130 +193.64.107.205 +49.43.91.47 +104.238.95.198 +138.189.159.157 +120.251.32.52 +153.214.200.197 +243.134.30.100 +135.52.111.34 +\N +112.42.87.159 +40.69.66.232 +207.81.62.124 +193.28.195.69 +55.96.199.235 +167.101.253.115 +\N +246.147.199.115 +193.79.112.101 +241.244.120.200 +\N +167.116.157.80 +102.31.171.101 +16.44.204.182 +34.17.92.190 +84.72.45.155 +193.109.167.147 +80.181.11.243 +130.181.212.219 +9.144.1.64 +246.224.132.58 +62.195.56.251 +142.66.251.66 +194.106.77.154 +\N +90.221.121.253 +15.163.194.138 +230.46.78.158 +46.105.50.131 +119.50.45.238 +248.225.135.21 +\N +124.214.84.154 +21.180.109.92 +115.101.89.130 +95.207.181.191 +125.235.193.182 +181.218.105.217 +133.89.141.43 +106.183.231.192 +115.35.116.107 +60.97.101.50 +\N +169.250.64.192 +120.241.254.238 +137.194.100.209 +48.16.35.136 +182.211.204.114 +40.99.67.49 +89.125.172.183 +104.228.203.245 +81.84.155.227 +1.112.197.117 +59.117.175.134 +58.214.124.144 +33.129.223.81 +126.143.252.69 +195.211.137.176 +208.14.45.76 +74.96.74.146 +\N +229.64.51.77 +65.21.152.189 +\N +114.101.237.200 +175.166.116.210 +87.134.226.114 +213.95.222.202 +30.2.239.190 +\N +159.81.159.223 +228.187.227.90 +\N +67.251.123.95 +162.251.195.17 +96.240.115.112 +233.87.71.43 +161.114.80.142 +140.113.203.25 +22.40.68.5 +180.139.2.40 +\N +111.38.231.216 +228.234.207.123 +\N +250.176.79.79 +59.107.193.142 +161.218.191.212 +96.37.54.203 +46.192.107.103 +71.197.52.178 +111.105.63.26 +139.58.62.200 +72.105.233.160 +239.87.14.72 +171.229.121.185 +240.220.164.57 +149.13.111.63 +163.49.238.5 +7.149.70.239 +248.242.205.103 +17.229.150.23 +134.55.46.252 +98.238.40.42 +\N +31.36.115.199 +64.234.158.9 +\N +32.69.44.86 +186.204.118.229 +\N +20.35.78.52 +132.47.83.153 +226.69.230.4 +33.33.156.254 +152.70.244.236 +247.180.160.113 +211.221.104.110 +129.124.231.41 +54.190.14.163 +49.180.34.117 +124.77.160.15 +52.3.82.192 +89.149.87.98 +67.71.146.173 +182.61.251.67 +14.180.19.120 +\N +66.218.5.209 +188.58.131.244 +128.157.228.197 +\N +223.221.76.172 +101.115.226.156 +229.17.33.101 +151.3.214.189 +37.180.117.157 +242.106.122.78 +30.95.165.92 +132.52.246.117 +\N +173.52.188.128 +118.223.229.41 +132.231.133.56 +135.235.133.171 +78.200.1.131 +\N +115.146.120.61 +20.96.157.214 +152.229.92.114 +109.190.145.204 +243.82.98.207 +\N +184.107.160.144 +39.2.129.97 +48.192.2.91 +221.151.237.221 +4.246.15.78 +210.161.249.39 +255.75.10.97 +228.249.129.27 +30.115.201.232 +246.215.8.102 +\N +63.16.75.23 +94.123.36.30 +132.61.79.239 +\N +105.151.204.126 +\N +243.229.8.172 +26.195.227.35 +219.206.181.101 +165.12.89.14 +62.24.41.190 +119.79.245.119 +202.197.197.152 +109.202.220.212 +35.183.214.65 +53.7.220.159 +\N +55.184.109.15 +\N +15.112.129.183 +44.124.131.125 +35.89.161.4 +220.242.200.101 +123.60.59.238 +211.223.96.183 +74.61.70.183 +\N +209.150.35.249 +240.232.193.155 +194.231.101.62 +\N +2.104.84.243 +221.162.167.181 +119.166.8.33 +40.72.241.71 +\N +159.208.215.103 +\N +61.22.131.30 +\N +41.119.175.142 +117.85.224.118 +\N +148.167.101.4 +45.106.131.138 +\N +94.189.41.3 +108.55.214.7 +\N +35.171.168.47 +90.252.21.131 +27.220.123.246 +20.78.135.63 +166.27.102.106 +142.222.1.91 +11.88.28.225 +38.175.101.188 +163.37.35.66 +12.97.128.208 +106.97.208.4 +\N +152.139.250.11 +66.153.27.211 +102.132.218.38 +199.142.41.164 +18.231.165.111 +138.109.241.13 +118.10.77.46 +146.27.170.90 +168.77.102.159 +226.198.128.192 +66.92.232.222 +47.27.194.20 +164.182.228.118 +105.131.236.121 +234.46.48.100 +118.34.237.203 +175.160.139.46 +163.208.222.249 +9.166.171.40 +227.230.225.180 +244.160.119.181 +126.211.169.225 +72.112.141.239 +220.198.141.154 +197.173.63.107 +229.208.36.32 +132.26.237.169 +203.241.185.28 +191.42.250.138 +\N +132.180.213.190 +190.210.77.219 +23.1.97.65 +133.240.185.226 +7.27.121.41 +192.28.209.195 +179.208.158.65 +145.159.157.167 +173.41.74.199 +96.106.28.103 +244.63.22.62 +\N +96.163.254.226 +58.221.131.199 +31.86.179.136 +127.219.60.48 +87.134.167.151 +135.52.126.134 +\N +47.109.125.45 +41.170.113.98 +165.216.170.67 +252.176.159.106 +69.227.163.227 +225.251.187.1 +40.202.43.19 +4.104.139.43 +249.245.11.156 +93.180.123.182 +113.67.34.90 +142.211.245.230 +63.6.54.114 +77.65.223.214 +59.233.170.32 +131.172.204.238 +234.156.241.152 +\N +8.91.22.29 +117.141.48.215 +79.171.208.203 +146.229.67.176 +66.85.44.114 +241.194.191.85 +63.255.71.88 +60.73.67.41 +48.149.137.56 +60.33.119.210 +220.121.61.208 +147.151.1.144 +184.155.244.115 +97.151.107.25 +249.167.212.72 +142.137.230.31 +24.86.8.16 +28.117.109.25 +149.148.184.221 +106.99.191.123 +62.251.140.171 +62.118.73.196 +58.77.130.172 +233.131.155.245 +59.164.211.253 +218.33.169.7 +2345:0425:2CA1:0000:0000:0567:5673:23b5 +218.33.169.0/31 +218.33.128.0/18 +2345:425:2CA1:0000:0000:567:5673:23b6 +2345:0425:2CA1:0:0:0567:5673:23b7 +2345:0425:2CA1::0567:5673:23b8 +2345:425:2CA1:0000:0000:567:5673:0/120 +2001:0DB8:5002:AB41:0000:0000:0000:0801 +FF01::1 +FF01::1/21 diff --git a/sql/init_data/init.sql b/sql/init_data/init.sql index 2ef29391..8d704267 100644 --- a/sql/init_data/init.sql +++ b/sql/init_data/init.sql @@ -44,9 +44,16 @@ CREATE TABLE "type_UUID" (i int, u uuid); CREATE VIEW "type_UUID+" AS SELECT *, typeof(u) t, - length(u) l - -- blob affinity normalization form for "type_UUID+" view for better visual comparing during uuid test output, will be used later - -- case when typeof(u) = 'blob' then substr(lower(hex(u)),1,8) || '-' || substr(lower(hex(u)),9,4) || '-' || substr(lower(hex(u)),13,4) || '-' || substr(lower(hex(u)),17,4) || '-' || substr(lower(hex(u)),21,12) else null end uuid_blob_canon + length(u) l, + case + when typeof(u) = 'blob' then + substr(lower(hex(u)),1,8) || '-' || + substr(lower(hex(u)),9,4) || '-' || + substr(lower(hex(u)),13,4) || '-' || + substr(lower(hex(u)),17,4) || '-' || + substr(lower(hex(u)),21,12) + else null + end uuid_blob_canon FROM "type_UUID"; CREATE TABLE "type_MACADDRpk" (col macaddr primary key); CREATE TABLE "type_MACADDR" (i int, m macaddr); @@ -54,6 +61,47 @@ CREATE VIEW "type_MACADDR+" AS SELECT *, typeof("m") t, length("m") l, cast("m" CREATE TABLE "type_MACADDR8pk" (col macaddr8 primary key); CREATE TABLE "type_MACADDR8" (i int, m macaddr8); CREATE VIEW "type_MACADDR8+" AS SELECT *, typeof("m") t, length("m") l, cast("m" as text) tx FROM "type_macaddr8"; +CREATE TABLE "type_INETpk" (col inet primary key); +CREATE TABLE "type_INET" (i integer primary key, ip inet); +CREATE VIEW "type_INET+" AS SELECT + *, + typeof("ip") t, + length("ip") l, + cast("ip" as text) tx, + case + when typeof(ip) = 'blob' and (length(ip) = 16 or length(ip) = 17) then + lower( + substr(hex(ip),1,4) || ':' || + substr(hex(ip),5,4) || ':' || + substr(hex(ip),9,4) || ':' || + substr(hex(ip),13,4) || ':' || + substr(hex(ip),17,4) || ':' || + substr(hex(ip),21,4) || ':' || + substr(hex(ip),25,4) || ':' || + substr(hex(ip),29,4) + ) || + case + when length(ip) = 17 then + '/' || ((instr('123456789ABCDEF', substr(hex(ip),33,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),34,1))) + else '' + end + when typeof(ip) = 'blob' and (length(ip) = 4 or length(ip) = 5) then + ((instr('123456789ABCDEF', substr(hex(ip),1,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),2,1))) || '.' || + ((instr('123456789ABCDEF', substr(hex(ip),3,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),4,1))) || '.' || + ((instr('123456789ABCDEF', substr(hex(ip),5,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),6,1))) || '.' || + ((instr('123456789ABCDEF', substr(hex(ip),7,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),8,1))) + || + case + when length(ip) = 5 then + '/' || ((instr('123456789ABCDEF', substr(hex(ip),9,1)) << 4) + instr('123456789ABCDEF', substr(hex(ip),10,1))) + else '' + end + when typeof(ip) = 'integer' + then ((ip >> 24) & 255) || '.' || ((ip >> 16) & 255) || '.' || ((ip >> 8) & 255) || '.' || (ip & 255) || + case when (ip >> 32) > 0 then '/' || (ip >> 32) else '' end + else null + end as ip_text +FROM "type_INET"; CREATE TABLE "types_PostGIS" (i int, gm geometry, gg geography, r raster, t text, gm1 geometry, gg1 geography); CREATE TABLE "type_JSON" (i int, j json, ot varchar(8), oi int, q text[], j1 json, ot1 text, oi1 int2); CREATE TABLE "type_JSONB" (i int, j jsonb, ot varchar(8), oi int, q text[], j1 jsonb, ot1 text, oi1 int2); diff --git a/sqlite_data_norm.c b/sqlite_data_norm.c index adf6ada0..bc5bdd06 100644 --- a/sqlite_data_norm.c +++ b/sqlite_data_norm.c @@ -23,10 +23,14 @@ #include "sqlite3.h" #include "postgres.h" #include "sqlite_fdw.h" +#include "utils/builtins.h" +#include +#include "utils/inet.h" #include "utils/uuid.h" static void error_catcher(sqlite3* db, int rc); static bool infinity_processing (double* d, const char* t); +static sqlite_uint64 ipaddr_v4_int (const unsigned char *pBlob, int len); /* Also used for BLOBs in sqlite_gis.c */ const char hex_dig[] = "0123456789abcdef"; @@ -43,6 +47,8 @@ if (count != MACADDR_LEN) \ if (count != MACADDR8_LEN) \ count = sscanf(str, format, &a, &b, &c, &d, &e, &f, &g, &h, junk); +#define MAX_IP_TEXT_CHAR_LENGTH 52 + /* * This UUID SQLite extension as a group of UUID C functions * implements functions that handling RFC-4122 UUIDs @@ -147,20 +153,19 @@ sqlite_fdw_uuid_blob (const unsigned char* s0, unsigned char* Blob) * *static void uuid_generate(sqlite3_context* context, int argc, sqlite3_value** argv) *{ - * unsigned char aBlob[16]; - * unsigned char zs[37]; - * sqlite3_randomness(16, aBlob); - * aBlob[6] = (aBlob[6] & 0x0f) + 0x40; - * aBlob[8] = (aBlob[8] & 0x3f) + 0x80; - * sqlite_fdw_data_norm_uuid_blob_to_str(aBlob, zs); - * sqlite3_result_text(context, (char*)zs, 36, SQLITE_TRANSIENT); + * unsigned char aBlob[16]; + * unsigned char zs[37]; + * sqlite3_randomness(16, aBlob); + * aBlob[6] = (aBlob[6] & 0x0f) + 0x40; + * aBlob[8] = (aBlob[8] & 0x3f) + 0x80; + * sqlite_fdw_data_norm_uuid_blob_to_str(aBlob, zs); + * sqlite3_result_text(context, (char*)zs, 36, SQLITE_TRANSIENT); *} */ /* * aBlob to RFC UUID string with 36 characters */ - static void sqlite3UuidBlobToStr( const unsigned char *aBlob, unsigned char *zs) { @@ -356,7 +361,7 @@ const char * infl = "Infinity"; /* * Try to check SQLite value if there is any ∞ value with text affinity */ -static bool +static inline bool infinity_processing (double* d, const char* t) { static const char * neg_infs = "-Inf"; @@ -581,7 +586,8 @@ sqlite_fdw_macaddr8_int (const unsigned char* s, sqlite_uint64* i) } /* - * sqlite_fdw_data_norm_macaddr normalize text or ineger or blob macaddr argv[0] into 6 or 8 byte blob. + * sqlite_fdw_data_norm_macaddr + * normalize text or integer or blob MAC address argv[0] into sqlite_int64. */ static void sqlite_fdw_data_norm_macaddr(sqlite3_context* context, int argc, sqlite3_value** argv) @@ -661,7 +667,7 @@ sqlite_fdw_data_norm_macaddr(sqlite3_context* context, int argc, sqlite3_value** } /* - * Converts argument int-MAC address (both 6 or 8 bytes) to MAC-BLOB address integer. + * Converts argv[0] int-MAC address (both 6 or 8 bytes) to MAC-address BLOB. */ static void sqlite_fdw_macaddr_blob(sqlite3_context* context, int argc, sqlite3_value** argv) @@ -713,6 +719,250 @@ sqlite_fdw_macaddr_blob(sqlite3_context* context, int argc, sqlite3_value** argv } } +static void +ipaddr_str(const unsigned char* pBlob, int len, char* tmp) +{ + + int ipfamily = (len <= 5) ? PGSQL_AF_INET : PGSQL_AF_INET6; + bool is_cidr = len == 5 || len == 17; + int ip_len = ipfamily == PGSQL_AF_INET ? 4 : 16; + unsigned char bits = is_cidr ? pBlob[len - 1] : (ip_len * CHAR_BIT); + char *dst; + + memset(tmp, '\0', MAX_IP_TEXT_CHAR_LENGTH +1); + dst = pg_inet_net_ntop(ipfamily, pBlob, bits, + tmp, MAX_IP_TEXT_CHAR_LENGTH); + if (dst == NULL) + ereport(ERROR, + (errcode(ERRCODE_INVALID_BINARY_REPRESENTATION), + errmsg("could not format inet value: %m"))); + + /* For CIDR, add /n if not present */ + if (is_cidr && strchr(tmp, '/') == NULL) + { + len = strlen(tmp); + snprintf(tmp + len, MAX_IP_TEXT_CHAR_LENGTH - len, "/%u", bits); + } +} + +/* + * Converts argv[0] blob IP address into a well-formed IP address string. + */ +static void +sqlite_fdw_ipaddr_str(sqlite3_context* context, int argc, sqlite3_value** argv) +{ + sqlite3_value *arg = argv[0]; + int val_aff = sqlite3_value_type(arg); + int len = sqlite3_value_bytes(arg); + const unsigned char *pBlob; + char tmp[MAX_IP_TEXT_CHAR_LENGTH + 1]; + + if (val_aff != SQLITE_BLOB || !(len == 4 || len == 5 || len == 16 || len == 17)) + ereport(ERROR, + (errcode(ERRCODE_FDW_INVALID_DATA_TYPE), + errmsg("could not create SQLite text of IP address"), + errhint("can be based only on BLOB input affinity value with 4,5,16 or 17 bytes length"))); + + pBlob = sqlite3_value_blob(arg); + ipaddr_str(pBlob, len, tmp); + sqlite3_result_text(context, (char*)tmp, strlen(tmp), SQLITE_TRANSIENT); +} + +/* + * Verify a CIDR address is OK (doesn't have bits set past the masklen) + */ +static bool +addressOK(unsigned char *a, int bits, int family) +{ + int byte; + int nbits; + int maxbits; + int maxbytes; + unsigned char mask; + + if (family == PGSQL_AF_INET) + { + maxbits = 32; + maxbytes = 4; + } + else + { + maxbits = 128; + maxbytes = 16; + } + Assert(bits <= maxbits); + + if (bits == maxbits) + return true; + + byte = bits / 8; + + nbits = bits % 8; + mask = 0xff; + if (bits != 0) + mask >>= nbits; + + while (byte < maxbytes) + { + if ((a[byte] & mask) != 0) + return false; + mask = 0xff; + byte++; + } + + return true; +} + +/* + * Converts argument IP address (both v4 or v6) to IP-BLOB. + */ +static void +sqlite_fdw_ipaddr_blob(sqlite3_context* context, int argc, sqlite3_value** argv) +{ + sqlite3_value* arg = argv[0]; + int val_aff = sqlite3_value_type(arg); + + /* fastest */ + if (val_aff == SQLITE_BLOB) + sqlite3_result_value(context, arg); + + if (val_aff == SQLITE_INTEGER) + { + unsigned char aBlob[5]; /* max possible for IP v4 + bits */ + sqlite_uint64 v = sqlite3_value_int64(arg); + bool is_cidr = v >= 0x100000000ULL; /* more than 4 bytes integer */ + + aBlob[0] = (v >> (CHAR_BIT * 3)) & 0xff; + aBlob[1] = (v >> (CHAR_BIT * 2)) & 0xff; + aBlob[2] = (v >> (CHAR_BIT * 1)) & 0xff; + aBlob[3] = (v >> (CHAR_BIT * 0)) & 0xff; + if (is_cidr) + aBlob[4] = (v >> (CHAR_BIT * 4)) & 0xff; + + sqlite3_result_blob(context, aBlob, is_cidr ? 5 : 4, SQLITE_TRANSIENT); + return; + } + if (val_aff == SQLITE_TEXT && sqlite3_value_bytes(arg) <= MAX_IP_TEXT_CHAR_LENGTH) + { + const char *txt = (const char *)sqlite3_value_text(arg); + unsigned char aBlob[17]; /* max possible for in v6 + cidr */ + /* + * First, check to see if this is an IPv6 or IPv4 address. IPv6 addresses + * will have a : somewhere in them (several, in fact) so if there is one + * present, assume it's V6, otherwise assume it's V4. + */ + int family = (strchr(txt, ':') != NULL) ? PGSQL_AF_INET6 : PGSQL_AF_INET; + bool is_cidr = (strchr(txt, '/') != NULL); + unsigned char bits = pg_inet_net_pton(family, txt, aBlob, -1); + int ip_len = family == PGSQL_AF_INET ? 4 : 16; + int maxbits = ip_len * CHAR_BIT; + + if ((bits < 0) || (bits > maxbits)) + ereport(ERROR, + (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), + /* translator: first %s is inet or cidr */ + errmsg("invalid input syntax for type %s: \"%s\"", + is_cidr ? "cidr" : "inet", txt))); + + /* + * Error check: CIDR values must not have any bits set beyond the masklen. + */ + if (is_cidr) + { + if (!addressOK(aBlob, bits, family)) + ereport(ERROR, + (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), + errmsg("invalid cidr value: \"%s\"", txt), + errdetail("Value has bits set to right of mask."))); + aBlob[ip_len] = bits; + } + sqlite3_result_blob(context, aBlob, ip_len + is_cidr, SQLITE_TRANSIENT); + return; + } + sqlite3_result_value(context, arg); +} + +/* + * Returns integer for BLOB IP address value + */ +static sqlite_uint64 +ipaddr_v4_int (const unsigned char *pBlob, int len) +{ + sqlite_uint64 res = + (((sqlite_int64)(pBlob[0])) << (CHAR_BIT * 3)) + + (((sqlite_int64)(pBlob[1])) << (CHAR_BIT * 2)) + + (((sqlite_int64)(pBlob[2])) << (CHAR_BIT * 1)) + + (((sqlite_int64)(pBlob[3])) << (CHAR_BIT * 0)); + + if (len == 5) + res += (((sqlite_int64)(pBlob[4])) << (CHAR_BIT * 4)); + return res; +} + +/* + * Converts BLOB argument IP address (both v4 or v6) to + * IP-BLOB for IPv6 and IP-integer for IPv4. + */ +static void +sqlite_fdw_ipaddr_native(sqlite3_context* context, int argc, sqlite3_value** argv) +{ + sqlite3_value *arg = argv[0]; + int len = sqlite3_value_bytes(arg); + + if (sqlite3_value_type(arg) != SQLITE_BLOB) + ereport(ERROR, + (errcode(ERRCODE_FDW_INVALID_DATA_TYPE), + errmsg("Native form of IP address exists only for BLOB input affinity value"))); + + if (len == 16 || len == 17) + { + sqlite3_result_value(context, arg); + return; + } + + if (len == 4 || len == 5) + { + sqlite_uint64 res = ipaddr_v4_int(sqlite3_value_blob(arg), len); + sqlite3_result_int64(context, res); + return; + } + ereport(ERROR, + (errcode(ERRCODE_FDW_INVALID_DATA_TYPE), + errmsg("Invalid input for IP address"), + errhint("Wrong length or not BLOB affinity"))); +} + +/* + * Converts BLOB argument IP address (both v4 or v6) to + * IP-integer for IPv4. + */ +static void +sqlite_fdw_ipaddr_int(sqlite3_context* context, int argc, sqlite3_value** argv) +{ + sqlite3_value *arg = argv[0]; + int val_aff = sqlite3_value_type(arg); + int len = sqlite3_value_bytes(arg); + const unsigned char *pBlob; + sqlite_uint64 res = 0; + + if (val_aff != SQLITE_BLOB) + ereport(ERROR, + (errcode(ERRCODE_FDW_INVALID_DATA_TYPE), + errmsg("Native form of IP address exists only for BLOB input affinity value"))); + + pBlob = sqlite3_value_blob(arg); + if (len == 4 || len == 5) + { + res = ipaddr_v4_int(pBlob, len); + sqlite3_result_int64(context, res); + return; + } + ereport(ERROR, + (errcode(ERRCODE_FDW_INVALID_DATA_TYPE), + errmsg("You can write with integer affinity only IP v4 value"), + errhint("Wrong length or not BLOB input affinity"))); +} + /* * Makes pg error from SQLite error. * Interrupts normal executing, no need return after place of calling @@ -756,6 +1006,14 @@ sqlite_fdw_data_norm_functs_init(sqlite3* db) error_catcher(db, rc); rc = sqlite3_create_function(db, "sqlite_fdw_macaddr_blob", 2, det_flags, 0, sqlite_fdw_macaddr_blob, 0, 0); error_catcher(db, rc); + rc = sqlite3_create_function(db, "sqlite_fdw_ipaddr_blob", 1, det_flags, 0, sqlite_fdw_ipaddr_blob, 0, 0); + error_catcher(db, rc); + rc = sqlite3_create_function(db, "sqlite_fdw_ipaddr_str", 1, det_flags, 0, sqlite_fdw_ipaddr_str, 0, 0); + error_catcher(db, rc); + rc = sqlite3_create_function(db, "sqlite_fdw_ipaddr_int", 1, det_flags, 0, sqlite_fdw_ipaddr_int, 0, 0); + error_catcher(db, rc); + rc = sqlite3_create_function(db, "sqlite_fdw_ipaddr_native", 1, det_flags, 0, sqlite_fdw_ipaddr_native, 0, 0); + error_catcher(db, rc); /* * static const int flags = SQLITE_UTF8 | SQLITE_INNOCUOUS; diff --git a/sqlite_fdw.c b/sqlite_fdw.c index bfa56787..d1d5b04b 100644 --- a/sqlite_fdw.c +++ b/sqlite_fdw.c @@ -4846,7 +4846,8 @@ sqlite_to_pg_type(StringInfo str, char *type) {"real", "double precision"}, {"floa", "double precision"}, {"doub", "double precision"}, - {NULL, NULL}}; + {"ip", "inet"}, /* such as ipv4 ipv6 */ + {NULL, NULL}}; static const char *pg_type[][2] = { {"datetime", "timestamp"}, @@ -4859,6 +4860,7 @@ sqlite_to_pg_type(StringInfo str, char *type) {"uuid"}, {"macaddr"}, {"macaddr8"}, + {"inet"}, {"geometry"}, {"geography"}, {"jsonb"}, diff --git a/sqlite_fdw.h b/sqlite_fdw.h index 8e109bae..70f41cfc 100644 --- a/sqlite_fdw.h +++ b/sqlite_fdw.h @@ -308,7 +308,7 @@ typedef struct SqliteFdwDirectModifyState typedef struct blobOutput { - const char* dat; + const char* dat; int len; } blobOutput; diff --git a/sqlite_query.c b/sqlite_query.c index 20602919..49484103 100644 --- a/sqlite_query.c +++ b/sqlite_query.c @@ -25,6 +25,7 @@ #include "nodes/makefuncs.h" #include "parser/parse_type.h" #include "utils/builtins.h" +#include #include "utils/inet.h" #include "utils/jsonb.h" #include "utils/lsyscache.h" @@ -32,6 +33,7 @@ #include "utils/uuid.h" + static char * get_column_option_string(Oid relid, int varattno, char *optionname); static char * @@ -74,19 +76,19 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * Oid pgtyp = att->atttypid; Datum value_datum = 0; char *valstr = NULL; - /* Compute always, void text and void BLOB is special cases */ + /* Compute always, void text and void BLOB are special cases */ int value_byte_size_blob_or_utf8 = sqlite3_value_bytes(val); switch (pgtyp) { - /* popular first */ - case VARCHAROID: - case CHAROID: + /* Common cases are first as very frequent */ case TEXTOID: + case VARCHAROID: case DATEOID: case TIMEOID: - case NAMEOID: case BPCHAROID: + case CHAROID: + case NAMEOID: { valstr = sqlite_text_value_to_pg_db_encoding(val); /* use valstr after switch */ @@ -396,6 +398,10 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * sqlite_value_to_pg_error(); break; } + /* + * SQLite UUID output always normalized to blob. + * In sqlite_data_norm.c there is special additional C function. + */ case SQLITE_BLOB: /* <-- proper and recommended SQLite affinity of value for pgtyp */ { if (value_byte_size_blob_or_utf8 != UUID_LEN) @@ -415,10 +421,6 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * break; } } - /* - * SQLite UUID output always normalized to blob. - * In sqlite_data_norm.c there is special additional C function. - */ case SQLITE3_TEXT: { if (value_byte_size_blob_or_utf8) @@ -603,6 +605,62 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * } break; } + case INETOID: + { + switch (sqlite_value_affinity) + { + case SQLITE_INTEGER: + case SQLITE_FLOAT: + { + sqlite_value_to_pg_error(); + break; + } + /* + * SQLite IP output always normalized to blob. + * In sqlite_data_norm.c there is special additional C function. + */ + case SQLITE_BLOB: /* <-- proper and recommended SQLite affinity of value for pgtyp */ + { + int len = value_byte_size_blob_or_utf8; + if (len != 4 && len != 16 && + len != 5 && len != 17) + { + ereport(ERROR, (errcode(ERRCODE_FDW_INVALID_DATA_TYPE), + errmsg("SQLite blob for inet or cidr can be only 4,5,16 or 17 bytes"))); + break; + } + else + { + const unsigned char *sqlite_blob = sqlite3_value_blob(val); + bool is_cidr = len == 5 || len == 17; + bool ipv4 = len == 4 || len == 5; + int ip_len = ipv4 ? 4 : 16; + inet *retval = (inet *) palloc0(sizeof(inet)); + + ip_family(retval) = ipv4 ? PGSQL_AF_INET : PGSQL_AF_INET6; + ip_bits(retval) = is_cidr ? sqlite_blob[ip_len] : ip_maxbits(retval); + memcpy(retval->inet_data.ipaddr, sqlite_blob, ip_len); + SET_INET_VARSIZE(retval); + return (struct NullableDatum){InetPGetDatum(retval), false}; + break; + } + } + case SQLITE3_TEXT: + { + if (value_byte_size_blob_or_utf8) + sqlite_value_to_pg_error(); + else + pg_column_void_text_error(); + break; + } + default: + { + sqlite_value_to_pg_error(); + break; + } + } + break; + } default: { /* @@ -678,7 +736,6 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * valstr = sqlite_text_value_to_pg_db_encoding(val); } } - break; } /* convert string value to appropriate type value */ value_datum = InputFunctionCall(&attinmeta->attinfuncs[attnum], @@ -688,6 +745,7 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * return (struct NullableDatum){value_datum, false}; } + /* * sqlite_datum_to_blob * Common part of extracting and preparing PostgreSQL bytea data @@ -738,6 +796,46 @@ get_column_option_string(Oid relid, int varattno, char *optionname) return coloptionvalue; } +static sqlite_uint64 +get_int64_of_inet_ipv4(inet* pg_inet) +{ + sqlite_uint64 dat = 0; + unsigned char bits = 0; + + if (ip_family(pg_inet) != PGSQL_AF_INET) + { + ereport(ERROR, + (errcode(ERRCODE_FDW_INVALID_DATA_TYPE), + errmsg("unable to use with integer affinity"), + errdetail("Only IP v4 values can be used with integer affinity."))); + } + dat = (((sqlite_int64)(pg_inet->inet_data.ipaddr[0])) << (CHAR_BIT *3)) + + (((sqlite_int64)(pg_inet->inet_data.ipaddr[1])) << (CHAR_BIT *2)) + + (((sqlite_int64)(pg_inet->inet_data.ipaddr[2])) << (CHAR_BIT *1)) + + (((sqlite_int64)(pg_inet->inet_data.ipaddr[3])) << (CHAR_BIT *0)); + + bits = ip_bits(pg_inet); + if (bits != 32) /* bits will encoded as value of additional higest byte */ + dat += (((sqlite_int64)(bits)) << (CHAR_BIT *4)); + return dat; +} + +static blobOutput +get_blob_of_inet_ip(inet* pg_inet) +{ + int l_ip = ip_addrsize(pg_inet); + unsigned char bits = ip_bits(pg_inet); + bool is_cidr = bits != ip_maxbits(pg_inet); + int l_blob = l_ip + is_cidr; + unsigned char *dat = palloc0(l_blob); + + memcpy(dat, pg_inet->inet_data.ipaddr, l_ip); + + if (is_cidr) /* bits will encoded as value of additional byte */ + dat[l_ip] = bits; + return (struct blobOutput){(const char *)dat, l_blob}; +} + /* * bind_sql_var * Bind the values provided as DatumBind the values and nulls @@ -1013,9 +1111,79 @@ sqlite_bind_sql_var(Form_pg_attribute att, int attnum, Datum value, sqlite3_stmt pfree((char *)jsonb.dat); break; } + case INETOID: + { + int sqlite_aff = SQLITE_NULL; + inet *pg_inet = DatumGetInetP(value); + + if (relid) + { + char * optv = get_column_option_string (relid, attnum, "column_type"); + + elog(DEBUG3, "sqlite_fdw : col type %s ", optv); + sqlite_aff = sqlite_affinity_code(optv); + } + + switch (sqlite_aff) + { + case SQLITE_BLOB: + { + blobOutput dat; + + elog(DEBUG2, "sqlite_fdw : bind IP as blob"); + dat = get_blob_of_inet_ip(pg_inet); + ret = sqlite3_bind_blob(stmt, attnum, dat.dat, dat.len, SQLITE_TRANSIENT); + break; + } + case SQLITE_INTEGER: + { + sqlite_uint64 dat = 0; + + elog(DEBUG2, "sqlite_fdw : bind IP as integer"); + dat = get_int64_of_inet_ipv4(pg_inet); + ret = sqlite3_bind_int64(stmt, attnum, dat); + break; + } + case SQLITE_NULL: + { + bool ipv4 = ip_family(pg_inet) == PGSQL_AF_INET; + + if (ipv4) + { + sqlite_uint64 dat = 0; + + elog(DEBUG2, "sqlite_fdw : bind IPv4 as integer"); + dat = get_int64_of_inet_ipv4(pg_inet); + ret = sqlite3_bind_int64(stmt, attnum, dat); + } + else + { + blobOutput dat; + + elog(DEBUG2, "sqlite_fdw : bind IPv6 as blob"); + dat = get_blob_of_inet_ip(pg_inet); + ret = sqlite3_bind_blob(stmt, attnum, dat.dat, dat.len, SQLITE_TRANSIENT); + } + break; + } + case SQLITE_TEXT: + default: + { + char *outputString = NULL; + Oid outputFunctionId = InvalidOid; + bool typeVarLength = false; + + getTypeOutputInfo(type, &outputFunctionId, &typeVarLength); + outputString = OidOutputFunctionCall(outputFunctionId, value); + /* IP address text belongs to ASCII subset, no need to translate encoding */ + ret = sqlite3_bind_text(stmt, attnum, outputString, -1, SQLITE_TRANSIENT); + } + } + break; + } default: { - NameData pgColND = att->attname; + NameData pgColND = att->attname; char *pg_dataTypeName = TypeNameToString(makeTypeNameFromOid(type, pgtypmod)); /* From 644fbb6946e6ee1b13bec2a756974f6a2b48c0b3 Mon Sep 17 00:00:00 2001 From: mkgrgis Date: Mon, 14 Apr 2025 13:22:14 +0300 Subject: [PATCH 2/4] Fix GIS tests --- .../13.15/with_gis_support/auto_import.out | 691 +++++++++--------- .../14.12/with_gis_support/auto_import.out | 691 +++++++++--------- .../15.7/with_gis_support/auto_import.out | 691 +++++++++--------- .../16.3/with_gis_support/auto_import.out | 14 +- .../17.0/with_gis_support/auto_import.out | 691 +++++++++--------- 5 files changed, 1415 insertions(+), 1363 deletions(-) diff --git a/expected/13.15/with_gis_support/auto_import.out b/expected/13.15/with_gis_support/auto_import.out index 95055559..798fdd36 100644 --- a/expected/13.15/with_gis_support/auto_import.out +++ b/expected/13.15/with_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/14.12/with_gis_support/auto_import.out b/expected/14.12/with_gis_support/auto_import.out index 95055559..798fdd36 100644 --- a/expected/14.12/with_gis_support/auto_import.out +++ b/expected/14.12/with_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/15.7/with_gis_support/auto_import.out b/expected/15.7/with_gis_support/auto_import.out index 95055559..798fdd36 100644 --- a/expected/15.7/with_gis_support/auto_import.out +++ b/expected/15.7/with_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; diff --git a/expected/16.3/with_gis_support/auto_import.out b/expected/16.3/with_gis_support/auto_import.out index 7a55c435..798fdd36 100644 --- a/expected/16.3/with_gis_support/auto_import.out +++ b/expected/16.3/with_gis_support/auto_import.out @@ -147,12 +147,12 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | types_PostGIS | gm | 2 | | YES | bytea | pg_catalog | bytea - 36 | types_PostGIS | gg | 3 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 36 | types_PostGIS | gm1 | 6 | | YES | bytea | pg_catalog | bytea - 36 | types_PostGIS | gg1 | 7 | | YES | bytea | pg_catalog | bytea + 36 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar @@ -237,7 +237,7 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 56 | ♁ | geom | 1 | | NO | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 @@ -245,8 +245,8 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 57 | ♂ | ⌖ | 3 | | YES | bytea | pg_catalog | bytea - 57 | ♂ | geom | 4 | | YES | bytea | pg_catalog | bytea + 57 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date 57 | ♂ | class | 6 | | YES | text | pg_catalog | text 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar diff --git a/expected/17.0/with_gis_support/auto_import.out b/expected/17.0/with_gis_support/auto_import.out index 95055559..798fdd36 100644 --- a/expected/17.0/with_gis_support/auto_import.out +++ b/expected/17.0/with_gis_support/auto_import.out @@ -51,29 +51,31 @@ SELECT * FROM ft; contrib_regression | public | type_MACADDR | contrib_regression | sqlite_svr | 31 contrib_regression | public | type_MACADDR8pk | contrib_regression | sqlite_svr | 32 contrib_regression | public | type_MACADDR8 | contrib_regression | sqlite_svr | 33 - contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 34 - contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 35 - contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 36 - contrib_regression | public | BitT | contrib_regression | sqlite_svr | 37 - contrib_regression | public | notype | contrib_regression | sqlite_svr | 38 - contrib_regression | public | typetest | contrib_regression | sqlite_svr | 39 - contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 40 - contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 41 - contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 42 - contrib_regression | public | shorty | contrib_regression | sqlite_svr | 43 - contrib_regression | public | A a | contrib_regression | sqlite_svr | 44 - contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 45 - contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 46 - contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 47 - contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 48 - contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 49 - contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 50 - contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 51 - contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 52 - contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 53 - contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 54 - contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 55 -(55 rows) + contrib_regression | public | type_INETpk | contrib_regression | sqlite_svr | 34 + contrib_regression | public | type_INET | contrib_regression | sqlite_svr | 35 + contrib_regression | public | types_PostGIS | contrib_regression | sqlite_svr | 36 + contrib_regression | public | type_JSON | contrib_regression | sqlite_svr | 37 + contrib_regression | public | type_JSONB | contrib_regression | sqlite_svr | 38 + contrib_regression | public | BitT | contrib_regression | sqlite_svr | 39 + contrib_regression | public | notype | contrib_regression | sqlite_svr | 40 + contrib_regression | public | typetest | contrib_regression | sqlite_svr | 41 + contrib_regression | public | type_TEXT | contrib_regression | sqlite_svr | 42 + contrib_regression | public | alltypetest | contrib_regression | sqlite_svr | 43 + contrib_regression | public | json_osm_test | contrib_regression | sqlite_svr | 44 + contrib_regression | public | shorty | contrib_regression | sqlite_svr | 45 + contrib_regression | public | A a | contrib_regression | sqlite_svr | 46 + contrib_regression | public | fts_table | contrib_regression | sqlite_svr | 47 + contrib_regression | public | fts_table_data | contrib_regression | sqlite_svr | 48 + contrib_regression | public | fts_table_idx | contrib_regression | sqlite_svr | 49 + contrib_regression | public | fts_table_content | contrib_regression | sqlite_svr | 50 + contrib_regression | public | fts_table_docsize | contrib_regression | sqlite_svr | 51 + contrib_regression | public | fts_table_config | contrib_regression | sqlite_svr | 52 + contrib_regression | public | RO_RW_test | contrib_regression | sqlite_svr | 53 + contrib_regression | public | Unicode data | contrib_regression | sqlite_svr | 54 + contrib_regression | public | type_BOOLEAN_oper | contrib_regression | sqlite_svr | 55 + contrib_regression | public | ♁ | contrib_regression | sqlite_svr | 56 + contrib_regression | public | ♂ | contrib_regression | sqlite_svr | 57 +(57 rows) --Testcase 07: CREATE VIEW fc AS ( @@ -141,111 +143,114 @@ SELECT n, table_name, column_name, tab_no, def, "null", data_type, udt_schema, u 32 | type_MACADDR8pk | col | 1 | | YES | macaddr8 | pg_catalog | macaddr8 33 | type_MACADDR8 | i | 1 | | YES | bigint | pg_catalog | int8 33 | type_MACADDR8 | m | 2 | | YES | macaddr8 | pg_catalog | macaddr8 - 34 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 - 34 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography - 34 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric - 34 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text - 34 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry - 34 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography - 35 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | j | 2 | | YES | json | pg_catalog | json - 35 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar - 35 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 - 35 | type_JSON | q | 5 | | YES | text | pg_catalog | text - 35 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json - 35 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text - 35 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar - 36 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 - 36 | type_JSONB | q | 5 | | YES | text | pg_catalog | text - 36 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb - 36 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text - 36 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 - 37 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 - 37 | BitT | a | 2 | | YES | bit | pg_catalog | bit - 37 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit - 38 | notype | a | 1 | | YES | bytea | pg_catalog | bytea - 39 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 - 39 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar - 39 | typetest | c | 3 | | YES | character | pg_catalog | bpchar - 39 | typetest | t | 4 | | YES | text | pg_catalog | text - 39 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp - 39 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp - 40 | type_TEXT | col | 1 | | YES | text | pg_catalog | text - 41 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 - 41 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar - 41 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar - 41 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text - 41 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text - 41 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text - 41 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text - 41 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text - 41 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea - 41 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 - 41 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric - 41 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date - 41 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp - 42 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text - 42 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar - 42 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 - 42 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json - 42 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 - 43 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 - 43 | shorty | c | 2 | | YES | character | pg_catalog | bpchar - 44 | A a | col | 1 | | YES | bigint | pg_catalog | int8 - 45 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea - 45 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea - 46 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 - 46 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea - 47 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea - 47 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 - 48 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea - 48 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea - 49 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 - 49 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea - 50 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea - 50 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea - 51 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 - 51 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text - 51 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 - 51 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 - 52 | Unicode data | i | 1 | | YES | text | pg_catalog | text - 52 | Unicode data | t | 2 | | YES | text | pg_catalog | text - 53 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea - 53 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea - 54 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry - 54 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar - 54 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 - 54 | ♁ | arr | 5 | | YES | text | pg_catalog | text - 54 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb - 55 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 - 55 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar - 55 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry - 55 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date - 55 | ♂ | class | 6 | | YES | text | pg_catalog | text - 55 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar -(159 rows) + 34 | type_INETpk | col | 1 | | YES | inet | pg_catalog | inet + 35 | type_INET | i | 1 | | YES | bigint | pg_catalog | int8 + 35 | type_INET | ip | 2 | | YES | inet | pg_catalog | inet + 36 | types_PostGIS | i | 1 | | YES | bigint | pg_catalog | int8 + 36 | types_PostGIS | gm | 2 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg | 3 | | YES | USER-DEFINED | public | geography + 36 | types_PostGIS | r | 4 | | YES | numeric | pg_catalog | numeric + 36 | types_PostGIS | t | 5 | | YES | text | pg_catalog | text + 36 | types_PostGIS | gm1 | 6 | | YES | USER-DEFINED | public | geometry + 36 | types_PostGIS | gg1 | 7 | | YES | USER-DEFINED | public | geography + 37 | type_JSON | i | 1 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | j | 2 | | YES | json | pg_catalog | json + 37 | type_JSON | ot | 3 | | YES | character varying | pg_catalog | varchar + 37 | type_JSON | oi | 4 | | YES | bigint | pg_catalog | int8 + 37 | type_JSON | q | 5 | | YES | text | pg_catalog | text + 37 | type_JSON | j1 | 6 | | YES | json | pg_catalog | json + 37 | type_JSON | ot1 | 7 | | YES | text | pg_catalog | text + 37 | type_JSON | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | i | 1 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | j | 2 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot | 3 | | YES | character varying | pg_catalog | varchar + 38 | type_JSONB | oi | 4 | | YES | bigint | pg_catalog | int8 + 38 | type_JSONB | q | 5 | | YES | text | pg_catalog | text + 38 | type_JSONB | j1 | 6 | | YES | jsonb | pg_catalog | jsonb + 38 | type_JSONB | ot1 | 7 | | YES | text | pg_catalog | text + 38 | type_JSONB | oi1 | 8 | | YES | bigint | pg_catalog | int8 + 39 | BitT | p | 1 | | YES | bigint | pg_catalog | int8 + 39 | BitT | a | 2 | | YES | bit | pg_catalog | bit + 39 | BitT | b | 3 | | YES | bit varying | pg_catalog | varbit + 40 | notype | a | 1 | | YES | bytea | pg_catalog | bytea + 41 | typetest | i | 1 | | YES | bigint | pg_catalog | int8 + 41 | typetest | v | 2 | | YES | character varying | pg_catalog | varchar + 41 | typetest | c | 3 | | YES | character | pg_catalog | bpchar + 41 | typetest | t | 4 | | YES | text | pg_catalog | text + 41 | typetest | d | 5 | | YES | timestamp without time zone | pg_catalog | timestamp + 41 | typetest | ti | 6 | | YES | timestamp without time zone | pg_catalog | timestamp + 42 | type_TEXT | col | 1 | | YES | text | pg_catalog | text + 43 | alltypetest | c1 | 1 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c2 | 2 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c3 | 3 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c4 | 4 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c5 | 5 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c6 | 6 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c7 | 7 | | YES | bigint | pg_catalog | int8 + 43 | alltypetest | c8 | 8 | | YES | character | pg_catalog | bpchar + 43 | alltypetest | c9 | 9 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c10 | 10 | | YES | character varying | pg_catalog | varchar + 43 | alltypetest | c11 | 11 | | YES | text | pg_catalog | text + 43 | alltypetest | c12 | 12 | | YES | text | pg_catalog | text + 43 | alltypetest | c13 | 13 | | YES | text | pg_catalog | text + 43 | alltypetest | c14 | 14 | | YES | text | pg_catalog | text + 43 | alltypetest | c15 | 15 | | YES | text | pg_catalog | text + 43 | alltypetest | c16 | 16 | | YES | bytea | pg_catalog | bytea + 43 | alltypetest | c17 | 17 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c18 | 18 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c19 | 19 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c20 | 20 | | YES | double precision | pg_catalog | float8 + 43 | alltypetest | c21 | 21 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c22 | 22 | | YES | numeric | pg_catalog | numeric + 43 | alltypetest | c23 | 23 | | YES | date | pg_catalog | date + 43 | alltypetest | c24 | 24 | | YES | timestamp without time zone | pg_catalog | timestamp + 44 | json_osm_test | wkt | 1 | | YES | text | pg_catalog | text + 44 | json_osm_test | osm_type | 2 | | YES | character varying | pg_catalog | varchar + 44 | json_osm_test | osm_id | 3 | | YES | bigint | pg_catalog | int8 + 44 | json_osm_test | tags | 4 | | YES | json | pg_catalog | json + 44 | json_osm_test | way_nodes | 5 | | YES | bigint | pg_catalog | int8 + 45 | shorty | id | 1 | | YES | bigint | pg_catalog | int8 + 45 | shorty | c | 2 | | YES | character | pg_catalog | bpchar + 46 | A a | col | 1 | | YES | bigint | pg_catalog | int8 + 47 | fts_table | name | 1 | | YES | bytea | pg_catalog | bytea + 47 | fts_table | description | 2 | | YES | bytea | pg_catalog | bytea + 48 | fts_table_data | id | 1 | | YES | bigint | pg_catalog | int8 + 48 | fts_table_data | block | 2 | | YES | bytea | pg_catalog | bytea + 49 | fts_table_idx | segid | 1 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | term | 2 | | NO | bytea | pg_catalog | bytea + 49 | fts_table_idx | pgno | 3 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | id | 1 | | YES | bigint | pg_catalog | int8 + 50 | fts_table_content | c0 | 2 | | YES | bytea | pg_catalog | bytea + 50 | fts_table_content | c1 | 3 | | YES | bytea | pg_catalog | bytea + 51 | fts_table_docsize | id | 1 | | YES | bigint | pg_catalog | int8 + 51 | fts_table_docsize | sz | 2 | | YES | bytea | pg_catalog | bytea + 52 | fts_table_config | k | 1 | | NO | bytea | pg_catalog | bytea + 52 | fts_table_config | v | 2 | | YES | bytea | pg_catalog | bytea + 53 | RO_RW_test | i | 1 | | NO | bigint | pg_catalog | int8 + 53 | RO_RW_test | a | 2 | | YES | text | pg_catalog | text + 53 | RO_RW_test | b | 3 | | YES | double precision | pg_catalog | float8 + 53 | RO_RW_test | c | 4 | | YES | bigint | pg_catalog | int8 + 54 | Unicode data | i | 1 | | YES | text | pg_catalog | text + 54 | Unicode data | t | 2 | | YES | text | pg_catalog | text + 55 | type_BOOLEAN_oper | i | 1 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i1 | 2 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b1 | 3 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | i2 | 4 | | YES | bytea | pg_catalog | bytea + 55 | type_BOOLEAN_oper | b2 | 5 | | YES | bytea | pg_catalog | bytea + 56 | ♁ | geom | 1 | | NO | USER-DEFINED | public | geometry + 56 | ♁ | osm_type | 2 | | NO | character varying | pg_catalog | varchar + 56 | ♁ | osm_id | 3 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | ver | 4 | | NO | bigint | pg_catalog | int8 + 56 | ♁ | arr | 5 | | YES | text | pg_catalog | text + 56 | ♁ | t | 6 | | YES | jsonb | pg_catalog | jsonb + 57 | ♂ | id | 1 | | YES | bigint | pg_catalog | int8 + 57 | ♂ | UAI | 2 | | YES | character varying | pg_catalog | varchar + 57 | ♂ | ⌖ | 3 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | geom | 4 | | YES | USER-DEFINED | public | geometry + 57 | ♂ | t₀ | 5 | | YES | date | pg_catalog | date + 57 | ♂ | class | 6 | | YES | text | pg_catalog | text + 57 | ♂ | URL | 7 | | YES | character varying | pg_catalog | varchar +(162 rows) --Testcase 09: size/length/presision metadata SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx, num_sc, dtp FROM fc; @@ -306,111 +311,114 @@ SELECT n, table_name, column_name, tab_no, c_max_len, c_oct_len, num_pr, num_rdx 32 | type_MACADDR8pk | col | 1 | | | | | | 33 | type_MACADDR8 | i | 1 | | | 64 | 2 | 0 | 33 | type_MACADDR8 | m | 2 | | | | | | - 34 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | - 34 | types_PostGIS | gm | 2 | | | | | | - 34 | types_PostGIS | gg | 3 | | | | | | - 34 | types_PostGIS | r | 4 | | | | 10 | | - 34 | types_PostGIS | t | 5 | | 1073741824 | | | | - 34 | types_PostGIS | gm1 | 6 | | | | | | - 34 | types_PostGIS | gg1 | 7 | | | | | | - 35 | type_JSON | i | 1 | | | 64 | 2 | 0 | - 35 | type_JSON | j | 2 | | | | | | - 35 | type_JSON | ot | 3 | 8 | 32 | | | | - 35 | type_JSON | oi | 4 | | | 64 | 2 | 0 | - 35 | type_JSON | q | 5 | | 1073741824 | | | | - 35 | type_JSON | j1 | 6 | | | | | | - 35 | type_JSON | ot1 | 7 | | 1073741824 | | | | - 35 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | - 36 | type_JSONB | i | 1 | | | 64 | 2 | 0 | - 36 | type_JSONB | j | 2 | | | | | | - 36 | type_JSONB | ot | 3 | 8 | 32 | | | | - 36 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | - 36 | type_JSONB | q | 5 | | 1073741824 | | | | - 36 | type_JSONB | j1 | 6 | | | | | | - 36 | type_JSONB | ot1 | 7 | | 1073741824 | | | | - 36 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | - 37 | BitT | p | 1 | | | 64 | 2 | 0 | - 37 | BitT | a | 2 | 3 | | | | | - 37 | BitT | b | 3 | 5 | | | | | - 38 | notype | a | 1 | | | | | | - 39 | typetest | i | 1 | | | 64 | 2 | 0 | - 39 | typetest | v | 2 | 10 | 40 | | | | - 39 | typetest | c | 3 | 10 | 40 | | | | - 39 | typetest | t | 4 | | 1073741824 | | | | - 39 | typetest | d | 5 | | | | | | 6 - 39 | typetest | ti | 6 | | | | | | 6 - 40 | type_TEXT | col | 1 | | 1073741824 | | | | - 41 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | - 41 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | - 41 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | - 41 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | - 41 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | - 41 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | - 41 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | - 41 | alltypetest | c8 | 8 | 10 | 40 | | | | - 41 | alltypetest | c9 | 9 | 255 | 1020 | | | | - 41 | alltypetest | c10 | 10 | 255 | 1020 | | | | - 41 | alltypetest | c11 | 11 | | 1073741824 | | | | - 41 | alltypetest | c12 | 12 | | 1073741824 | | | | - 41 | alltypetest | c13 | 13 | | 1073741824 | | | | - 41 | alltypetest | c14 | 14 | | 1073741824 | | | | - 41 | alltypetest | c15 | 15 | | 1073741824 | | | | - 41 | alltypetest | c16 | 16 | | | | | | - 41 | alltypetest | c17 | 17 | | | 53 | 2 | | - 41 | alltypetest | c18 | 18 | | | 53 | 2 | | - 41 | alltypetest | c19 | 19 | | | 53 | 2 | | - 41 | alltypetest | c20 | 20 | | | 53 | 2 | | - 41 | alltypetest | c21 | 21 | | | | 10 | | - 41 | alltypetest | c22 | 22 | | | | 10 | | - 41 | alltypetest | c23 | 23 | | | | | | 0 - 41 | alltypetest | c24 | 24 | | | | | | 6 - 42 | json_osm_test | wkt | 1 | | 1073741824 | | | | - 42 | json_osm_test | osm_type | 2 | 8 | 32 | | | | - 42 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | - 42 | json_osm_test | tags | 4 | | | | | | - 42 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | - 43 | shorty | id | 1 | | | 64 | 2 | 0 | - 43 | shorty | c | 2 | 10 | 40 | | | | - 44 | A a | col | 1 | | | 64 | 2 | 0 | - 45 | fts_table | name | 1 | | | | | | - 45 | fts_table | description | 2 | | | | | | - 46 | fts_table_data | id | 1 | | | 64 | 2 | 0 | - 46 | fts_table_data | block | 2 | | | | | | - 47 | fts_table_idx | segid | 1 | | | | | | - 47 | fts_table_idx | term | 2 | | | | | | - 47 | fts_table_idx | pgno | 3 | | | | | | - 48 | fts_table_content | id | 1 | | | 64 | 2 | 0 | - 48 | fts_table_content | c0 | 2 | | | | | | - 48 | fts_table_content | c1 | 3 | | | | | | - 49 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | - 49 | fts_table_docsize | sz | 2 | | | | | | - 50 | fts_table_config | k | 1 | | | | | | - 50 | fts_table_config | v | 2 | | | | | | - 51 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | - 51 | RO_RW_test | a | 2 | | 1073741824 | | | | - 51 | RO_RW_test | b | 3 | | | 53 | 2 | | - 51 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | - 52 | Unicode data | i | 1 | | 1073741824 | | | | - 52 | Unicode data | t | 2 | | 1073741824 | | | | - 53 | type_BOOLEAN_oper | i | 1 | | | | | | - 53 | type_BOOLEAN_oper | i1 | 2 | | | | | | - 53 | type_BOOLEAN_oper | b1 | 3 | | | | | | - 53 | type_BOOLEAN_oper | i2 | 4 | | | | | | - 53 | type_BOOLEAN_oper | b2 | 5 | | | | | | - 54 | ♁ | geom | 1 | | | | | | - 54 | ♁ | osm_type | 2 | 16 | 64 | | | | - 54 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | - 54 | ♁ | ver | 4 | | | 64 | 2 | 0 | - 54 | ♁ | arr | 5 | | 1073741824 | | | | - 54 | ♁ | t | 6 | | | | | | - 55 | ♂ | id | 1 | | | 64 | 2 | 0 | - 55 | ♂ | UAI | 2 | 254 | 1016 | | | | - 55 | ♂ | ⌖ | 3 | | | | | | - 55 | ♂ | geom | 4 | | | | | | - 55 | ♂ | t₀ | 5 | | | | | | 0 - 55 | ♂ | class | 6 | | 1073741824 | | | | - 55 | ♂ | URL | 7 | 80 | 320 | | | | -(159 rows) + 34 | type_INETpk | col | 1 | | | | | | + 35 | type_INET | i | 1 | | | 64 | 2 | 0 | + 35 | type_INET | ip | 2 | | | | | | + 36 | types_PostGIS | i | 1 | | | 64 | 2 | 0 | + 36 | types_PostGIS | gm | 2 | | | | | | + 36 | types_PostGIS | gg | 3 | | | | | | + 36 | types_PostGIS | r | 4 | | | | 10 | | + 36 | types_PostGIS | t | 5 | | 1073741824 | | | | + 36 | types_PostGIS | gm1 | 6 | | | | | | + 36 | types_PostGIS | gg1 | 7 | | | | | | + 37 | type_JSON | i | 1 | | | 64 | 2 | 0 | + 37 | type_JSON | j | 2 | | | | | | + 37 | type_JSON | ot | 3 | 8 | 32 | | | | + 37 | type_JSON | oi | 4 | | | 64 | 2 | 0 | + 37 | type_JSON | q | 5 | | 1073741824 | | | | + 37 | type_JSON | j1 | 6 | | | | | | + 37 | type_JSON | ot1 | 7 | | 1073741824 | | | | + 37 | type_JSON | oi1 | 8 | | | 64 | 2 | 0 | + 38 | type_JSONB | i | 1 | | | 64 | 2 | 0 | + 38 | type_JSONB | j | 2 | | | | | | + 38 | type_JSONB | ot | 3 | 8 | 32 | | | | + 38 | type_JSONB | oi | 4 | | | 64 | 2 | 0 | + 38 | type_JSONB | q | 5 | | 1073741824 | | | | + 38 | type_JSONB | j1 | 6 | | | | | | + 38 | type_JSONB | ot1 | 7 | | 1073741824 | | | | + 38 | type_JSONB | oi1 | 8 | | | 64 | 2 | 0 | + 39 | BitT | p | 1 | | | 64 | 2 | 0 | + 39 | BitT | a | 2 | 3 | | | | | + 39 | BitT | b | 3 | 5 | | | | | + 40 | notype | a | 1 | | | | | | + 41 | typetest | i | 1 | | | 64 | 2 | 0 | + 41 | typetest | v | 2 | 10 | 40 | | | | + 41 | typetest | c | 3 | 10 | 40 | | | | + 41 | typetest | t | 4 | | 1073741824 | | | | + 41 | typetest | d | 5 | | | | | | 6 + 41 | typetest | ti | 6 | | | | | | 6 + 42 | type_TEXT | col | 1 | | 1073741824 | | | | + 43 | alltypetest | c1 | 1 | | | 64 | 2 | 0 | + 43 | alltypetest | c2 | 2 | | | 64 | 2 | 0 | + 43 | alltypetest | c3 | 3 | | | 64 | 2 | 0 | + 43 | alltypetest | c4 | 4 | | | 64 | 2 | 0 | + 43 | alltypetest | c5 | 5 | | | 64 | 2 | 0 | + 43 | alltypetest | c6 | 6 | | | 64 | 2 | 0 | + 43 | alltypetest | c7 | 7 | | | 64 | 2 | 0 | + 43 | alltypetest | c8 | 8 | 10 | 40 | | | | + 43 | alltypetest | c9 | 9 | 255 | 1020 | | | | + 43 | alltypetest | c10 | 10 | 255 | 1020 | | | | + 43 | alltypetest | c11 | 11 | | 1073741824 | | | | + 43 | alltypetest | c12 | 12 | | 1073741824 | | | | + 43 | alltypetest | c13 | 13 | | 1073741824 | | | | + 43 | alltypetest | c14 | 14 | | 1073741824 | | | | + 43 | alltypetest | c15 | 15 | | 1073741824 | | | | + 43 | alltypetest | c16 | 16 | | | | | | + 43 | alltypetest | c17 | 17 | | | 53 | 2 | | + 43 | alltypetest | c18 | 18 | | | 53 | 2 | | + 43 | alltypetest | c19 | 19 | | | 53 | 2 | | + 43 | alltypetest | c20 | 20 | | | 53 | 2 | | + 43 | alltypetest | c21 | 21 | | | | 10 | | + 43 | alltypetest | c22 | 22 | | | | 10 | | + 43 | alltypetest | c23 | 23 | | | | | | 0 + 43 | alltypetest | c24 | 24 | | | | | | 6 + 44 | json_osm_test | wkt | 1 | | 1073741824 | | | | + 44 | json_osm_test | osm_type | 2 | 8 | 32 | | | | + 44 | json_osm_test | osm_id | 3 | | | 64 | 2 | 0 | + 44 | json_osm_test | tags | 4 | | | | | | + 44 | json_osm_test | way_nodes | 5 | | | 64 | 2 | 0 | + 45 | shorty | id | 1 | | | 64 | 2 | 0 | + 45 | shorty | c | 2 | 10 | 40 | | | | + 46 | A a | col | 1 | | | 64 | 2 | 0 | + 47 | fts_table | name | 1 | | | | | | + 47 | fts_table | description | 2 | | | | | | + 48 | fts_table_data | id | 1 | | | 64 | 2 | 0 | + 48 | fts_table_data | block | 2 | | | | | | + 49 | fts_table_idx | segid | 1 | | | | | | + 49 | fts_table_idx | term | 2 | | | | | | + 49 | fts_table_idx | pgno | 3 | | | | | | + 50 | fts_table_content | id | 1 | | | 64 | 2 | 0 | + 50 | fts_table_content | c0 | 2 | | | | | | + 50 | fts_table_content | c1 | 3 | | | | | | + 51 | fts_table_docsize | id | 1 | | | 64 | 2 | 0 | + 51 | fts_table_docsize | sz | 2 | | | | | | + 52 | fts_table_config | k | 1 | | | | | | + 52 | fts_table_config | v | 2 | | | | | | + 53 | RO_RW_test | i | 1 | | | 64 | 2 | 0 | + 53 | RO_RW_test | a | 2 | | 1073741824 | | | | + 53 | RO_RW_test | b | 3 | | | 53 | 2 | | + 53 | RO_RW_test | c | 4 | | | 64 | 2 | 0 | + 54 | Unicode data | i | 1 | | 1073741824 | | | | + 54 | Unicode data | t | 2 | | 1073741824 | | | | + 55 | type_BOOLEAN_oper | i | 1 | | | | | | + 55 | type_BOOLEAN_oper | i1 | 2 | | | | | | + 55 | type_BOOLEAN_oper | b1 | 3 | | | | | | + 55 | type_BOOLEAN_oper | i2 | 4 | | | | | | + 55 | type_BOOLEAN_oper | b2 | 5 | | | | | | + 56 | ♁ | geom | 1 | | | | | | + 56 | ♁ | osm_type | 2 | 16 | 64 | | | | + 56 | ♁ | osm_id | 3 | | | 64 | 2 | 0 | + 56 | ♁ | ver | 4 | | | 64 | 2 | 0 | + 56 | ♁ | arr | 5 | | 1073741824 | | | | + 56 | ♁ | t | 6 | | | | | | + 57 | ♂ | id | 1 | | | 64 | 2 | 0 | + 57 | ♂ | UAI | 2 | 254 | 1016 | | | | + 57 | ♂ | ⌖ | 3 | | | | | | + 57 | ♂ | geom | 4 | | | | | | + 57 | ♂ | t₀ | 5 | | | | | | 0 + 57 | ♂ | class | 6 | | 1073741824 | | | | + 57 | ♂ | URL | 7 | 80 | 320 | | | | +(162 rows) --Testcase 10: other metadata SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, isgen FROM fc; @@ -471,111 +479,114 @@ SELECT n, table_name, column_name, tab_no, it, ip, max_crd, dtdid, sref, ididt, 32 | type_MACADDR8pk | col | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | i | 1 | | | | 1 | NO | NO | NEVER 33 | type_MACADDR8 | m | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER - 34 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER - 34 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER - 34 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER - 34 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER - 34 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER - 34 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER - 35 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER - 35 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER - 35 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER - 35 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER - 35 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER - 35 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER - 35 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER - 36 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER - 36 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER - 36 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER - 36 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER - 36 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER - 36 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER - 36 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER - 36 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER - 37 | BitT | p | 1 | | | | 1 | NO | NO | NEVER - 37 | BitT | a | 2 | | | | 2 | NO | NO | NEVER - 37 | BitT | b | 3 | | | | 3 | NO | NO | NEVER - 38 | notype | a | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | i | 1 | | | | 1 | NO | NO | NEVER - 39 | typetest | v | 2 | | | | 2 | NO | NO | NEVER - 39 | typetest | c | 3 | | | | 3 | NO | NO | NEVER - 39 | typetest | t | 4 | | | | 4 | NO | NO | NEVER - 39 | typetest | d | 5 | | | | 5 | NO | NO | NEVER - 39 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER - 40 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER - 41 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER - 41 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER - 41 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER - 41 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER - 41 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER - 41 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER - 41 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER - 41 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER - 41 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER - 41 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER - 41 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER - 41 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER - 41 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER - 41 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER - 41 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER - 41 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER - 41 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER - 41 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER - 41 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER - 41 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER - 41 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER - 41 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER - 41 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER - 42 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER - 42 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER - 42 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER - 42 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER - 42 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER - 43 | shorty | id | 1 | | | | 1 | NO | NO | NEVER - 43 | shorty | c | 2 | | | | 2 | NO | NO | NEVER - 44 | A a | col | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER - 45 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER - 46 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER - 46 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER - 47 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER - 47 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER - 48 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER - 48 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER - 48 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER - 49 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER - 49 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER - 50 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER - 50 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER - 51 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER - 51 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER - 51 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER - 52 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER - 52 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER - 53 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER - 54 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER - 54 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER - 54 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER - 54 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER - 54 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER - 55 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER - 55 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER - 55 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER - 55 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER - 55 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER - 55 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER -(159 rows) + 34 | type_INETpk | col | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | i | 1 | | | | 1 | NO | NO | NEVER + 35 | type_INET | ip | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | i | 1 | | | | 1 | NO | NO | NEVER + 36 | types_PostGIS | gm | 2 | | | | 2 | NO | NO | NEVER + 36 | types_PostGIS | gg | 3 | | | | 3 | NO | NO | NEVER + 36 | types_PostGIS | r | 4 | | | | 4 | NO | NO | NEVER + 36 | types_PostGIS | t | 5 | | | | 5 | NO | NO | NEVER + 36 | types_PostGIS | gm1 | 6 | | | | 6 | NO | NO | NEVER + 36 | types_PostGIS | gg1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | i | 1 | | | | 1 | NO | NO | NEVER + 37 | type_JSON | j | 2 | | | | 2 | NO | NO | NEVER + 37 | type_JSON | ot | 3 | | | | 3 | NO | NO | NEVER + 37 | type_JSON | oi | 4 | | | | 4 | NO | NO | NEVER + 37 | type_JSON | q | 5 | | | | 5 | NO | NO | NEVER + 37 | type_JSON | j1 | 6 | | | | 6 | NO | NO | NEVER + 37 | type_JSON | ot1 | 7 | | | | 7 | NO | NO | NEVER + 37 | type_JSON | oi1 | 8 | | | | 8 | NO | NO | NEVER + 38 | type_JSONB | i | 1 | | | | 1 | NO | NO | NEVER + 38 | type_JSONB | j | 2 | | | | 2 | NO | NO | NEVER + 38 | type_JSONB | ot | 3 | | | | 3 | NO | NO | NEVER + 38 | type_JSONB | oi | 4 | | | | 4 | NO | NO | NEVER + 38 | type_JSONB | q | 5 | | | | 5 | NO | NO | NEVER + 38 | type_JSONB | j1 | 6 | | | | 6 | NO | NO | NEVER + 38 | type_JSONB | ot1 | 7 | | | | 7 | NO | NO | NEVER + 38 | type_JSONB | oi1 | 8 | | | | 8 | NO | NO | NEVER + 39 | BitT | p | 1 | | | | 1 | NO | NO | NEVER + 39 | BitT | a | 2 | | | | 2 | NO | NO | NEVER + 39 | BitT | b | 3 | | | | 3 | NO | NO | NEVER + 40 | notype | a | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | i | 1 | | | | 1 | NO | NO | NEVER + 41 | typetest | v | 2 | | | | 2 | NO | NO | NEVER + 41 | typetest | c | 3 | | | | 3 | NO | NO | NEVER + 41 | typetest | t | 4 | | | | 4 | NO | NO | NEVER + 41 | typetest | d | 5 | | | | 5 | NO | NO | NEVER + 41 | typetest | ti | 6 | | | | 6 | NO | NO | NEVER + 42 | type_TEXT | col | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c1 | 1 | | | | 1 | NO | NO | NEVER + 43 | alltypetest | c2 | 2 | | | | 2 | NO | NO | NEVER + 43 | alltypetest | c3 | 3 | | | | 3 | NO | NO | NEVER + 43 | alltypetest | c4 | 4 | | | | 4 | NO | NO | NEVER + 43 | alltypetest | c5 | 5 | | | | 5 | NO | NO | NEVER + 43 | alltypetest | c6 | 6 | | | | 6 | NO | NO | NEVER + 43 | alltypetest | c7 | 7 | | | | 7 | NO | NO | NEVER + 43 | alltypetest | c8 | 8 | | | | 8 | NO | NO | NEVER + 43 | alltypetest | c9 | 9 | | | | 9 | NO | NO | NEVER + 43 | alltypetest | c10 | 10 | | | | 10 | NO | NO | NEVER + 43 | alltypetest | c11 | 11 | | | | 11 | NO | NO | NEVER + 43 | alltypetest | c12 | 12 | | | | 12 | NO | NO | NEVER + 43 | alltypetest | c13 | 13 | | | | 13 | NO | NO | NEVER + 43 | alltypetest | c14 | 14 | | | | 14 | NO | NO | NEVER + 43 | alltypetest | c15 | 15 | | | | 15 | NO | NO | NEVER + 43 | alltypetest | c16 | 16 | | | | 16 | NO | NO | NEVER + 43 | alltypetest | c17 | 17 | | | | 17 | NO | NO | NEVER + 43 | alltypetest | c18 | 18 | | | | 18 | NO | NO | NEVER + 43 | alltypetest | c19 | 19 | | | | 19 | NO | NO | NEVER + 43 | alltypetest | c20 | 20 | | | | 20 | NO | NO | NEVER + 43 | alltypetest | c21 | 21 | | | | 21 | NO | NO | NEVER + 43 | alltypetest | c22 | 22 | | | | 22 | NO | NO | NEVER + 43 | alltypetest | c23 | 23 | | | | 23 | NO | NO | NEVER + 43 | alltypetest | c24 | 24 | | | | 24 | NO | NO | NEVER + 44 | json_osm_test | wkt | 1 | | | | 1 | NO | NO | NEVER + 44 | json_osm_test | osm_type | 2 | | | | 2 | NO | NO | NEVER + 44 | json_osm_test | osm_id | 3 | | | | 3 | NO | NO | NEVER + 44 | json_osm_test | tags | 4 | | | | 4 | NO | NO | NEVER + 44 | json_osm_test | way_nodes | 5 | | | | 5 | NO | NO | NEVER + 45 | shorty | id | 1 | | | | 1 | NO | NO | NEVER + 45 | shorty | c | 2 | | | | 2 | NO | NO | NEVER + 46 | A a | col | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | name | 1 | | | | 1 | NO | NO | NEVER + 47 | fts_table | description | 2 | | | | 2 | NO | NO | NEVER + 48 | fts_table_data | id | 1 | | | | 1 | NO | NO | NEVER + 48 | fts_table_data | block | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | segid | 1 | | | | 1 | NO | NO | NEVER + 49 | fts_table_idx | term | 2 | | | | 2 | NO | NO | NEVER + 49 | fts_table_idx | pgno | 3 | | | | 3 | NO | NO | NEVER + 50 | fts_table_content | id | 1 | | | | 1 | NO | NO | NEVER + 50 | fts_table_content | c0 | 2 | | | | 2 | NO | NO | NEVER + 50 | fts_table_content | c1 | 3 | | | | 3 | NO | NO | NEVER + 51 | fts_table_docsize | id | 1 | | | | 1 | NO | NO | NEVER + 51 | fts_table_docsize | sz | 2 | | | | 2 | NO | NO | NEVER + 52 | fts_table_config | k | 1 | | | | 1 | NO | NO | NEVER + 52 | fts_table_config | v | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | i | 1 | | | | 1 | NO | NO | NEVER + 53 | RO_RW_test | a | 2 | | | | 2 | NO | NO | NEVER + 53 | RO_RW_test | b | 3 | | | | 3 | NO | NO | NEVER + 53 | RO_RW_test | c | 4 | | | | 4 | NO | NO | NEVER + 54 | Unicode data | i | 1 | | | | 1 | NO | NO | NEVER + 54 | Unicode data | t | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i | 1 | | | | 1 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i1 | 2 | | | | 2 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b1 | 3 | | | | 3 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | i2 | 4 | | | | 4 | NO | NO | NEVER + 55 | type_BOOLEAN_oper | b2 | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | geom | 1 | | | | 1 | NO | NO | NEVER + 56 | ♁ | osm_type | 2 | | | | 2 | NO | NO | NEVER + 56 | ♁ | osm_id | 3 | | | | 3 | NO | NO | NEVER + 56 | ♁ | ver | 4 | | | | 4 | NO | NO | NEVER + 56 | ♁ | arr | 5 | | | | 5 | NO | NO | NEVER + 56 | ♁ | t | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | id | 1 | | | | 1 | NO | NO | NEVER + 57 | ♂ | UAI | 2 | | | | 2 | NO | NO | NEVER + 57 | ♂ | ⌖ | 3 | | | | 3 | NO | NO | NEVER + 57 | ♂ | geom | 4 | | | | 4 | NO | NO | NEVER + 57 | ♂ | t₀ | 5 | | | | 5 | NO | NO | NEVER + 57 | ♂ | class | 6 | | | | 6 | NO | NO | NEVER + 57 | ♂ | URL | 7 | | | | 7 | NO | NO | NEVER +(162 rows) --Testcase 11: SELECT * FROM information_schema.column_options @@ -612,6 +623,8 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | type_UUIDpk | col | key | true contrib_regression | public | type_MACADDRpk | col | key | true contrib_regression | public | type_MACADDR8pk | col | key | true + contrib_regression | public | type_INETpk | col | key | true + contrib_regression | public | type_INET | i | key | true contrib_regression | public | BitT | p | key | true contrib_regression | public | type_TEXT | col | key | true contrib_regression | public | shorty | id | key | true @@ -624,7 +637,7 @@ IN (SELECT foreign_table_catalog, foreign_table_schema, foreign_table_name FROM contrib_regression | public | fts_table_config | k | key | true contrib_regression | public | RO_RW_test | i | key | true contrib_regression | public | Unicode data | i | key | true -(41 rows) +(43 rows) --Testcase 11: DROP VIEW fc; From 46750f36b61ffe9c189cd6f9d04741433288a567 Mon Sep 17 00:00:00 2001 From: mkgrgis Date: Mon, 14 Apr 2025 13:41:27 +0300 Subject: [PATCH 3/4] Fix common type test for GIS mode --- expected/13.15/with_gis_support/type.out | 61 ------------------------ expected/14.12/with_gis_support/type.out | 61 ------------------------ expected/15.7/with_gis_support/type.out | 61 ------------------------ expected/16.3/with_gis_support/type.out | 61 ------------------------ 4 files changed, 244 deletions(-) diff --git a/expected/13.15/with_gis_support/type.out b/expected/13.15/with_gis_support/type.out index 0ffee84c..619bb46e 100644 --- a/expected/13.15/with_gis_support/type.out +++ b/expected/13.15/with_gis_support/type.out @@ -535,64 +535,3 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; -<<<<<<< HEAD:expected/13.15/with_gis_support/type.out -======= -NOTICE: drop cascades to 57 other objects -DETAIL: drop cascades to server sqlite_svr -drop cascades to foreign table department -drop cascades to foreign table employee -drop cascades to foreign table empdata -drop cascades to foreign table numbers -drop cascades to foreign table t -drop cascades to foreign table multiprimary -drop cascades to foreign table columntest -drop cascades to foreign table noprimary -drop cascades to foreign table limittest -drop cascades to foreign table grem1_1 -drop cascades to foreign table grem1_2 -drop cascades to foreign table case_exp -drop cascades to foreign table "type_STRING" -drop cascades to foreign table "type_BOOLEANpk" -drop cascades to foreign table "type_BYTE" -drop cascades to foreign table "type_SINT" -drop cascades to foreign table "type_BINT" -drop cascades to foreign table "type_INTEGER" -drop cascades to foreign table "type_FLOAT" -drop cascades to foreign table "type_DOUBLE" -drop cascades to foreign table "type_TIMESTAMP" -drop cascades to foreign table "type_BLOB" -drop cascades to foreign table "type_DATE" -drop cascades to foreign table "type_TIME" -drop cascades to foreign table "type_BIT" -drop cascades to foreign table "type_VARBIT" -drop cascades to foreign table "type_UUIDpk" -drop cascades to foreign table "type_UUID" -drop cascades to foreign table "type_MACADDRpk" -drop cascades to foreign table "type_MACADDR" -drop cascades to foreign table "type_MACADDR8pk" -drop cascades to foreign table "type_MACADDR8" -drop cascades to foreign table "type_INETpk" -drop cascades to foreign table "type_INET" -drop cascades to foreign table "types_PostGIS" -drop cascades to foreign table "BitT" -drop cascades to foreign table notype -drop cascades to foreign table typetest -drop cascades to foreign table "type_TEXT" -drop cascades to foreign table alltypetest -drop cascades to foreign table shorty -drop cascades to foreign table "A a" -drop cascades to foreign table fts_table -drop cascades to foreign table fts_table_data -drop cascades to foreign table fts_table_idx -drop cascades to foreign table fts_table_content -drop cascades to foreign table fts_table_docsize -drop cascades to foreign table fts_table_config -drop cascades to foreign table "RO_RW_test" -drop cascades to foreign table "Unicode data" -drop cascades to foreign table "type_BOOLEAN_oper" -drop cascades to foreign table "♁" -drop cascades to foreign table "♂" -drop cascades to foreign table type_json -drop cascades to foreign table "type_BOOLEAN" -drop cascades to server sqlite2 ->>>>>>> 8f05c67 (Initial inet data type implementation):expected/14.12/type_nogis.out diff --git a/expected/14.12/with_gis_support/type.out b/expected/14.12/with_gis_support/type.out index cfb2d40c..619bb46e 100644 --- a/expected/14.12/with_gis_support/type.out +++ b/expected/14.12/with_gis_support/type.out @@ -535,64 +535,3 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; -<<<<<<< HEAD:expected/14.12/with_gis_support/type.out -======= -NOTICE: drop cascades to 57 other objects -DETAIL: drop cascades to server sqlite_svr -drop cascades to foreign table department -drop cascades to foreign table employee -drop cascades to foreign table empdata -drop cascades to foreign table numbers -drop cascades to foreign table t -drop cascades to foreign table multiprimary -drop cascades to foreign table columntest -drop cascades to foreign table noprimary -drop cascades to foreign table limittest -drop cascades to foreign table grem1_1 -drop cascades to foreign table grem1_2 -drop cascades to foreign table case_exp -drop cascades to foreign table "type_STRING" -drop cascades to foreign table "type_BOOLEANpk" -drop cascades to foreign table "type_BYTE" -drop cascades to foreign table "type_SINT" -drop cascades to foreign table "type_BINT" -drop cascades to foreign table "type_INTEGER" -drop cascades to foreign table "type_FLOAT" -drop cascades to foreign table "type_DOUBLE" -drop cascades to foreign table "type_TIMESTAMP" -drop cascades to foreign table "type_BLOB" -drop cascades to foreign table "type_DATE" -drop cascades to foreign table "type_TIME" -drop cascades to foreign table "type_BIT" -drop cascades to foreign table "type_VARBIT" -drop cascades to foreign table "type_UUIDpk" -drop cascades to foreign table "type_UUID" -drop cascades to foreign table "type_MACADDRpk" -drop cascades to foreign table "type_MACADDR" -drop cascades to foreign table "type_MACADDR8pk" -drop cascades to foreign table "type_MACADDR8" -drop cascades to foreign table "type_INETpk" -drop cascades to foreign table "type_INET" -drop cascades to foreign table "types_PostGIS" -drop cascades to foreign table "BitT" -drop cascades to foreign table notype -drop cascades to foreign table typetest -drop cascades to foreign table "type_TEXT" -drop cascades to foreign table alltypetest -drop cascades to foreign table shorty -drop cascades to foreign table "A a" -drop cascades to foreign table fts_table -drop cascades to foreign table fts_table_data -drop cascades to foreign table fts_table_idx -drop cascades to foreign table fts_table_content -drop cascades to foreign table fts_table_docsize -drop cascades to foreign table fts_table_config -drop cascades to foreign table "RO_RW_test" -drop cascades to foreign table "Unicode data" -drop cascades to foreign table "type_BOOLEAN_oper" -drop cascades to foreign table "♁" -drop cascades to foreign table "♂" -drop cascades to foreign table type_json -drop cascades to foreign table "type_BOOLEAN" -drop cascades to server sqlite2 ->>>>>>> 8f05c67 (Initial inet data type implementation):expected/13.15/type_nogis.out diff --git a/expected/15.7/with_gis_support/type.out b/expected/15.7/with_gis_support/type.out index b6664da1..619bb46e 100644 --- a/expected/15.7/with_gis_support/type.out +++ b/expected/15.7/with_gis_support/type.out @@ -535,64 +535,3 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; -<<<<<<< HEAD:expected/15.7/with_gis_support/type.out -======= -NOTICE: drop cascades to 57 other objects -DETAIL: drop cascades to server sqlite_svr -drop cascades to foreign table department -drop cascades to foreign table employee -drop cascades to foreign table empdata -drop cascades to foreign table numbers -drop cascades to foreign table t -drop cascades to foreign table multiprimary -drop cascades to foreign table columntest -drop cascades to foreign table noprimary -drop cascades to foreign table limittest -drop cascades to foreign table grem1_1 -drop cascades to foreign table grem1_2 -drop cascades to foreign table case_exp -drop cascades to foreign table "type_STRING" -drop cascades to foreign table "type_BOOLEANpk" -drop cascades to foreign table "type_BYTE" -drop cascades to foreign table "type_SINT" -drop cascades to foreign table "type_BINT" -drop cascades to foreign table "type_INTEGER" -drop cascades to foreign table "type_FLOAT" -drop cascades to foreign table "type_DOUBLE" -drop cascades to foreign table "type_TIMESTAMP" -drop cascades to foreign table "type_BLOB" -drop cascades to foreign table "type_DATE" -drop cascades to foreign table "type_TIME" -drop cascades to foreign table "type_BIT" -drop cascades to foreign table "type_VARBIT" -drop cascades to foreign table "type_UUIDpk" -drop cascades to foreign table "type_UUID" -drop cascades to foreign table "type_MACADDRpk" -drop cascades to foreign table "type_MACADDR" -drop cascades to foreign table "type_MACADDR8pk" -drop cascades to foreign table "type_MACADDR8" -drop cascades to foreign table "type_INETpk" -drop cascades to foreign table "type_INET" -drop cascades to foreign table "types_PostGIS" -drop cascades to foreign table "BitT" -drop cascades to foreign table notype -drop cascades to foreign table typetest -drop cascades to foreign table "type_TEXT" -drop cascades to foreign table alltypetest -drop cascades to foreign table shorty -drop cascades to foreign table "A a" -drop cascades to foreign table fts_table -drop cascades to foreign table fts_table_data -drop cascades to foreign table fts_table_idx -drop cascades to foreign table fts_table_content -drop cascades to foreign table fts_table_docsize -drop cascades to foreign table fts_table_config -drop cascades to foreign table "RO_RW_test" -drop cascades to foreign table "Unicode data" -drop cascades to foreign table "type_BOOLEAN_oper" -drop cascades to foreign table "♁" -drop cascades to foreign table "♂" -drop cascades to foreign table type_json -drop cascades to foreign table "type_BOOLEAN" -drop cascades to server sqlite2 ->>>>>>> 8f05c67 (Initial inet data type implementation):expected/16.3/type_nogis.out diff --git a/expected/16.3/with_gis_support/type.out b/expected/16.3/with_gis_support/type.out index 2ff00057..619bb46e 100644 --- a/expected/16.3/with_gis_support/type.out +++ b/expected/16.3/with_gis_support/type.out @@ -535,64 +535,3 @@ SELECT * FROM "type_DOUBLE"; -- OK, +- Inf SET client_min_messages TO ERROR; --Testcase 301: no details DROP EXTENSION sqlite_fdw CASCADE; -<<<<<<< HEAD:expected/16.3/with_gis_support/type.out -======= -NOTICE: drop cascades to 57 other objects -DETAIL: drop cascades to server sqlite_svr -drop cascades to foreign table department -drop cascades to foreign table employee -drop cascades to foreign table empdata -drop cascades to foreign table numbers -drop cascades to foreign table t -drop cascades to foreign table multiprimary -drop cascades to foreign table columntest -drop cascades to foreign table noprimary -drop cascades to foreign table limittest -drop cascades to foreign table grem1_1 -drop cascades to foreign table grem1_2 -drop cascades to foreign table case_exp -drop cascades to foreign table "type_STRING" -drop cascades to foreign table "type_BOOLEANpk" -drop cascades to foreign table "type_BYTE" -drop cascades to foreign table "type_SINT" -drop cascades to foreign table "type_BINT" -drop cascades to foreign table "type_INTEGER" -drop cascades to foreign table "type_FLOAT" -drop cascades to foreign table "type_DOUBLE" -drop cascades to foreign table "type_TIMESTAMP" -drop cascades to foreign table "type_BLOB" -drop cascades to foreign table "type_DATE" -drop cascades to foreign table "type_TIME" -drop cascades to foreign table "type_BIT" -drop cascades to foreign table "type_VARBIT" -drop cascades to foreign table "type_UUIDpk" -drop cascades to foreign table "type_UUID" -drop cascades to foreign table "type_MACADDRpk" -drop cascades to foreign table "type_MACADDR" -drop cascades to foreign table "type_MACADDR8pk" -drop cascades to foreign table "type_MACADDR8" -drop cascades to foreign table "type_INETpk" -drop cascades to foreign table "type_INET" -drop cascades to foreign table "types_PostGIS" -drop cascades to foreign table "BitT" -drop cascades to foreign table notype -drop cascades to foreign table typetest -drop cascades to foreign table "type_TEXT" -drop cascades to foreign table alltypetest -drop cascades to foreign table shorty -drop cascades to foreign table "A a" -drop cascades to foreign table fts_table -drop cascades to foreign table fts_table_data -drop cascades to foreign table fts_table_idx -drop cascades to foreign table fts_table_content -drop cascades to foreign table fts_table_docsize -drop cascades to foreign table fts_table_config -drop cascades to foreign table "RO_RW_test" -drop cascades to foreign table "Unicode data" -drop cascades to foreign table "type_BOOLEAN_oper" -drop cascades to foreign table "♁" -drop cascades to foreign table "♂" -drop cascades to foreign table type_json -drop cascades to foreign table "type_BOOLEAN" -drop cascades to server sqlite2 ->>>>>>> 8f05c67 (Initial inet data type implementation):expected/15.7/type_nogis.out From 0234a7b059841c16a734a4ae791f792f9d111234 Mon Sep 17 00:00:00 2001 From: mkgrgis Date: Mon, 14 Apr 2025 13:58:28 +0300 Subject: [PATCH 4/4] Minor fixes --- sqlite_query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlite_query.c b/sqlite_query.c index 49484103..2ea930a5 100644 --- a/sqlite_query.c +++ b/sqlite_query.c @@ -735,6 +735,7 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * /* common, not PostGIS case */ valstr = sqlite_text_value_to_pg_db_encoding(val); } + break; } } /* convert string value to appropriate type value */ @@ -745,7 +746,6 @@ sqlite_convert_to_pg(Form_pg_attribute att, sqlite3_value * val, AttInMetadata * return (struct NullableDatum){value_datum, false}; } - /* * sqlite_datum_to_blob * Common part of extracting and preparing PostgreSQL bytea data