| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Bernardo Pons" <bernardo(at)atlas-iap(dot)es> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Extracting metadata about attributes from catalog |
| Date: | 2001-06-24 14:59:07 |
| Message-ID: | 10541.993394747@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Bernardo Pons" <bernardo(at)atlas-iap(dot)es> writes:
>> In 7.1, "format_type(typeoid, typmod)" is what produces the type
>> displays seen in psql. This may or may not be exactly what you want,
>> but that's how the knowledge of typmod encoding is exported at the
>> moment.
> There's 957 functions in psql (output of \df).
> Would I be so lucky that none of these functions is the one that you
> suggested? :-(
regression=# \df format_type
List of functions
Result | Function | Arguments
--------+-------------+--------------
text | format_type | oid, integer
(1 row)
I did say 7.1, however. What version are you using?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-06-24 15:01:49 | Re: stuck spin lock with many concurrent users |
| Previous Message | Peter Eisentraut | 2001-06-24 11:56:13 | Re: [PATCH] Re: Setuid functions |