Skip site navigation (1) Skip section navigation (2)

show casts and conversions in psql

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
Date: 2002-12-09 04:21:12
Message-ID: 00a801c29f3a$68453200$6500a8c0@internal (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
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

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.


pgsql-patches by date

Next:From: Christopher Kings-LynneDate: 2002-12-09 04:39:11
Subject: show casts and conversions in psql (2nd try)
Previous:From: Roberto MelloDate: 2002-12-09 03:38:31
Subject: Re: Patches + new translation to Brazilian Portuguese

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group