Re: Min value for port

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Min value for port
Date: 2013-06-27 12:16:51
Message-ID: 51CC2D33.9030005@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6/27/13 6:34 AM, Magnus Hagander wrote:
> Is there a reason why we have set the min allowed value for port to 1,
> not 1024? Given that you can't actually start postgres with a value of
> <1024, shoulnd't the entry in pg_settings reference that as well?

Are you thinking of the restriction that you need to be root to use
ports <1024? That restriction is not necessarily universal. We can let
the kernel tell us at run time if it doesn't like our port.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-06-27 12:23:31 Re: Move unused buffers to freelist
Previous Message MauMau 2013-06-27 11:53:24 [9.3 doc fix] ECPG VAR command does not describe the actual specification