Re: Running a Simple Update Statement Fails, Second Time Suceeds. - Mailing list pgsql-general

From Kumar, Virendra
Subject Re: Running a Simple Update Statement Fails, Second Time Suceeds.
Date
Msg-id FAF75D09-4D4C-4DE9-97B0-10CD60599580@guycarp.com
Whole thread Raw
In response to Re: Running a Simple Update Statement Fails, Second Time Suceeds.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses RE: Running a Simple Update Statement Fails, Second Time Suceeds.
List pgsql-general
Hi Tom,

Sincere apologies for that privacy notice in email, this company policy which I cannot skip.

Adrian,

The function is really simple. I’ll share the code as soon as I can.

Regards,
Virendra

> On Sep 3, 2019, at 5:41 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Adrian Klaver <adrian.klaver@aklaver.com> writes:
>>> On 9/3/19 1:56 PM, Kumar, Virendra wrote:
>>> Here is simple query, I am running via function call. This statement
>>> runs fine as SQL but when put in function as plpgsql it failes with
>>> error below, when I ran second times in same session it succeeds:
>
>> We will need to see the function definition.
>
> Also, what PG version is that?  This looks a bit like bug #15913,
> but it might be something else.
>
>>> This message is intended only for the use of the addressee and may contain
>>> information that is PRIVILEGED AND CONFIDENTIAL.
>>>
>>> If you are not the intended recipient, you are hereby notified that any
>>> dissemination of this communication is strictly prohibited. If you have
>>> received this communication in error, please erase all copies of the message
>>> and its attachments and notify the sender immediately. Thank you.
>
> I rather wonder whether I'm even allowed to read this, let alone
> answer it.  You do realize that this sort of add-on is completely
> silly on a public mailing list?
>
>            regards, tom lane

________________________________

This message is intended only for the use of the addressee and may contain
information that is PRIVILEGED AND CONFIDENTIAL.

If you are not the intended recipient, you are hereby notified that any
dissemination of this communication is strictly prohibited. If you have
received this communication in error, please erase all copies of the message
and its attachments and notify the sender immediately. Thank you.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Running a Simple Update Statement Fails, Second Time Suceeds.
Next
From: Peter Grman
Date:
Subject: Re: Bad Estimate for multi tenant database queries