On tor, 2010-12-30 at 11:03 -0500, Robert Haas wrote:
> No, quite the opposite.  With the other approach, you needed:
> 
> constraints cannot be used on views
> constraints cannot be used on composite types
> constraints cannot be used on TOAST tables
> constraints cannot be used on indexes
> constraints cannot be used on foreign tables
> 
> With this, you just need:
> 
> constraints can only be used on tables

At the beginning of this thread you said that the error messages should
focus on what you tried to do, not what you could do instead.

Also, in this particular case, the user could very well assume that a
TOAST table or a foreign table is a table.



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to