Re: ALTER TABLE SET (toast.asdf) is not rejected

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Cc: PostgreSQL Hackers <pgsql-general(at)postgresql(dot)org>
Subject: Re: ALTER TABLE SET (toast.asdf) is not rejected
Date: 2018-06-11 15:47:59
Message-ID: 20180611154759.rk4df3wuaovq3b4u@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2018-Jun-11, Justin Pryzby wrote:

> I noticed that this is accepted:
>
> postgres=# ALTER TABLE t SET (toast.asdf=128);
> ALTER TABLE
>
> I thought since "toast" was a core namespace, it would've been rejected?
>
> I recall having read a discussion about verifying these ... I wasn't able
> to find what I was thinking of, but found this one.
> https://www.postgresql.org/message-id/flat/20090114144332.GF24156%40alvh.no-ip.org

Uh. ISTM that this was lost during the 9.4 cycle, because that command *is*
rejected in 9.3.

alvherre=# ALTER TABLE t SET (toast.asdf=128);
ERROR: unrecognized parameter "asdf"

but 9.4 takes it. Weird.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-06-11 16:56:19 Re: Fwd: Add to watchdog cluster request is rejected by node
Previous Message Justin Pryzby 2018-06-11 13:33:19 ALTER TABLE SET (toast.asdf) is not rejected