Re: CREATE TABLE ( .. STORAGE ..) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: CREATE TABLE ( .. STORAGE ..)
Date
Msg-id 7166e46b-e718-3f3f-c165-ab321cc5dfaa@enterprisedb.com
Whole thread Raw
In response to Re: CREATE TABLE ( .. STORAGE ..)  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Responses Re: CREATE TABLE ( .. STORAGE ..)
List 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.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: CREATE TABLE ( .. STORAGE ..)
Next
From: "Drouvot, Bertrand"
Date:
Subject: Re: [PATCH] Expose port->authn_id to extensions and triggers