Re: insert statements - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: insert statements
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961D88@m0114.s-mxs.net
Whole thread Raw
In response to insert statements  (Vince Vielhaber <vev@michvhf.com>)
List pgsql-hackers
>>
>> I'd want it to error out on "INSERT foo (bar.col)", though ;-)
>>
>
> And on "INSERT foo (bar.foo.col)" as well.

Why accept above at all ? Seems much too error prone, I would eighter
accept table with schema or without schema, mixing both cases seems
unnecessarily confusing and error prone to me.

If at all, I would allow:
INSERT bar.foo (bar.foo.col)
INSERT foo (foo.col)

Would that be enough for the initial problem case ?

Andreas


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: postgres is not using tas
Next
From: "Luis Alberto Amigo Navarro"
Date:
Subject: Re: postgres is not using tas