[GENERAL] new RETURNING clause and Pg.pm

2008-06-26 Thread Brandon Metcalf
I just upgraded to 8.3.3 and taking advantage of the RETURNING clause which is really cool. I've found that with Pg.pm $r-resultStatus returns the integer 2 when the RETURNING clause is used on an insert. Of course, without using RETURNING the status is the constant PGRES_COMMAND_OK. Is

Re: [GENERAL] new RETURNING clause and Pg.pm

2008-06-26 Thread Tom Lane
Brandon Metcalf [EMAIL PROTECTED] writes: I just upgraded to 8.3.3 and taking advantage of the RETURNING clause which is really cool. I've found that with Pg.pm $r-resultStatus returns the integer 2 when the RETURNING clause is used on an insert. Of course, without using RETURNING the

Re: [GENERAL] new RETURNING clause and Pg.pm

2008-06-26 Thread Brandon Metcalf
t == [EMAIL PROTECTED] writes: t Brandon Metcalf [EMAIL PROTECTED] writes: t I just upgraded to 8.3.3 and taking advantage of the RETURNING clause t which is really cool. I've found that with Pg.pm $r-resultStatus t returns the integer 2 when the RETURNING clause is used on an t insert.

Re: [GENERAL] new RETURNING clause and Pg.pm

2008-06-26 Thread Brandon Metcalf
b == [EMAIL PROTECTED] writes: b t == [EMAIL PROTECTED] writes: b t Brandon Metcalf [EMAIL PROTECTED] writes: b t I just upgraded to 8.3.3 and taking advantage of the RETURNING clause b t which is really cool. I've found that with Pg.pm $r-resultStatus b t returns the integer 2 when