Re: Bug: psql misquotes constraints

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Rod Taylor <pg(at)rbt(dot)ca>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bug: psql misquotes constraints
Date: 2004-07-12 01:48:51
Message-ID: 40F1EE03.2080902@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I remember a thread about pretty-print functions. Are those used? This
> is probably the best place to put the fix, since they already munge
> things for display purposes.

Seriously man - the pg_get_def stuff ONLY does the string from the words
FOREIGN KEY onwards. The constraint name is done by psql. Pretty
printing won't help you.

Chris

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-12 01:51:13 Re: Removing initlocation
Previous Message Greg Sabino Mullane 2004-07-12 01:48:11 Re: Nested Transactions, Abort All