| From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
|---|---|
| To: | "David E(dot) Wheeler" <david(at)kineticode(dot)com> |
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kurt Harriman <harriman(at)acm(dot)org>, pgsql-hackers(at)postgresql(dot)org, Brendan Jurd <direvus(at)gmail(dot)com> |
| Subject: | Re: pg_typeof() patch review |
| Date: | 2008-11-03 18:52:35 |
| Message-ID: | 20081103185235.GT4509@alvh.no-ip.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David E. Wheeler | 2008-11-03 19:02:55 | Re: pg_typeof() patch review |
| Previous Message | David E. Wheeler | 2008-11-03 18:44:54 | Re: pg_typeof() patch review |