Search Postgresql Archives

Re: what is the meaning of Datum?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tom Lane wrote:
Luca Ferrari <fluca1978@xxxxxxxxxxx> 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

And how this convertions will be made ?
Are there internal functions to do this ?

Thanks.
-Tedy

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux