Re: WAL + SSD = slow inserts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 5, 2013 at 9:55 PM, Skarsol <skarsol@xxxxxxxxx> wrote:
The rule is being used to return the id of the insert...

Take a look at the RETURNING clause of the INSERT statement. That should meet your needs here without having to bother with rules.

rls

--
:wq

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux