DETAIL: The feature is not currently supported
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
DETAIL: The feature is not currently supported
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
DETAIL: The feature is not currently supported
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
ERROR: foreign-data wrapper "foo" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
ERROR: foreign-data wrapper "foo" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
ERROR: foreign-data wrapper "foo" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
ERROR: foreign-data wrapper "foo" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
ERROR: foreign-data wrapper "foo" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
RESET ROLE;
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
ERROR: foreign-data wrapper "foo" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
NOTICE: foreign-data wrapper "nonexistent" does not exist, skipping
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
ERROR: role "regress_test_role_super" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
NOTICE: user mapping for "regress_foreign_data_user" already exists for server s1, skipping
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
\des+
List of foreign servers
- Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW Options | Description
+ Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
------+-------+----------------------+-------------------+------+---------+-------------+-------------
(0 rows)
\deu+
List of user mappings
- Server | User name | FDW Options
+ Server | User name | FDW options
--------+-----------+-------------
(0 rows)
ERROR: foreign-data wrapper "foo" does not exist
\dew+
List of foreign-data wrappers
- Name | Owner | Handler | Validator | Access privileges | FDW Options | Description
+ Name | Owner | Handler | Validator | Access privileges | FDW options | Description
------+-------+---------+-----------+-------------------+-------------+-------------
(0 rows)
DETAIL: The feature is not currently supported
\des+
List of foreign servers
- Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW Options | Description
+ Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
------+-------+----------------------+-------------------+------+---------+-------------+-------------
(0 rows)
SET ROLE regress_test_role;
RESET ROLE;
\des+
List of foreign servers
- Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW Options | Description
+ Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
------+-------+----------------------+-------------------+------+---------+-------------+-------------
(0 rows)
DETAIL: The feature is not currently supported
\des+
List of foreign servers
- Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW Options | Description
+ Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
------+-------+----------------------+-------------------+------+---------+-------------+-------------
(0 rows)
ERROR: server "s6" does not exist
\des+
List of foreign servers
- Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW Options | Description
+ Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
------+-------+----------------------+-------------------+------+---------+-------------+-------------
(0 rows)
DROP ROLE regress_test_indirect; -- ERROR
\des+
List of foreign servers
- Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW Options | Description
+ Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
------+-------+----------------------+-------------------+------+---------+-------------+-------------
(0 rows)
ERROR: server "s8" does not exist
\des+
List of foreign servers
- Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW Options | Description
+ Name | Owner | Foreign-data wrapper | Access privileges | Type | Version | FDW options | Description
------+-------+----------------------+-------------------+------+---------+-------------+-------------
(0 rows)
RESET ROLE;
\deu+
List of user mappings
- Server | User name | FDW Options
+ Server | User name | FDW options
--------+-----------+-------------
(0 rows)
\d+ ft1
\det+
List of foreign tables
- Schema | Table | Server | FDW Options | Description
+ Schema | Table | Server | FDW options | Description
--------+-------+--------+-------------+-------------
(0 rows)
SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value');
ERROR: server "s0" does not exist
\d+ pt1
- Table "public.pt1"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+----------+--------------+-------------
- c1 | integer | not null | plain | |
- c2 | text | | extended | |
- c3 | date | | plain | |
+ Table "public.pt1"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+----------+--------------+-------------
+ c1 | integer | | not null | | plain | |
+ c2 | text | | | | extended | |
+ c3 | date | | | | plain | |
Distribute By: HASH(c1)
Location Nodes: ALL DATANODES
ALTER TABLE pt1 ADD COLUMN c7 integer NOT NULL;
ALTER TABLE pt1 ADD COLUMN c8 integer;
\d+ pt1
- Table "public.pt1"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+----------+--------------+-------------
- c1 | integer | not null | plain | |
- c2 | text | | extended | |
- c3 | date | | plain | |
- c4 | integer | | plain | |
- c5 | integer | default 0 | plain | |
- c6 | integer | | plain | |
- c7 | integer | not null | plain | |
- c8 | integer | | plain | |
+ Table "public.pt1"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+----------+--------------+-------------
+ c1 | integer | | not null | | plain | |
+ c2 | text | | | | extended | |
+ c3 | date | | | | plain | |
+ c4 | integer | | | | plain | |
+ c5 | integer | | | 0 | plain | |
+ c6 | integer | | | | plain | |
+ c7 | integer | | not null | | plain | |
+ c8 | integer | | | | plain | |
Distribute By: HASH(c1)
Location Nodes: ALL DATANODES
ALTER TABLE pt1 ALTER COLUMN c8 SET STATISTICS -1;
ALTER TABLE pt1 ALTER COLUMN c8 SET STORAGE EXTERNAL;
\d+ pt1
- Table "public.pt1"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+----------+--------------+-------------
- c1 | integer | not null | plain | 10000 |
- c2 | text | | extended | |
- c3 | date | | plain | |
- c4 | integer | default 0 | plain | |
- c5 | integer | | plain | |
- c6 | integer | not null | plain | |
- c7 | integer | | plain | |
- c8 | text | | external | |
+ Table "public.pt1"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+----------+--------------+-------------
+ c1 | integer | | not null | | plain | 10000 |
+ c2 | text | | | | extended | |
+ c3 | date | | | | plain | |
+ c4 | integer | | | 0 | plain | |
+ c5 | integer | | | | plain | |
+ c6 | integer | | not null | | plain | |
+ c7 | integer | | | | plain | |
+ c8 | text | | | | external | |
Distribute By: HASH(c1)
Location Nodes: ALL DATANODES
ALTER TABLE pt1 DROP COLUMN c7;
ALTER TABLE pt1 DROP COLUMN c8;
\d+ pt1
- Table "public.pt1"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+----------+--------------+-------------
- c1 | integer | not null | plain | 10000 |
- c2 | text | | extended | |
- c3 | date | | plain | |
+ Table "public.pt1"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+----------+--------------+-------------
+ c1 | integer | | not null | | plain | 10000 |
+ c2 | text | | | | extended | |
+ c3 | date | | | | plain | |
Distribute By: HASH(c1)
Location Nodes: ALL DATANODES
SET search_path TO testschema;
CREATE TABLE testtab (a int);
\d+ testtab
- Table "testschema.testtab"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+---------+--------------+-------------
- a | integer | | plain | |
+ Table "testschema.testtab"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+---------+--------------+-------------
+ a | integer | | | | plain | |
Distribute By: HASH(a)
Location Nodes: ALL DATANODES
SET search_path TO "testschema";
CREATE TABLE testtab (a int);
\d+ testtab
- Table "testschema.testtab"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+---------+--------------+-------------
- a | integer | | plain | |
+ Table "testschema.testtab"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+---------+--------------+-------------
+ a | integer | | | | plain | |
Distribute By: HASH(a)
Location Nodes: ALL DATANODES
SET search_path TO testschema, "testschema 2";
CREATE TABLE testtab (a int);
\d+ testtab
- Table "testschema.testtab"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+---------+--------------+-------------
- a | integer | | plain | |
+ Table "testschema.testtab"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+---------+--------------+-------------
+ a | integer | | | | plain | |
Distribute By: HASH(a)
Location Nodes: ALL DATANODES
SET search_path TO "testschema 3", "testschema 2";
CREATE TABLE testtab (a int);
\d+ testtab
- Table "testschema 3.testtab"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+---------+--------------+-------------
- a | integer | | plain | |
+ Table "testschema 3.testtab"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+---------+--------------+-------------
+ a | integer | | | | plain | |
Distribute By: HASH(a)
Location Nodes: ALL DATANODES
SET search_path TO "SELECT", "testschema 3";
CREATE TABLE testtab (a int);
\d+ testtab
- Table "SELECT.testtab"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+---------+--------------+-------------
- a | integer | | plain | |
+ Table "SELECT.testtab"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+---------+--------------+-------------
+ a | integer | | | | plain | |
Distribute By: HASH(a)
Location Nodes: ALL DATANODES
CREATE TABLE "testschema 3".testtab (a int);
\d+ testtab
- Table "SELECT.testtab"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+---------+--------------+-------------
- a | integer | | plain | |
+ Table "SELECT.testtab"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+---------+--------------+-------------
+ a | integer | | | | plain | |
Distribute By: HASH(a)
Location Nodes: ALL DATANODES
(3 rows)
\d+ testtab
- Table "SELECT.testtab"
- Column | Type | Modifiers | Storage | Stats target | Description
---------+---------+-----------+---------+--------------+-------------
- a | integer | | plain | |
+ Table "SELECT.testtab"
+ Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
+--------+---------+-----------+----------+---------+---------+--------------+-------------
+ a | integer | | | | plain | |
Distribute By: HASH(a)
Location Nodes: ALL DATANODES