Re: and it's not a bunny rabbit, either - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: and it's not a bunny rabbit, either
Date
Msg-id 1294004729.5984.21.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: and it's not a bunny rabbit, either  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: and it's not a bunny rabbit, either  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On lör, 2011-01-01 at 17:21 -0500, Robert Haas wrote:
> > I don't see anything wrong with having 20 or 30 messages of variants of
> >
> > "foo cannot be used on bar"
> >
> > without placeholders.
> 
> Well, that's OK with me.  It seems a little grotty, but manageably so.
>  Questions:
> 
> 1. Should we try to include the name of the object?  If so, how?

Hmm.  There is a bit of a difference in my mind between, say,
   constraints cannot be used on sequences
   constraint "foo" cannot be used on sequence "bar"

the latter leaving open the question whether some other combination
might work.

> 2. Can we have a variant with an SQL-command-fragment parameter?
> 
> %s cannot be used on views
> where %s might be CLUSTER, DROP COLUMN, etc.

That's OK; we do that in several other places.




pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Base Backup Streaming
Next
From: Jim Nasby
Date:
Subject: Re: contrib/snapshot