Re: pg_typeof() patch review

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: pg_typeof() patch review
Дата
Msg-id
20081103185235.GT4509@alvh.no-ip.org
Ответ на
Re: pg_typeof() patch review (David E. Wheeler)
Список
Дерево обсуждения
pg_typeof() patch review Kurt Harriman <harriman@acm.org>
Re: pg_typeof() patch review Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_typeof() patch review "David E. Wheeler" <david@kineticode.com>
Re: pg_typeof() patch review Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_typeof() patch review "David E. Wheeler" <david@kineticode.com>
Re: pg_typeof() patch review Alvaro Herrera <alvherre@commandprompt.com>
Re: pg_typeof() patch review "David E. Wheeler" <david@kineticode.com>
Re: pg_typeof() patch review Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_typeof() patch review "David E. Wheeler" <david@kineticode.com>
Re: pg_typeof() patch review Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_typeof() patch review "David E. Wheeler" <david@kineticode.com>
Re: pg_typeof() patch review Alvaro Herrera <alvherre@commandprompt.com>
David E. Wheeler escribió:

> Well, as someone who was until recently unfamiliar with regtypes, and  
> who thinks of an OID as essentially just a number, I would find it very 
> useful if the description indicated that, as a regtype, the return value 
> could be used as either an OID or as string. Otherwise, I'd find the 
> description kind of confusing (in one place it says it returns a regtype, 
> "whatever *that* is", and in one place it says an OID).

Give this a read
http://www.postgresql.org/docs/8.3/static/datatype-oid.html

Maybe we should link to this page in the pg_typeof() description.  Also,
perhaps this page needs more examples.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-hackers по дате отправления
От: David E. Wheeler
Дата:
Сообщение: Re: pg_typeof() patch review
От: David E. Wheeler
Дата:
Сообщение: Re: pg_typeof() patch review
FAQ