Re: Change atoi to strtol in same place

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Change atoi to strtol in same place
Дата
Msg-id CAKJS1f81_yxw+66ueWxxouSEM1J6AWDFZRsNjedXjYqb2qFgfA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Change atoi to strtol in same place  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Ответы Re: Change atoi to strtol in same place  (Ashutosh Sharma <ashu.coek88@gmail.com>)
Список pgsql-hackers
On Mon, 7 Oct 2019 at 18:27, Ashutosh Sharma <ashu.coek88@gmail.com> wrote:
> AFAIU from the information given in the wiki page -[1], the port
> numbers in the range of 1-1023 are for the standard protocols and
> services. And there is nowhere mentioned that it is only true for some
> OS and not for others. But, having said that I've just verified it on
> Linux so I'm not aware of the behaviour on Windows.
>
> [1] - https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers

Here are the results of a quick test on a windows machine:

L:\Projects\Postgres\install\bin>echo test > c:\windows\test.txt
Access is denied.

L:\Projects\Postgres\install\bin>cat ../data/postgresql.conf | grep "port = "
port = 543                              # (change requires restart)

L:\Projects\Postgres\install\bin>psql -p 543 postgres
psql (11.5)
WARNING: Console code page (850) differs from Windows code page (1252)
         8-bit characters might not work correctly. See psql reference
         page "Notes for Windows users" for details.
Type "help" for help.

postgres=#

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ashutosh Sharma
Дата:
Сообщение: Re: Change atoi to strtol in same place
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] use separate PartitionedRelOptions structure to storepartitioned table options