[Tarantool-patches] [PATCH v4 2/6] sql: refactor create_table_def and parse

Nikita Pettik korablev at tarantool.org
Fri Sep 18 15:31:59 MSK 2020


On 17 Sep 16:43, Vladislav Shpilevoy wrote:
> On 16.09.2020 15:27, Nikita Pettik wrote:
> > On 12 Sep 00:51, Roman Khabibov wrote:
> >> Move ck, fk constraint lists and autoincrement info from
> >> struct create_table_def to struct Parse to make the code more
> >> reusable when implementing <ALTER TABLE ADD COLUMN>.
> >>
> >> Needed for #3075
> >> ---
> > 
> > Does ANSI allow to include constraints in ADD COLUMN statement?
> 
> Yes.
> 
> > Why did you decide to add autoincrement to this list? Was there any
> > discussion on this subj?
> 
> There is nothing to discuss. It is either a part of the standard or
> not. Romain said it is (I didn't check though).

Unfortunatelly, this is false statement - autoincrement is not a part of
standard (I've checked 2011 edition).



More information about the Tarantool-patches mailing list