Re: ALTER DATABASE RESET with unexistent guc doesn't report an error - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: ALTER DATABASE RESET with unexistent guc doesn't report an error
Date
Msg-id CALdSSPitQ7SZp_ohBD0xnMN-4QYs7Vj0=VbfmDsV7RrpnPWE8g@mail.gmail.com
Whole thread Raw
In response to Re: ALTER DATABASE RESET with unexistent guc doesn't report an error  (Álvaro Herrera <alvherre@kurilemu.de>)
List pgsql-hackers
On Thu, 11 Sept 2025 at 19:27, Álvaro Herrera <alvherre@kurilemu.de> wrote:
>
> On 2025-Sep-11, Kirill Reshke wrote:
>
> > I think we can remove "support" for ALTER DATABASE RESET TABLESPACE.
>
> What about ALTER USER RESET TABLESPACE?
>
> --
> Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
> "Computing is too important to be left to men." (Karen Spärck Jones)

Does this feature work?

```
reshke=# alter user u1 set tablespace to tb2;
ERROR:  unrecognized configuration parameter "tablespace"
```

Also this:

```
reshke=# alter table ss reset tablespace ;
ERROR:  syntax error at or near "tablespace"
LINE 1: alter table ss reset tablespace ;
                             ^
```

"tablespace" is tab-completed after 'alter table ss reset <TAB>' which
is a least strange


--
Best regards,
Kirill Reshke



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: Update Windows CI Task Names: Server 2022 + VS 2022 Upgrade
Next
From: Sami Imseih
Date:
Subject: Re: PgStat_HashKey padding issue when passed by reference