Re: data doesnt get saved in the database / idle in transaction

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

 



""Ksenia Marasanova"" <ksenia.marasanova@xxxxxxxxx> wrote
>
> The application uses persistant database connection, and when i check
> the status of the connection, it shows: "idle in transaction".  I am
> pretty sure that every insert is being committed with explicit
> "commit()" . It always worked before.... weird.
>

Try to use the following command to see what commands reach the server:

    set log_statement = "all";

Regards,
Qingqing




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

  Powered by Linux