Re: [HACKERS] [PATCH] A hook for session start
| От | Fabrízio de Royes Mello |
|---|---|
| Тема | Re: [HACKERS] [PATCH] A hook for session start |
| Дата | |
| Msg-id | CAFcNs+rLau7rFHuhyWeCZ4=V+=v7U9QkC2BdmL9R5Bw0qnY6jw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: [HACKERS] [PATCH] A hook for session start (Ashutosh Sharma <ashu.coek88@gmail.com>) |
| Список | pgsql-hackers |
On Fri, Nov 17, 2017 at 3:33 AM, Ashutosh Sharma <ashu.coek88@gmail.com> wrote:
>
> On Fri, Nov 17, 2017 at 9:08 AM, Fabrízio de Royes Mello
> <fabriziomello@gmail.com> wrote:
> > Hi all,
> >
> > Attached new version of the patch fixing issues about installcheck and some
> > assertions reported before (based on Michael Paquier code):
> >
>
> The assertion failure which i reported earlier -[1] is fixed with v11
> patch. FYI, in my earlier email i wrongly mentioned that the assertion
> failure is happening in bgwroker process (logical replication worker)
> infact it was seen in the backend process.
>
I saw it in "Autovacuum Launcher", more specifically during "session end hook" so I realize that the code to check if the current backend is a client backend isn't safe so I've fixed it.
> By installcheck, did you mean installcheck-force because installcheck
> rule is not defined in the Makefile.
>
> rule is not defined in the Makefile.
>
I meant to simple disable 'installcheck' because we need the shared_preload_libraries has been properly configured. But you can use 'installcheck-force' if you manually config and install the test module.
Regards,
--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog: http://fabriziomello.github.io
>> Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello
>> Github: http://github.com/fabriziomello
В списке pgsql-hackers по дате отправления: