Re: Dumping SQL type names - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Dumping SQL type names
Date
Msg-id 29613.962763188@sss.pgh.pa.us
Whole thread Raw
In response to Dumping SQL type names  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> A while ago I suggested to create a backend internal function that takes
> an internal type name and an atttypmod and formats it to a canonical SQL
> type, to be used by pg_dump, psql, and anyone who feels like it.

> I have it written now, here's an example of how it works. Any comments?

For the most part, a function working from type OID would be more
convenient, I should think.  Possibly offer both ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: Repair plan for inet and cidr types
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: Repair plan for inet and cidr types