Re: Bug in pg_describe_object, patch v2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in pg_describe_object, patch v2
Дата
Msg-id 940.1295751047@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug in pg_describe_object, patch v2  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Bug in pg_describe_object, patch v2  (Robert Haas <robertmhaas@gmail.com>)
Re: Bug in pg_describe_object, patch v2  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Sun, Jan 16, 2011 at 2:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> If we were to go with this, I'd be strongly tempted to rearrange all
>> four of the messages involved to put the operator or function name
>> at the end, eg
>> 
>> function 1 (oidvector[], oidvector[]) of operator family array_ops for access method gin:
btoidvectorcmp(oidvector,oidvector)

> I kind of wonder if it wouldn't be even better to just *delete* that
> from the thing altogether and write:

> function 1 (oidvector[], oidvector[]) of operator family array_ops for
> access method gin

> We're trying to represent the pg_amproc entry here, and including a
> bunch of details of the pg_proc entry to which it happens to point
> seems almost better to be confusing the issue.

Yeah, that occurred to me too.  However, the CREATE OPERATOR CLASS
syntax doesn't really draw a distinction between the referenced
function/operator and its reference in the opclass, and I'm not sure
users do either.  So I don't want to give up the details of the function
or operator.  But sticking them at the end after a colon might make it
clearer that the func/operator is referenced by the amproc or amop
entry, but is not the same thing.
        regards, tom lane


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

Предыдущее
От: "XiaoboGu"
Дата:
Сообщение: postgresql-9.0.2-1-windows_x64 from EnterpriseDB can't install on Win 7 home basic 64 bit
Следующее
От: Robert Haas
Дата:
Сообщение: Re: auto-sizing wal_buffers