SET NAMES value value should be single quoted

Started by jian heover 1 year ago2 messagesdocs
Jump to latest
#1jian he
jian.universality@gmail.com

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

#2Daniel Gustafsson
daniel@yesql.se
In reply to: jian he (#1)
Re: SET NAMES value value should be single quoted

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