Re: [HACKERS] libpq port number handling

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] libpq port number handling
Date: 2009-09-25 17:38:58
Message-ID: 20090925173858.GM22438@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Fri, Sep 25, 2009 at 09:29:24AM +0300, Peter Eisentraut wrote:
> On Thu, 2009-09-24 at 20:36 -0400, Tom Lane wrote:
> > BTW, are port numbers still limited to 16 bits in IPv6?
>
> Port numbers are in TCP, not in IP.

I'd checked that it should work with IPv6, but I hadn't realized that
it was because ports were at a different level of abstraction. This
mailing list is good for otherwise obscure details like that!

--
Sam http://samason.me.uk/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2009-09-25 17:58:36 Re: stored procedure: RETURNS record
Previous Message Merlin Moncure 2009-09-25 17:37:34 Re: Delphi connection ?

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-09-25 17:51:55 Re: syslog_line_prefix
Previous Message Simon Riggs 2009-09-25 17:25:35 Re: Hot Standby 0.2.1