By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
| is_nullable | column_default | table_catalog | table_schema | table_name | column_name | ordinal_position | column_default | is_nullable | data_type | character_maximum_length | character_octet_length | numeric_precision | numeric_precision_radix | numeric_scale | datetime_precision | interval_type | interval_precision | character_set_catalog | character_set_schema | character_set_name | collation_catalog | collation_schema | collation_name | domain_catalog | domain_schema | domain_name | udt_catalog | udt_schema | udt_name | scope_catalog | scope_schema | scope_name | maximum_cardinality | dtd_identifier | is_self_referencing | is_identity | identity_generation | identity_start | identity_increment | identity_maximum | identity_minimum | identity_cycle | is_generated | generation_expression | is_updatable |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NO | null | postgres | public | errors | user_id | 1 | null | NO | integer | null | null | 32 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | int4 | null | null | null | null | 1 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | null | postgres | public | errors | name | 2 | null | NO | text | null | 1073741824 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | text | null | null | null | null | 2 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | null | postgres | public | errors | salary | 3 | null | NO | double precision | null | null | 53 | 2 | null | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | float8 | null | null | null | null | 3 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | null | postgres | public | errors | created_at | 4 | null | NO | timestamp with time zone | null | null | null | null | null | 6 | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | timestamptz | null | null | null | null | 4 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | null | postgres | public | errors | duration | 5 | null | NO | tstzrange | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | tstzrange | null | null | null | null | 5 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
SELECT 5
ALTER TABLE
| is_nullable | column_default | table_catalog | table_schema | table_name | column_name | ordinal_position | column_default | is_nullable | data_type | character_maximum_length | character_octet_length | numeric_precision | numeric_precision_radix | numeric_scale | datetime_precision | interval_type | interval_precision | character_set_catalog | character_set_schema | character_set_name | collation_catalog | collation_schema | collation_name | domain_catalog | domain_schema | domain_name | udt_catalog | udt_schema | udt_name | scope_catalog | scope_schema | scope_name | maximum_cardinality | dtd_identifier | is_self_referencing | is_identity | identity_generation | identity_start | identity_increment | identity_maximum | identity_minimum | identity_cycle | is_generated | generation_expression | is_updatable |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| NO | 0 | postgres | public | errors | user_id | 1 | 0 | NO | integer | null | null | 32 | 2 | 0 | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | int4 | null | null | null | null | 1 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | ''::text | postgres | public | errors | name | 2 | ''::text | NO | text | null | 1073741824 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | text | null | null | null | null | 2 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | 0.0 | postgres | public | errors | salary | 3 | 0.0 | NO | double precision | null | null | 53 | 2 | null | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | float8 | null | null | null | null | 3 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | '-infinity'::timestamp with time zone | postgres | public | errors | created_at | 4 | '-infinity'::timestamp with time zone | NO | timestamp with time zone | null | null | null | null | null | 6 | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | timestamptz | null | null | null | null | 4 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
| NO | '[-infinity,infinity)'::tstzrange | postgres | public | errors | duration | 5 | '[-infinity,infinity)'::tstzrange | NO | tstzrange | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | postgres | pg_catalog | tstzrange | null | null | null | null | 5 | NO | NO | null | null | null | null | null | NO | NEVER | null | YES |
SELECT 5