Re: interval / interval -> double operator - Mailing list pgsql-hackers

From Tom Lane
Subject Re: interval / interval -> double operator
Date
Msg-id 24438.1180493220@sss.pgh.pa.us
Whole thread Raw
In response to Re: interval / interval -> double operator  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Andrew Hammond escribi�:
>> Which got me looking for "date_part". But that only seems to be in the
>> gram.y file, include/catalog/pg_proc.h and the test suite. The pg_proc.h
>> stuff looks pretty interesting, but to decipher it, I figured I need to read
>> up on SystemFuncName().

> That's where you got lost -- if you had looked at the pg_proc.h entries
> more carefully you would have seen that they point to other functions,

Yeah --- AFAIR SystemFuncName() is just a convenience function that
does the equivalent of plastering "pg_catalog." on the front of the
mentioned name, so that it can't be confused with any non-built-in
function.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: TOAST usage setting
Next
From: Tom Lane
Date:
Subject: Re: TOAST usage setting