Thread: SET NAMES value value should be single quoted

SET NAMES value value should be single quoted

From
jian he
Date:
NAMES
SET NAMES value is an alias for SET client_encoding TO value.

it should be:
SET NAMES 'value' is an alias for SET client_encoding TO value.


https://www.postgresql.org/docs/current/sql-set.html



Re: SET NAMES value value should be single quoted

From
Daniel Gustafsson
Date:
> On 7 Oct 2024, at 11:33, jian he <jian.universality@gmail.com> wrote:
> 
> NAMES
> SET NAMES value is an alias for SET client_encoding TO value.
> 
> it should be:
> SET NAMES 'value' is an alias for SET client_encoding TO value.

Good find, it indeed should. Fixed.

--
Daniel Gustafsson