Re: what is the meaning of Datum?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: what is the meaning of Datum?
Дата
Msg-id 22559.1277304590@sss.pgh.pa.us
обсуждение исходный текст
Ответ на what is the meaning of Datum?  (Luca Ferrari <fluca1978@infinito.it>)
Ответы Re: what is the meaning of Datum?  (Teodor Macicas <teodor.macicas@epfl.ch>)
Список pgsql-general
Luca Ferrari <fluca1978@infinito.it> writes:
> ok this is a silly question, but I've got a doubt: what is the exact meaning
> of Datum?

It's the backend-internal representation of a single value of any SQL
data type.  The code using the Datum has to know which type it is,
since the Datum itself doesn't contain that information.  Usually,
C code will work with a value in a "native" representation, and then
convert to or from Datum in order to pass the value through
data-type-independent interfaces.

            regards, tom lane

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: unexpected effect of FOREIGN KEY ON CASCADE DELETE
Следующее
От: Andrew Geery
Дата:
Сообщение: Re: missing uuid functions in postgresql-contrib RPM for linux?