I was recently surprised by the following inconsistencies in returned
command tags for CTAS:
postgres=# create table a as select 123;
SELECT 1
postgres=# create table b as select 123 with data;
SELECT 1
postgres=# create table c as select 123 with no data;
CREATE TABLE AS
Shouldn't we make the first two tags (which are likely the same code
path; I haven't looked) the same as the third? I can look into writing
the patch if desired.
--
Vik Fearing