Re: Broken Catalog? -- 7.4.2 - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Broken Catalog? -- 7.4.2
Date
Msg-id 20040427020413.GF2206@dcc.uchile.cl
Whole thread Raw
In response to Broken Catalog? -- 7.4.2  (Rod Taylor <pg@rbt.ca>)
Responses Re: Broken Catalog? -- 7.4.2  (Rod Taylor <pg@rbt.ca>)
List pgsql-hackers
On Mon, Apr 26, 2004 at 09:36:26PM -0400, Rod Taylor wrote:
> The function format_type() fails only for interval when used on the
> interval type
> 
> template1=# select format_type(oid, typlen) from pg_type;

select format_type(oid, typtypmod) from pg_type;
-- works

In fact, I believe this is the correct answer from timestamp types, for
example.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Having your biases confirmed independently is how scientific progress is
made, and hence made our great society what it is today" (Mary Gardiner)


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Thread code not vpath-safe
Next
From: Bruce Momjian
Date:
Subject: Re: Reporting a security hole