add remove split language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
SET
current_setting effective_schemas schemas_plus_implicit
"$user", public {public} {pg_catalog,public}
SELECT 1
DO
current_setting effective_schemas schemas_plus_implicit
"$user", public {u_1476741582,public} {pg_catalog,u_1476741582,public}
SELECT 1
SET
current_setting effective_schemas schemas_plus_implicit
non_existent_schema, public, pg_temp {public} {pg_catalog,public}
SELECT 1
CREATE TABLE
current_setting effective_schemas schemas_plus_implicit
non_existent_schema, public, pg_temp {public,pg_temp_3} {pg_catalog,public,pg_temp_3}
SELECT 1
regclass regclass
foo foo_tmp
SELECT 1
table_name exists
foo t
SELECT 1
ERROR:  relation "bar" does not exist
LINE 2: SELECT 'bar'::regclass;  -- does not exist
               ^