Re: Problems with renaming a column - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Problems with renaming a column
Date
Msg-id 1054825883.7579.3.camel@jester
Whole thread Raw
In response to Re: Problems with renaming a column  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Responses Re: Problems with renaming a column
List pgsql-hackers
On Wed, 2003-06-04 at 22:28, Christopher Kings-Lynne wrote:
> > Which ones are missing, and should we really be looking at creating a
> > pg_definition_schema instead?
>
> Missing:
>
> Database, schema, table, domain, cast, conversion, function...
>
> Maybe a definition schema might be better.....dunno...it would need to use
> the pg_get_*def functions anyway methinks.

As an interface writer, do you prefer dealing with functions like
pg_get_constraintdef() or a view like the information schema provides?

The function doesn't easily allow determination of items such as the ON
UPDATE or ON DELETE type (statement parsing is required), but the
information schema gives the information in a segregated manner.

The pg_get_*def() functions seem to have been created primarily for psql
and pg_dump.
--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

pgsql-hackers by date:

Previous
From: Barry Lind
Date:
Subject: Wrong version of jdbc in 7.3.3 rpms
Next
From: "Rasmus Resen Amossen"
Date:
Subject: Re: Broken RR?