Re: [GENERAL] update several columns from function returning several values

2014-12-03 Thread Rémi Cura
Thanks, waiting for the 9.5 then =) Cheers, Rémi-C 2014-12-02 18:23 GMT+01:00 Tom Lane : > =?UTF-8?Q?R=C3=A9mi_Cura?= writes: > > IF I define a function returning several values , I can't use it to > update > > mutliple columns of a table at once. > > ... > > UPDATE test_update_m_values SET (gid

Re: [GENERAL] update several columns from function returning several values

2014-12-02 Thread Tom Lane
=?UTF-8?Q?R=C3=A9mi_Cura?= writes: > IF I define a function returning several values , I can't use it to update > mutliple columns of a table at once. > ... > UPDATE test_update_m_values SET (gid_plus_1,gid_minus_1) = > (rc_test_update_m_values(gid)); --doesn't work > Somebody now if this is poss