| От | Alvaro Herrera |
|---|---|
| Тема | Re: Storage sizes for dates/times (documentation bug?) |
| Дата | |
| Msg-id | 20080415012730.GD11292@alvh.no-ip.org обсуждение |
| Ответ на | Re: Storage sizes for dates/times (documentation bug?) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Storage sizes for dates/times (documentation bug?)
|
| Список | pgsql-general |
Tom Lane wrote: > Marc Munro <marc@bloodnok.com> writes: > > It makes no sense to me that by storing the date with the time you > > can save 4 bytes. > > Actually, your mistake is in imagining that timestamptz represents the > timezone explicitly ... it doesn't. If it did, it'd be at least as > large as timetz. Hmm, so timetz does that? Amazing ... I didn't know that. Which means that storing date + timetz in two separate columns is not quite the same as storing a timestamptz. Oops. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера