4 -- table (will be really dropped at the end)
5 DROP TABLE test_exists;
6 ERROR: table "test_exists" does not exist
7 DROP TABLE IF EXISTS test_exists;
8 NOTICE: table "test_exists" does not exist, skipping
9 CREATE TABLE test_exists (a int, b text);
11 DROP VIEW test_view_exists;
12 ERROR: view "test_view_exists" does not exist
13 DROP VIEW IF EXISTS test_view_exists;
14 NOTICE: view "test_view_exists" does not exist, skipping
15 CREATE VIEW test_view_exists AS select * from test_exists;
16 DROP VIEW IF EXISTS test_view_exists;
17 DROP VIEW test_view_exists;
18 ERROR: view "test_view_exists" does not exist
20 DROP INDEX test_index_exists;
21 ERROR: index "test_index_exists" does not exist
22 DROP INDEX IF EXISTS test_index_exists;
23 NOTICE: index "test_index_exists" does not exist, skipping
24 CREATE INDEX test_index_exists on test_exists(a);
25 DROP INDEX IF EXISTS test_index_exists;
26 DROP INDEX test_index_exists;
27 ERROR: index "test_index_exists" does not exist
29 DROP SEQUENCE test_sequence_exists;
30 ERROR: sequence "test_sequence_exists" does not exist
31 DROP SEQUENCE IF EXISTS test_sequence_exists;
32 NOTICE: sequence "test_sequence_exists" does not exist, skipping
33 CREATE SEQUENCE test_sequence_exists;
34 DROP SEQUENCE IF EXISTS test_sequence_exists;
35 DROP SEQUENCE test_sequence_exists;
36 ERROR: sequence "test_sequence_exists" does not exist
38 DROP SCHEMA test_schema_exists;
39 ERROR: schema "test_schema_exists" does not exist
40 DROP SCHEMA IF EXISTS test_schema_exists;
41 NOTICE: schema "test_schema_exists" does not exist, skipping
42 CREATE SCHEMA test_schema_exists;
43 DROP SCHEMA IF EXISTS test_schema_exists;
44 DROP SCHEMA test_schema_exists;
45 ERROR: schema "test_schema_exists" does not exist
47 DROP TYPE test_type_exists;
48 ERROR: type "test_type_exists" does not exist
49 DROP TYPE IF EXISTS test_type_exists;
50 NOTICE: type "test_type_exists" does not exist, skipping
51 CREATE type test_type_exists as (a int, b text);
52 DROP TYPE IF EXISTS test_type_exists;
53 DROP TYPE test_type_exists;
54 ERROR: type "test_type_exists" does not exist
56 DROP DOMAIN test_domain_exists;
57 ERROR: type "test_domain_exists" does not exist
58 DROP DOMAIN IF EXISTS test_domain_exists;
59 NOTICE: type "test_domain_exists" does not exist, skipping
60 CREATE domain test_domain_exists as int not null check (value > 0);
61 DROP DOMAIN IF EXISTS test_domain_exists;
62 DROP DOMAIN test_domain_exists;
63 ERROR: type "test_domain_exists" does not exist
65 DROP TABLE IF EXISTS test_exists;
66 DROP TABLE test_exists;
67 ERROR: table "test_exists" does not exist
75 ERROR: role "tu2" does not exist
76 DROP USER IF EXISTS tu1, tu2;
77 NOTICE: role "tu2" does not exist, skipping
79 ERROR: role "tu1" does not exist
81 ERROR: role "tr2" does not exist
82 DROP ROLE IF EXISTS tr1, tr2;
83 NOTICE: role "tr2" does not exist, skipping
85 ERROR: role "tr1" does not exist
87 ERROR: role "tg2" does not exist
88 DROP GROUP IF EXISTS tg1, tg2;
89 NOTICE: role "tg2" does not exist, skipping
91 ERROR: role "tg1" does not exist