what is the meaning of Datum?

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: what is the meaning of Datum?
Date: 2010-06-23 10:09:28
Message-ID: 201006231209.28564.fluca1978@infinito.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,
ok this is a silly question, but I've got a doubt: what is the exact meaning
of Datum? I see having a look at the macroes (e.g., PG_RETURN_XXX) that a
Datum can be used as a pointer or as a single data, that is it can be a
reference or a value. Is this right? So for instance the fact that each stored
procedure returns a Datum means that the semantic of the Datum is interpreted
depending on how the procedure is defined in the SQL language (i.e., it returns
a integer, a tuple, ...). Am I right?

Moreover, is there a documentation (aside the source code) that explains and
links each internal data structure like HeapTuple, HeapTupleHeader, and so on?

Thanks,
Luca

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Russell Smith 2010-06-23 10:25:14 Re: No PL/PHP ? Any reason?
Previous Message Dimitri Fontaine 2010-06-23 10:02:43 Re: libpython - cannot open shared object file