Re: On login trigger: take three

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Mikhail Gribkov <youzhick(at)gmail(dot)com>
Cc: Ted Yu <yuzhihong(at)gmail(dot)com>, Nikita Malakhov <hukutoc(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Ian Lawrence Barwick <barwick(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Sergey Shinderuk <s(dot)shinderuk(at)postgrespro(dot)ru>, Ivan Panchenko <wao(at)mail(dot)ru>, Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Nancarrow <gregn4422(at)gmail(dot)com>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, Ibrar Ahmed <ibrar(dot)ahmad(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Subject: Re: On login trigger: take three
Date: 2023-01-21 16:11:07
Message-ID: CAFj8pRDk+0DQgytH5iNUPA5EzhDtTBg-HEyx1OZvP94=Fj6v_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pá 20. 1. 2023 v 19:46 odesílatel Mikhail Gribkov <youzhick(at)gmail(dot)com>
napsal:

> Hi Pavel,
>
> On Mon, Jan 16, 2023 at 9:10 AM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
>
>>
>>
>> ne 15. 1. 2023 v 7:32 odesílatel Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
>> napsal:
>>
>>> Hi
>>>
>>>
>>>> On Thu, Jan 12, 2023 at 9:51 AM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
>>>> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> I checked this patch and it looks well. All tests passed. Together
>>>>> with https://commitfest.postgresql.org/41/4013/ it can be a good
>>>>> feature.
>>>>>
>>>>> I re-tested impact on performance and for the worst case looks like
>>>>> less than 1% (0.8%). I think it is acceptable. Tested pgbench scenario
>>>>> "SELECT 1"
>>>>>
>>>>> pgbench -f ~/test.sql -C -c 3 -j 5 -T 100 -P10 postgres
>>>>>
>>>>> 733 tps (master), 727 tps (patched).
>>>>>
>>>>> I think raising an exception inside should be better tested - not it
>>>>> is only in 001_stream_rep.pl - generally more tests are welcome -
>>>>> there are no tested handling exceptions.
>>>>>
>>>>
>>> Thank you
>>>
>>> check-world passed without problems
>>> build doc passed without problems
>>> I think so tests are now enough
>>>
>>> I'll mark this patch as ready for committer
>>>
>>
>> Unfortunately, I forgot one important point. There are not any tests
>> related to backup.
>>
>> I miss pg_dump related tests.
>>
>> I mark this patch as waiting on the author.
>>
>>
>
> Thanks for noticing this.
> I have added sections to pg_dump tests. Attached v37 patch contains these
> additions along with the fresh rebase on master.
>

Thank you

marked as ready for committer

Regards

Pavel

>
> --
> best regards,
> Mikhail A. Gribkov
>
> e-mail: youzhick(at)gmail(dot)com
> *http://www.flickr.com/photos/youzhick/albums
> <http://www.flickr.com/photos/youzhick/albums>*
> http://www.strava.com/athletes/5085772
> phone: +7(916)604-71-12
> Telegram: @youzhick
>
>
>>>>>
>>>>>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2023-01-21 16:16:42 Re: libpqrcv_connect() leaks PGconn
Previous Message Tom Lane 2023-01-21 16:10:08 Re: run pgindent on a regular basis / scripted manner