Re: show casts and conversions in psql (2nd try)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: show casts and conversions in psql (2nd try)
Date: 2002-12-12 21:03:09
Message-ID: 200212122103.gBCL39n26694@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


This is the patch description.

---------------------------------------------------------------------------

Christopher Kings-Lynne wrote:
> (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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-12-12 21:08:06 Creating a zero-column table
Previous Message Tom Lane 2002-12-12 20:37:25 Re: "value" a reserved word

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-12-12 21:19:23 Re: shows casts, conversions and schemas in psql #2
Previous Message Bruce Momjian 2002-12-12 21:02:58 Re: shows casts, conversions and schemas in psql #2