Re: Which file does the SELECT?

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Which file does the SELECT?
Дата
Msg-id 20101010202330.GA9578@svana.org
обсуждение исходный текст
Ответ на Re: Which file does the SELECT?  (Vaibhav Kaushal <vaibhavkaushal123@gmail.com>)
Список pgsql-hackers
On Sun, Oct 10, 2010 at 10:51:54PM +0530, Vaibhav Kaushal wrote:
> However, I find too many references to the Data structure "datum" what is it
> and where is it defined? Can someone tell me please? Also, what role does it
> play?

"Datum" is the singular form of "data". It refers to a single item of
any type. So it may be an integer, text type, geometry type, anything.
A row is a list of datums. (A datum can also be a composite type).

Normally in the planner code you don't need to worry to much about what
it explicitly refers to, but if you do, you need to know the type of a
datum before you can manipulate it. The type is not stored inside the
datum.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patriotism is when love of your own people comes first; nationalism,
> when hate for people other than your own comes first.
>                                       - Charles de Gaulle

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WIP: Triggers on VIEWs
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Debugging initdb breakage