From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
---|---|
To: | Martin Moore <martin(dot)moore(at)avbrief(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Deadlocks |
Date: | 2017-08-22 14:20:31 |
Message-ID: | CANu8FixdvwDEV+_O+NvEZE+1qQLDJ0_JYfCJ6Em6+YDno_vUYg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Aug 22, 2017 at 9:42 AM, Martin Moore <martin(dot)moore(at)avbrief(dot)com>
wrote:
> Hi, I’m having issues with deadlocks.
>
> v9.6 on Debian Jessie.
>
> I have a number of ‘select’ functions which for logging purposes also call
> another fn that inserts a record into a ‘logging’ table.
>
> However, even with only 1 or 2 users making very infrequent calls to the
> parent fn, deadlocks are occurring. I’m hoping there’s something I’m
> unaware of as this shouldn’t happen!
>
> What could this be? I don’t have any logs at present as I removed the
> insert statement some time ago, but need to get this issue resolved.
>
> Thanks,
>
> Martin.
>
>
>
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
*I don't think you will get much help unless you show us the query and the
structure*
*of the tables involved.*
--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2017-08-22 14:39:13 | Re: pg_rewind - restore new slave failed to startup during recovery |
Previous Message | Martin Moore | 2017-08-22 13:42:59 | Deadlocks |