Sent from my iPad

On 15-May-2013, at 18:56, Tom Lane <[email protected]> wrote:

> "Nicholson, Brad (Toronto, ON, CA)" <[email protected]> writes:
>> [ this error message sucks: ]
>> test=# create foreign table local_foo (id serial) server test_server options 
>> (table_name 'foo');                                                          
>>  
>> ERROR:  referenced relation "local_foo" is not a table
> 
> Yeah, I'd noticed that myself.  We could probably tweak the code to
> issue a different error message and/or add a HINT if the serial's
> parent relation is a foreign table.  I'm not exactly sure what it
> should say though.  Thoughts?
> 
>             
> 
> 
> 

+1 for the HINT message addition.

Regards,

Atri

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

Reply via email to