Re: [HACKERS] dropping partitioned tables without CASCADE
От | Amit Langote |
---|---|
Тема | Re: [HACKERS] dropping partitioned tables without CASCADE |
Дата | |
Msg-id | 03c35118-4b0a-c288-e03f-ee738d36ee60@lab.ntt.co.jp обсуждение исходный текст |
Ответ на | Re: [HACKERS] dropping partitioned tables without CASCADE (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>) |
Ответы |
Re: [HACKERS] dropping partitioned tables without CASCADE
|
Список | pgsql-hackers |
On 2017/02/22 21:24, Ashutosh Bapat wrote: > On Wed, Feb 22, 2017 at 11:11 AM, Amit Langote wrote: >> + /* >> + * Unlike inheritance children, partition tables are expected to be dropped >> + * when the parent partitioned table gets dropped. >> + */ >> >> Hmm. Partitions *are* inheritance children, so we perhaps don't need the >> part before the comma. Also, adding "automatically" somewhere in there >> would be nice. >> >> Or, one could just write: /* add an auto dependency for partitions */ > > I changed it in the attached patch to > + /* > + * Partition tables are expected to be dropped when the parent partitioned > + * table gets dropped. > + */ OK, thanks. Thanks, Amit
В списке pgsql-hackers по дате отправления: