Re: [PROPOSAL] new diagnostic items for the dynamic sql

From: Dinesh Chemuduru <dinesh(dot)kumar(at)migops(dot)com>
To: Zhihong Yu <zyu(at)yugabyte(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PROPOSAL] new diagnostic items for the dynamic sql
Date: 2021-12-29 07:39:29
Message-ID: CALGdMEM9vUY8nX-CtpYpGFNMvXci+F0j4oGergGuBE4sJn9NJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Everyone,

Let me know if anything else is needed on my end

On Fri, 17 Dec 2021 at 10:54, Dinesh Chemuduru <dinesh(dot)kumar(at)migops(dot)com>
wrote:

>
>
> On Fri, 3 Dec 2021 at 22:04, Zhihong Yu <zyu(at)yugabyte(dot)com> wrote:
>
>>
>>
>> On Fri, Dec 3, 2021 at 3:15 AM Dinesh Chemuduru <dinesh(dot)kumar(at)migops(dot)com>
>> wrote:
>>
>>> Hi Michael,
>>>
>>> Attaching the latest patch here(It's the recent patch), and looking for
>>> more suggestions/inputs from the team.
>>>
>>> On Fri, 3 Dec 2021 at 13:09, Michael Paquier <michael(at)paquier(dot)xyz>
>>> wrote:
>>>
>>>> On Wed, Nov 10, 2021 at 01:58:58PM +0530, Dinesh Chemuduru wrote:
>>>> > The proposed statements are much clear, but will wait for other’s
>>>> > suggestion, and will fix it accordingly.
>>>>
>>>> This update was three weeks ago, and no new version has been
>>>> provided, so I am marking this as returned with feedback in the CF
>>>> app. If you can work more on this proposal and send an updated patch,
>>>> please feel free to resubmit.
>>>> --
>>>> Michael
>>>>
>>> Hi,
>>
>> +int
>> +set_errquery(const char *query)
>>
>> Agreed,
>
> The other error log relateds functions are also not following the void as
> return type and they are using the int.
> So, I tried to submit the same behaviour.
>
> See other error log related functions in src/backend/utils/error/elog.c
>
>
>> Since the return value is ignored, the return type can be void.
>>
>> Cheers
>>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2021-12-29 07:42:53 Re: psql - add SHOW_ALL_RESULTS option
Previous Message rajesh singarapu 2021-12-29 06:18:04 Converting WAL to SQL