Re: size of interval type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: size of interval type
Дата
Msg-id 18515.1396536831@sss.pgh.pa.us
обсуждение исходный текст
Ответ на size of interval type  (Kasahara Tatsuhito <kasahara.tatsuhito@gmail.com>)
Ответы Re: size of interval type  (Kasahara Tatsuhito <kasahara.tatsuhito@gmail.com>)
Список pgsql-general
Kasahara Tatsuhito <kasahara.tatsuhito@gmail.com> writes:
> The document says the size of interval type is 12 bytes.
> http://www.postgresql.org/docs/9.3/static/datatype-datetime.html
> But ISTM the size is actually 16 bytes.
> # I checked src/include/datatype/timestamp.h and pg_type system view.

> Is it a document bug? Or am I missing something?

It's a documentation bug; the size used to be 12 bytes, but that was quite
a long time ago.  I see somebody fixed this in HEAD recently but failed to
back-patch it.

            regards, tom lane


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

Предыдущее
От: Ben Hoyt
Дата:
Сообщение: Any way to insert rows with ID used in another column
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: COPY v. java performance comparison