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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Sep 17 17:43:00 MSK 2020


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).


More information about the Tarantool-patches mailing list