Re: VARIANT / ANYTYPE datatype

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: VARIANT / ANYTYPE datatype
Дата
Msg-id BANLkTikEZsPZS4EM-fnLitm2m5eVWi6U1A@mail.gmail.com
обсуждение исходный текст
Ответ на VARIANT / ANYTYPE datatype  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: VARIANT / ANYTYPE datatype
Re: VARIANT / ANYTYPE datatype
Список pgsql-hackers
On Wed, May 4, 2011 at 5:58 PM, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:

> A customer came to us with this request: a way to store "any" data in a
> column.  We've gone back and forth trying to determine reasonable
> implementation restrictions, safety and useful semantics for them.
> I note that this has been requested in the past:
> http://archives.postgresql.org/pgsql-general/2004-02/msg01266.php

I think its a reasonably common use case.

Would it be possible to do this with a "typed" hstore? Seems easier to
add something there than it would be to add the VARIANT type as
discussed here.


> both Oracle and MS-SQL have it

Do they? What types are they called?

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Why not install pgstattuple by default?
Следующее
От: Greg Smith
Дата:
Сообщение: Infinity bsearch crash on Windows