From: hubert depesz lubaczewski <depesz@depesz.com>
To: Edward Macnaghten <eddy@edlsystems.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: How to I select value of GUC that has - in its name?
Date: Tue, 9 Feb 2021 16:10:24 +0100
Message-ID: <20210209151024.GA12685@depesz.com> (raw)
In-Reply-To: <b45a1540-2722-01a1-ba25-17cf0682bfa0@edlsystems.com>
References: <20210209144059.GA21360@depesz.com>
<b45a1540-2722-01a1-ba25-17cf0682bfa0@edlsystems.com>
On Tue, Feb 09, 2021 at 02:49:19PM +0000, Edward Macnaghten wrote:
> > $ alter user depesz set custom.bad-guc = '1a';
> > ERROR: syntax error at or near "-"
> > LINE 1: alter user depesz set custom.bad-guc = '1a';
> Have you tried enclosing "bad-guc" in double quotes?
I'm sorry, but have you read my mail?
I did. On set and on reading.
Best regards,
depesz
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: depesz@depesz.com, eddy@edlsystems.com
Subject: Re: How to I select value of GUC that has - in its name?
In-Reply-To: <20210209151024.GA12685@depesz.com>
References: <20210209144059.GA21360@depesz.com> <b45a1540-2722-01a1-ba25-17cf0682bfa0@edlsystems.com> <20210209151024.GA12685@depesz.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox