Re: CREATE TABLE ( .. STORAGE ..)

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: wenjing zeng <wjzeng2012(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CREATE TABLE ( .. STORAGE ..)
Date: 2022-06-22 13:29:24
Message-ID: 7166e46b-e718-3f3f-c165-ab321cc5dfaa@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 29.03.22 22:28, Matthias van de Meent wrote:
> As I'm new to the grammar files; would you know the difference between
> `name` and `ColId`, and why you would change from one to the other in
> ALTER COLUMN STORAGE?

The grammar says

name: ColId { $$ = $1; };

so it doesn't matter technically.

It seems we are using "name" mostly for names of objects, so I wouldn't
use it here for storage or compression types.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Drouvot, Bertrand 2022-06-22 13:31:16 Re: [PATCH] Expose port->authn_id to extensions and triggers
Previous Message Peter Eisentraut 2022-06-22 13:25:48 Re: CREATE TABLE ( .. STORAGE ..)