public inbox for [email protected]
help / color / mirror / Atom feedFrom: SATYANARAYANA NARLAPURAM <[email protected]>
To: Chao Li <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Re: Add null check on get_tablespace_name() return in pg_get_database_ddl_internal
Date: Wed, 22 Apr 2026 23:48:28 -0700
Message-ID: <CAHg+QDcrQHBhGJa9Uc4Q2+Q_uH5=V4QN_twWovrs1PUvFTZdwQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAHg+QDd4mVPTT1P1E8o1k+2UzHkp55595v2GWpm9dENRwJCuYQ@mail.gmail.com>
<[email protected]>
Hi Chao,
On Wed, Apr 22, 2026 at 5:03 PM Chao Li <[email protected]> wrote:
>
>
> > On Apr 23, 2026, at 06:20, SATYANARAYANA NARLAPURAM <
> [email protected]> wrote:
> >
> > Hi Hackers,
> >
> > A concurrent tablespace drop could lead to null deref in
> pg_get_database_ddl. I acknowledge this is a corner case. Adding a patch to
> fix this to keep the code clean.
> >
> > Thanks,
> > Satya
> >
> <0001-Fix-NULL-deref-in-pg_get_database_ddl-on-concurrent-tablespace-drop.patch>
>
> This is a dup of my recent patch, see [1].
>
> [1]
> https://www.postgresql.org/message-id/573E45C1-31A4-4885-A00C-1A2171159A2A%40gmail.com
Thanks, I replied there.
view thread (3+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Add null check on get_tablespace_name() return in pg_get_database_ddl_internal
In-Reply-To: <CAHg+QDcrQHBhGJa9Uc4Q2+Q_uH5=V4QN_twWovrs1PUvFTZdwQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox