Re: CREATE LIKE INCLUDING COMMENTS and STORAGES

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: CREATE LIKE INCLUDING COMMENTS and STORAGES
Дата
Msg-id 20090908133855.GA549@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: CREATE LIKE INCLUDING COMMENTS and STORAGES  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: CREATE LIKE INCLUDING COMMENTS and STORAGES  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
Itagaki Takahiro wrote:
> 
> David Fetter <david@fetter.org> wrote:
> 
> > On Mon, Sep 07, 2009 at 12:15:21PM +0900, Itagaki Takahiro wrote:
> > > Here is a patch to implement the following items in our ToDo list:
> > >   * Add CREATE TABLE LIKE ... INCLUDING COMMENTS
> > >   * Have CREATE TABLE LIKE copy column storage parameters
> > > 
> > > The syntax is:
> > >     CREATE TABLE clone_table (LIKE template_table INCLUDING STORAGES)
> > 
> > This should probably read INCLUDING STORAGE (singular) instead of
> > STORAGES.
> 
> Thanks. I fixed it to INCLUDING STORAGE.

This INCLUDING STORAGE is supposed to copy reloptions?  In that case I
think this is still a misnomer; to me it sounds like it's copying the
underlying storage i.e. data, which would be very surprising.  What
about "INCLUDING STORAGE OPTIONS"?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Time-based Releases WAS: 8.5 release timetable, again
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Time-based Releases WAS: 8.5 release timetable, again