Re: doubt about datum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: doubt about datum
Дата
Msg-id 7021.1185860403@sss.pgh.pa.us
обсуждение исходный текст
Ответ на doubt about datum  (Luca Ferrari <fluca1978@infinito.it>)
Ответы Re: doubt about datum  (Luca Ferrari <fluca1978@infinito.it>)
Re: doubt about datum  (Luca Ferrari <fluca1978@infinito.it>)
Список pgsql-novice
Luca Ferrari <fluca1978@infinito.it> writes:
> I'm new to postgresql programming and I'd like to understand what a datum is

A value of any data type -- which particular type is not said by the
datum itself, but we always have context information to tell us that.

> Moreover why it does not need transaction
> visibility as an ordinary tuple (xmin, cmin, cmax, xmax)?

Datums are values.  '42'::int does not need visibility information;
its value is always the same.

            regards, tom lane

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

Предыдущее
От: Decibel!
Дата:
Сообщение: Re: [BUGS] BUG #3488: exporting data
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: SQL_CALC_FOUND_ROWS equivalent in PostgreSQL