Re: temp table security labels

From: Ted Toth <txtoth(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: temp table security labels
Date: 2023-07-07 13:05:05
Message-ID: CAFPpqQG9P2GPEjrDqTB5UUwuvj0JW=PDu3U6Q5PSwmTo57_0Zg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Also AFAICT the schema created for the temp table does not get deleted
at the end of the session which also causes issues.

On Fri, Jul 7, 2023 at 7:43 AM Ted Toth <txtoth(at)gmail(dot)com> wrote:
>
> I'm seeing security labels set on db objects when a temporary table is
> created but they don't match the labels I've configured in my
> sepgsql_contexts file. Our code doesn't actually execute a "SECURITY
> LABEL ..." command for the temp tables but something else must be
> doing so because I see pg_temp_NNN in pg_seclabels. So I'm confused at
> how the objects are being labeled, can anyone help me understand how
> this is happening?
>
> Ted

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2023-07-07 14:42:28 track_activity_query_size max practical size?
Previous Message Ted Toth 2023-07-07 12:43:31 temp table security labels