[PATCH] Avoid open and lock the table Extendend Statistics (src/backend/commands/statscmds.c) - Mailing list pgsql-hackers

From Ranier Vilela
Subject [PATCH] Avoid open and lock the table Extendend Statistics (src/backend/commands/statscmds.c)
Date
Msg-id CAEudQArkb3-nvzsNetQWVcK4P+JLW_ZZTjR1iChKfJhK_p9--w@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Avoid open and lock the table Extendend Statistics (src/backend/commands/statscmds.c)  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hi,

has fixed the bug, but still has room for improvement.

Why open and lock the table Extended Statistics if it is not the owner.
Check and return to avoid this.

trivial patch attached.

regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Mark all GUC variable as PGDLLIMPORT
Next
From: Andres Freund
Date:
Subject: Re: Adding CI to our tree