Re: SET NAMES value value should be single quoted

2024-10-07 Thread Daniel Gustafsson
> On 7 Oct 2024, at 11:33, jian he  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





Re: Documentation improvement patch

2024-10-07 Thread Oleg Sibiryakov

Thank you, Daniel.

--
Oleg Sibiryakov

On 02.10.2024 15:58, Daniel Gustafsson wrote:

On 2 Oct 2024, at 10:09, Oleg Sibiryakov  wrote:

Thank you for your kind feedback! I will take due note of the comments in the 
next documentation patches as well.

I have made all the changes as per your feedback and also corrected paragraph 
reflow.

The third version of the patch is attached for your consideration.

Thanks, I have gone over and applied most of these changes.  I did leave out a
few (like the libc one) where the current page had multiple different versions.

--
Daniel Gustafsson








SET NAMES value value should be single quoted

2024-10-07 Thread jian he
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