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

From Alvaro Herrera
Subject Re: and it's not a bunny rabbit, either
Date
Msg-id 1294068468-sup-4935@alvh.no-ip.org
Whole thread Raw
In response to Re: and it's not a bunny rabbit, either  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Excerpts from Robert Haas's message of lun ene 03 12:21:44 -0300 2011:

> Yeah, that's no good.  Maybe there's a good way to clear things up
> with an errdetail(), though I'm having a hard time thinking how to
> phrase it.
> 
> ERROR: sequence "%s" does not support the requested operation
> DETAIL: Constraints are not supported on sequences.

This seems backwards to me: the "detail" is more general than the main
message.

> ERROR: constraints are not supported on sequences
> DETAIL: "%s" is a sequence.

This one seems good -- the detail message gives the detail.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Scanning pg_tablespace from walsender
Next
From: Robert Haas
Date:
Subject: Re: Scanning pg_tablespace from walsender