Re: Ad-hoc table type?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Ad-hoc table type?
Дата
Msg-id 21349.1222641574@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Ad-hoc table type?  (pgsql@mohawksoft.com)
Ответы Re: Ad-hoc table type?
Список pgsql-hackers
pgsql@mohawksoft.com writes:
> Something like this:

> create adhoc table foo ();

> insert into foo (name, rank, serial) values ('joe', 'sargent', '42');

> In an "ad-hoc" table type, when an insert is made, and a column is not
> found, then a new varchar column is added.

> I know the idea has a lot of holes, and is probably a bad idea, but it
> answers an important problem of easily mapping programmatic types to a
> database.

Seems like a table with one contrib/hstore column might be more relevant
to this guy's idea of how to do database design.
        regards, tom lane


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

Предыдущее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Ad-hoc table type?
Следующее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Re: Ad-hoc table type?