show casts and conversions in psql (2nd try)

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: show casts and conversions in psql (2nd try)
Date: 2002-12-09 04:39:11
Message-ID: 00d701c29f3c$eb386130$6500a8c0@internal
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

(Doh! Forgot to attach first time.)

This partially nails this TODO item:

* Add schema, cast, and conversion backslash commands to psql

I had to create a new publically available function,
pg_conversion_is_visible, as it seemed to be missing from the catalogs.
This required me to do no small amount of hacking around in namespace.c

I have updated the \? help and sgml docs.

\dc - list conversions [PATTERN]
\dC - list casts

I didn't support patterns with casts as there's nothing obvious to match
against.

I've tested it a fair bit and I can't see any problems. Feel free to do a
once over on my backend changes tho.

Chris

Attachment Content-Type Size
psql-patch.txt text/plain 18.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2002-12-09 05:38:25 Re: [GENERAL] PostgreSQL Global Development Group
Previous Message Vince Vielhaber 2002-12-09 04:32:42 Re: [GENERAL] PostgreSQL Global Development Group

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-12-09 14:59:46 Re: ALTER DOMAIN .. OWNER TO ..
Previous Message Christopher Kings-Lynne 2002-12-09 04:21:12 show casts and conversions in psql