[HACKERS] [BUG?] UPDATE with RETURNING tableoid

2008-12-16 Thread KaiGai Kohei
I found a strange behavior on the recent v8.4devel with/without SE-PostgreSQL patch set. Can you reproduce the following behavior? When I use UPDATE statement with RETURNING clause which contains references to tableoid system column, it returns InvalidOid. (The correct valus is 16384 in this

Re: [HACKERS] [BUG?] UPDATE with RETURNING tableoid

2008-12-16 Thread Tom Lane
KaiGai Kohei kai...@ak.jp.nec.com writes: I found a strange behavior on the recent v8.4devel with/without SE-PostgreSQL patch set. Can you reproduce the following behavior? When I use UPDATE statement with RETURNING clause which contains references to tableoid system column, it returns

Re: [HACKERS] [BUG?] UPDATE with RETURNING tableoid

2008-12-16 Thread KaiGai Kohei
Tom Lane wrote: KaiGai Kohei kai...@ak.jp.nec.com writes: I found a strange behavior on the recent v8.4devel with/without SE-PostgreSQL patch set. Can you reproduce the following behavior? When I use UPDATE statement with RETURNING clause which contains references to tableoid system column,