By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE FUNCTION
CREATE TABLE
INSERT 0 1
CREATE TABLE
INSERT 0 1
CREATE TABLE
CREATE TABLE
INSERT 0 1
| truncate_if_exists |
|---|
| Table not found: custom_schema."CaMeL" |
SELECT 1
| truncate_if_exists |
|---|
| Table truncated: "CaMeL" |
SELECT 1
| truncate_if_exists |
|---|
| Table exists but is empty: "CaMeL" |
SELECT 1
| truncate_if_exists |
|---|
| Table truncated: tbl_full |
SELECT 1
| truncate_if_exists |
|---|
| Table exists but is empty: tbl_empty |
SELECT 1
| truncate_if_exists |
|---|
| Table truncated: tmp_tbl |
SELECT 1
| truncate_if_exists |
|---|
| Table exists but is empty: pg_temp_3.tmp_tbl |
SELECT 1