Re: Bug: psql misquotes constraints

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug: psql misquotes constraints
Date: 2004-07-12 06:31:09
Message-ID: 871xjhohxu.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> Since when was that a design goal for psql's \d output? We had better
> revert the entire pretty-printing patch if you expect this sort of thing
> to work reliably. I thought the point of \d formatting was to be
> readable, not to be technically the exact same SQL you'd need to enter.

Hm, I always assumed it would work. It always did modulo quoting issues around
$n.

It's certainly inconvenient if it doesn't given that there's no supported way
to disable a particular constraint and then reenable it later without having
the source available.

--
greg

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2004-07-12 06:44:04 Re: plperl (7.5)
Previous Message David Fetter 2004-07-12 06:11:52 Statistical Lacunae in Interval type