Re: PL/pgSQL Todo, better information in errcontext from plpgsql

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: PL/pgSQL Todo, better information in errcontext from plpgsql
Дата
Msg-id 7EB498DD-B199-48FD-8B98-C626CD4F82D8@enterprisedb.com
обсуждение исходный текст
Ответ на Re: PL/pgSQL Todo, better information in errcontext from plpgsql  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Ответы Re: PL/pgSQL Todo, better information in errcontext from plpgsql  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Список pgsql-hackers
On Oct 6, 2006, at 1:47 AM, Pavel Stehule wrote:
>> On Oct 5, 2006, at 9:30 AM, Pavel Stehule wrote:
>>> With func oid I can get all other info later, without it, I need   
>>> estimate which functions are in stack track.
>>
>> Why do you need the OID to know exactly what function something  
>> is?  What's wrong with schema.function(args)?
>> --
>
> oid is simply unique. I can take source code, args and all without  
> parsing. It's only one difference. I unlike parsing.

decibel=# select 'pg_catalog.abstimelt 
(abstime,abstime)'::regprocedure::oid;
oid
-----
253

--
Jim Nasby                                    jimn@enterprisedb.com
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)




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

Предыдущее
От: Graham Davis
Дата:
Сообщение: Re: timestamp subtraction (was Re: [SQL] formatting intervals
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump exclusion switches and functions/types