Re: CTAS command tags

From: Andreas Karlsson <andreas(at)proxel(dot)se>
To: Darafei "Komяpa" Praliaskouski <me(at)komzpa(dot)net>, Vik Fearing <vik(at)postgresfriends(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CTAS command tags
Date: 2021-01-22 15:40:49
Message-ID: a2270a18-e61c-25d0-c8b2-c2f67f0cc274@proxel.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/22/21 2:19 PM, Darafei "Komяpa" Praliaskouski wrote:
> Having row count right away is very useful in CTAS in analytical and GIS
> usage scenarios.

I can see that, but would it not work if it was:

CREATE TABLE AS 1

Disclaimer: I have not looked at the code so maybe there is some good
reason that would not work.

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2021-01-22 15:42:33 Re: Add primary keys to system catalogs
Previous Message Masahiko Sawada 2021-01-22 14:42:30 Re: Commitfest 2021-01 Now in Progress