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" <david@kineticode.com>)
Ответы Re: pg_typeof() patch review  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
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