Re: [PATCHES] Non-colliding auto generated names
От
Tom Lane
Тема
Re: [PATCHES] Non-colliding auto generated names
Дата
Msg-id
3096.1046916539@sss.pgh.pa.us
Ответ на
Re: [PATCHES] Non-colliding auto generated names (Christopher Kings-Lynne)
Список
Дерево обсуждения
Re: [PATCHES] Non-colliding auto generated names "Christopher Kings-Lynne" <chriskl@familyhealth.com.au>
Re: [PATCHES] Non-colliding auto generated names Bruce Momjian <pgman@candle.pha.pa.us>
Re: [PATCHES] Non-colliding auto generated names Rod Taylor <rbt@rbt.ca>
Re: [PATCHES] Non-colliding auto generated names Bruce Momjian <pgman@candle.pha.pa.us>
Re: [PATCHES] Non-colliding auto generated names Rod Taylor <rbt@rbt.ca>
Re: [PATCHES] Non-colliding auto generated names Bruce Momjian <pgman@candle.pha.pa.us>
Re: [PATCHES] Non-colliding auto generated names Tom Lane <tgl@sss.pgh.pa.us>
"Christopher Kings-Lynne" writes: >> I think we should stick with the existing naming convention. ^^^^^^^^^^^^^^^^^^^^^^^^^^ > Non-colliding? No; see above. > Otherwise, it'd be ludicrous to fail a table rename because > a sequence with the new name already exists... Why? We already rename the table's rowtype, ergo you can fail a table rename because there is a conflicting datatype name. I don't see anything much wrong with failing a table or column rename because there is a conflicting sequence name. The whole point here is to have a non-surprising mapping between the names of serial columns and the names of their associated sequences. regards, tom lane
В списке pgsql-hackers по дате отправления
От: Christopher Kings-Lynne
Дата: