Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Robert Young <yayooo(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"
Date: 2011-10-27 19:53:08
Message-ID: 4672.1319745188@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz> writes:
> Actually, a minute is not always 60 seconds, as you can legally have 62
> seconds in a minute!

<pedantry>

There never have been, and will never be, two leap seconds declared in
the same minute --- the need for such would require that the authorities
in charge of declaring leap seconds had been asleep at the switch when
they should have declared the first one, and for awhile afterwards
as well, since the natural spacing of such events is well over a year.
Even if they did get that far behind, they would catch up by declaring
*one* added leap second in several successive opportunities.

The idea that there could need to be 62 seconds in a minute appears to
stem from a typographical error in an ancient version of some Unix
documentation or other (hardly a reference material for timekeeping),
which has been faithfully copied into a bunch of later computer-oriented
standards. But it's wrong, no matter how many places say that. Ask an
astronomer rather than a computer scientist, if you're not convinced.

</pedantry>

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2011-10-27 21:01:32 Re: BUG #6264: Superuser does not have inherent Replication permission
Previous Message Gavin Flower 2011-10-27 19:03:09 Re: Add statistics_collector_listen_addresses to fix hard-coding of "localhost"