Lists: | pgsql-hackers |
---|
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Use of /etc/services? |
Date: | 2002-05-20 19:12:57 |
Message-ID: | Pine.LNX.4.44.0205192134290.4003-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Since we now have an official entry in /etc/services, shouldn't we be able
to make use of it, by using getservbyname() if a nonnumeric port number is
specified?
--
Peter Eisentraut peter_e(at)gmx(dot)net
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 05:41:34 |
Message-ID: | 200206070541.g575fYp21616@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Peter Eisentraut wrote:
> Since we now have an official entry in /etc/services, shouldn't we be able
> to make use of it, by using getservbyname() if a nonnumeric port number is
> specified?
Is any OS actually shipping us in /etc/services?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | Curt Sampson <cjs(at)cynic(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 06:01:42 |
Message-ID: | Pine.NEB.4.43.0206071450510.430-100000@angelic.cynic.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Fri, 7 Jun 2002, Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > Since we now have an official entry in /etc/services, shouldn't we be able
> > to make use of it, by using getservbyname() if a nonnumeric port number is
> > specified?
>
> Is any OS actually shipping us in /etc/services?
NetBSD will be, as of 1.7, though the 1.7 release is a while away yet.
(Sorry, I didn't find out about this in time to get it into for 1.6,
which is just about to be released.)
cjs
--
Curt Sampson <cjs(at)cynic(dot)net> +81 90 7737 2974 http://www.netbsd.org
Don't you know, in this new Dark Age, we're all light. --XTC
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Curt Sampson <cjs(at)cynic(dot)net> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 06:02:38 |
Message-ID: | 200206070602.g5762cU23217@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Curt Sampson wrote:
> On Fri, 7 Jun 2002, Bruce Momjian wrote:
>
> > Peter Eisentraut wrote:
> > > Since we now have an official entry in /etc/services, shouldn't we be able
> > > to make use of it, by using getservbyname() if a nonnumeric port number is
> > > specified?
> >
> > Is any OS actually shipping us in /etc/services?
>
> NetBSD will be, as of 1.7, though the 1.7 release is a while away yet.
> (Sorry, I didn't find out about this in time to get it into for 1.6,
> which is just about to be released.)
Sure, then let's start using getservbyname(), if it works.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | "Marc G(dot) Fournier" <scrappy(at)hub(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 12:08:48 |
Message-ID: | 20020607090845.C27088-100000@mail1.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
FreeBSD
On Fri, 7 Jun 2002, Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > Since we now have an official entry in /etc/services, shouldn't we be able
> > to make use of it, by using getservbyname() if a nonnumeric port number is
> > specified?
>
> Is any OS actually shipping us in /etc/services?
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
From: | "Roderick A(dot) Anderson" <raanders(at)acm(dot)org> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 12:59:44 |
Message-ID: | Pine.LNX.4.33.0206070558080.26011-100000@main.cyber-office.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
I see PostgreSQL in /etc/services on an upgraded Redhat Linux 7.3 system.
Don't think it was me adding it since I didn't have PG running on the
system.
Rod
--
Please don't tell my mother I'm a System Administrator.
She thinks I play piano in a bordello.
From: | Ettore Simone <esimone(at)suse(dot)it> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 13:05:59 |
Message-ID: | 1023455159.1514.89.camel@miu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
SuSE Linux 8.0
On Fri, 2002-06-07 at 07:41, Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > Since we now have an official entry in /etc/services, shouldn't we be able
> > to make use of it, by using getservbyname() if a nonnumeric port number is
> > specified?
>
> Is any OS actually shipping us in /etc/services?
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Ettore Simone
SuSE Linux srl Cel. +39 348 4904011
Via Montanara, 26 Tel. +39 059 5395 41
41051 Castelnuovo R. (MO) Fax +39 059 5332009
Via Proust, 40 Tel. +39 06 50514545
00143 Roma
From: | NunoACHenriques <nach(at)fct(dot)unl(dot)pt> |
---|---|
To: | "Roderick A(dot) Anderson" <raanders(at)acm(dot)org> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 13:07:37 |
Message-ID: | Pine.LNX.4.44.0206071405110.1209-100000@students.fct.unl.pt |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi!
Mandrake Linux release 8.1 also and without postgres rpms installed.
[nach(at)golfinho ~]$ cat /etc/services | grep 5432
# 5432-5434 Unassigned
postgres 5432/tcp # POSTGRES
postgres 5432/udp # POSTGRES
--
o__ Bem haja,
_.>/ _ NunoACHenriques
(_) \(_) ~~~~~~~~~~~~~~~
http://students.fct.unl.pt/users/nuno/
On Fri, 7 Jun 2002, Roderick A. Anderson wrote:
>I see PostgreSQL in /etc/services on an upgraded Redhat Linux 7.3 system.
>Don't think it was me adding it since I didn't have PG running on the
>system.
>
>
>Rod
>
From: | Andrew Sullivan <andrew(at)libertyrms(dot)info> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 14:18:03 |
Message-ID: | 20020607101803.O30966@mail.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Debian "woody" (to be 3.0 RSN . . . or something) has this in
/etc/services:
postgres 5432/tcp # POSTGRES
postgres 5432/udp # POSTGRES
A
--
----
Andrew Sullivan 87 Mowat Avenue
Liberty RMS Toronto, Ontario Canada
<andrew(at)libertyrms(dot)info> M6K 3E3
+1 416 646 3304 x110
From: | Kaare Rasmussen <kar(at)bering(dot)webline(dot)dk> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 14:57:53 |
Message-ID: | 200206071457.g57EvsW01087@bering.webline.dk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
> Is any OS actually shipping us in /etc/services?
It's right here in SuSE Linux 8.0. It was not in 7.3, so maybe it's
officially included from now on.
From: | Michael Alan Dorman <mdorman(at)debian(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 15:55:14 |
Message-ID: | 87zny76q3h.fsf@amanda.mallet-assembly.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Peter Eisentraut wrote:
> > Since we now have an official entry in /etc/services, shouldn't we be able
> > to make use of it, by using getservbyname() if a nonnumeric port number is
> > specified?
> Is any OS actually shipping us in /etc/services?
Debian GNU/Linux is, or at least will be for the imminent 3.0 release.
Mike.
From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | Michael Alan Dorman <mdorman(at)debian(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 18:03:34 |
Message-ID: | 1023473014.567.6.camel@lerlaptop |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Fri, 2002-06-07 at 10:55, Michael Alan Dorman wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Peter Eisentraut wrote:
> > > Since we now have an official entry in /etc/services, shouldn't we be able
> > > to make use of it, by using getservbyname() if a nonnumeric port number is
> > > specified?
> > Is any OS actually shipping us in /etc/services?
>
> Debian GNU/Linux is, or at least will be for the imminent 3.0 release.
It's in FreeBSD 4-STABLE, and definitely in 4.6-RELEASE which is due out
tomorrow. (or shortly thereafter).
>
> Mike.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | NunoACHenriques <nach(at)fct(dot)unl(dot)pt> |
Cc: | "Roderick A(dot) Anderson" <raanders(at)acm(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 22:26:05 |
Message-ID: | Pine.LNX.4.44.0206071953590.935-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
NunoACHenriques writes:
> Mandrake Linux release 8.1 also and without postgres rpms installed.
>
> [nach(at)golfinho ~]$ cat /etc/services | grep 5432
> # 5432-5434 Unassigned
> postgres 5432/tcp # POSTGRES
> postgres 5432/udp # POSTGRES
This is inconsistent with the official IANA assignment which reads
postgresql 5432/tcp # PostgreSQL Database
postqresql 5432/udp # PostgreSQL Database
# Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
(The spelling might have been fixed by now.)
You should probably file a bug report for your OS.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-07 22:26:32 |
Message-ID: | Pine.LNX.4.44.0206071956170.935-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce Momjian writes:
> Sure, then let's start using getservbyname(), if it works.
One thing that had occurred to me is that this probably doesn't work in
Java, so you couldn't do configure --with-pgport=postgresql. That reduces
the potential value a lot.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From: | rise <rise(at)knavery(dot)net> |
---|---|
To: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-08 07:12:24 |
Message-ID: | Pine.LNX.4.44.0206080111170.21261-100000@leannan.knavery.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Fri, 7 Jun 2002, Bruce Momjian wrote:
> Peter Eisentraut wrote:
> > Since we now have an official entry in /etc/services, shouldn't we be able
> > to make use of it, by using getservbyname() if a nonnumeric port number is
> > specified?
>
> Is any OS actually shipping us in /etc/services?
SuSE 8.0:
postgresql 5432/tcp # PostgreSQL Database
postqresql 5432/udp # PostgreSQL Database
I'll check OpenBSD 3.1 when I'm done installing.
--
Jonathan Conway rise(at)knavery(dot)net
history is paling & my surge protection failed, & so I FRIED
- Concrete Blonde, "Fried"
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | rise <rise(at)knavery(dot)net> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-08 14:50:40 |
Message-ID: | 13649.1023547840@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
rise <rise(at)knavery(dot)net> writes:
> On Fri, 7 Jun 2002, Bruce Momjian wrote:
>> Is any OS actually shipping us in /etc/services?
> SuSE 8.0:
> postgresql 5432/tcp # PostgreSQL Database
> postqresql 5432/udp # PostgreSQL Database
Mph, complete with the typo in the UDP entry. Hang onto that, it'll
be a collector's item someday ;-)
regards, tom lane
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | rise <rise(at)knavery(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-08 15:15:45 |
Message-ID: | 200206081515.g58FFje08968@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Tom Lane wrote:
> rise <rise(at)knavery(dot)net> writes:
> > On Fri, 7 Jun 2002, Bruce Momjian wrote:
> >> Is any OS actually shipping us in /etc/services?
>
> > SuSE 8.0:
>
> > postgresql 5432/tcp # PostgreSQL Database
> > postqresql 5432/udp # PostgreSQL Database
>
> Mph, complete with the typo in the UDP entry. Hang onto that, it'll
> be a collector's item someday ;-)
Isn't Suse centralizing development for the new UnitedLinux2? Guess Red
Hat doesn't have much to worry about. ;-)
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From: | "Roderick A(dot) Anderson" <raanders(at)acm(dot)org> |
---|---|
To: | |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Use of /etc/services? |
Date: | 2002-06-08 17:25:16 |
Message-ID: | Pine.LNX.4.33.0206081020260.2517-100000@main.cyber-office.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Sat, 8 Jun 2002, Peter Eisentraut wrote:
> This is inconsistent with the official IANA assignment which reads
Thanks. I'll update my services file and check all those I come into
contact with. I'll check if a new install if Redhat 7.3 has the correct
entries this weekend.
> postgresql 5432/tcp # PostgreSQL Database
> postqresql 5432/udp # PostgreSQL Database
> # Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
>
> (The spelling might have been fixed by now.)
It is corrected.
> You should probably file a bug report for your OS.
Interesting. I've never done this before. Most of the problems like this
I see after someone else has repored them. Maybe I'll get my 5 minutes
of fame.
Cheers,
Rod
--
Please don't tell my mother I'm a System Administrator.
She thinks I play piano in a bordello.