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 1293728479-sup-9574@alvh.no-ip.org
Whole thread Raw
In response to Re: and it's not a bunny rabbit, either  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Excerpts from Tom Lane's message of jue dic 30 13:49:20 -0300 2010:

> One possibility is to break it down like this:
> 
>     ERROR: foo is a sequence
>     DETAIL: Triggers can only be used on tables and views.
> 
> This could still be emitted by a function such as you suggest, and
> indeed that would be the most practical way from both a consistency
> and code-size standpoint.

This seems good to me.  There will only be as many messages as relkinds
we have, plus as many as "features" there are.

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


pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: pl/python do not delete function arguments
Next
From: Simon Riggs
Date:
Subject: Sync Rep Design