public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Edwin UY <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: Tables in public schema
Date: Tue, 27 May 2025 07:11:16 -0700
Message-ID: <CAKFQuwauK-3-gUSj+YVMKYi0+LtmnVBaF69V_RHDem1cqC8_gQ@mail.gmail.com> (raw)
In-Reply-To: <CA+wokJ_OnXhaE39YzYwqdj3Hh+M81QrAFrT9X8tbUW3iGT1-gA@mail.gmail.com>
References: <CA+wokJ_OnXhaE39YzYwqdj3Hh+M81QrAFrT9X8tbUW3iGT1-gA@mail.gmail.com>

On Tue, May 27, 2025 at 7:02 AM Edwin UY <[email protected]> wrote:

> Will I have to redo the grants?
>

If you use "alter table set schema" the table OID will not change and the
grants should follow it.  Users would be subject to whatever new
permissions apply to the newly created schema rather than the public schema
though.

David J.


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: Tables in public schema
  In-Reply-To: <CAKFQuwauK-3-gUSj+YVMKYi0+LtmnVBaF69V_RHDem1cqC8_gQ@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