Re: Stats Collector Won't Start

From: Chris Browne <cbbrowne(at)acm(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Stats Collector Won't Start
Date: 2006-10-19 14:59:29
Message-ID: 60vemg73n2.fsf@dba2.int.libertyrms.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane) writes:

> Chris Browne <cbbrowne(at)acm(dot)org> writes:
>> (gdb) print addr->ai_addr->sa_data
>> $18 = "\000\001\177\000\000\001\000\000\000\000\000\000\000"
>
> Hmm, that looks a bit odd --- what's the full declaration of structs
> sockaddr and sockaddr_in on that machine?

struct sockaddr {
uchar_t sa_len; /* total length */
sa_family_t sa_family; /* address family */
char sa_data[14]; /* actually longer; address value */
};

struct sockaddr_in {
uchar_t sin_len;
sa_family_t sin_family;
in_port_t sin_port;
struct in_addr sin_addr;
uchar_t sin_zero[8];
};
--
output = ("cbbrowne" "@" "cbbrowne.com")
http://linuxdatabases.info/info/spreadsheets.html
I think Java is the best language going today, which is to say, it's
the marginally acceptable one among the set of complete bagbiting
loser languages that we have to work with out here in the real world.
-- Jamie Zawinski, http://www.jwz.org/doc/java.html

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2006-10-19 15:08:52 PostGIS
Previous Message AgentM 2006-10-19 14:36:29 Re: timestamp as primary key?