pg.ddx.io pgsql-ports@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible packages
6+ messages / 5 participants
[nested] [flat]
* Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible packages
@ 2005-12-13 08:16 Anand Kumria <wildfire@progsoc.uts.edu.au>
0 siblings, 1 reply; 6+ messages in thread
From: Anand Kumria @ 2005-12-13 08:16 UTC (permalink / raw)
To: Richard van den Berg <richard.vandenberg@trust-factory.com>; 342369@bugs.debian.org; +Cc: pgsql-general@postgresql.org; pgsql-ports
On Mon, Dec 12, 2005 at 09:41:47AM +0100, Richard van den Berg wrote:
> Tom Lane wrote:
> > You've got that 100% backwards: you should be complaining to Debian that
> > it's not their business to editorialize on the default setting.
Actually it *is* the business of Debian maintainers to determine what
works best for our users over and above what upstream decide.
Otherwise you'd get stuff like /usr/libexec, etc.
If Tom could present an actual reason why it shouldn't be enabled, I'm sure
Martin (Pitt) would be interested. But Stephen Frost and Peter
Eisentraut as well as others seem to be suggesting that Debian default is
sane.
> I've forwarded this thread to Debian as a bug report. Their answer is
> they will discuss this setting again when 8.2 comes out. The full answer
> is here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=342369
The bug has been closed on Peter's advice.
Cheers,
Anand
--
`When any government, or any church for that matter, undertakes to say to
its subjects, "This you may not read, this you must not see, this you are
forbidden to know," the end result is tyranny and oppression no matter how
holy the motives' -- Robert A Heinlein, "If this goes on --"
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible
@ 2005-12-13 15:26 Stephan Szabo <sszabo@megazone.bigpanda.com>
parent: Anand Kumria <wildfire@progsoc.uts.edu.au>
0 siblings, 1 reply; 6+ messages in thread
From: Stephan Szabo @ 2005-12-13 15:26 UTC (permalink / raw)
To: Anand Kumria <wildfire@progsoc.uts.edu.au>; +Cc: Richard van den Berg <richard.vandenberg@trust-factory.com>; 342369@bugs.debian.org; pgsql-general@postgresql.org; pgsql-ports
On Tue, 13 Dec 2005, Anand Kumria wrote:
> On Mon, Dec 12, 2005 at 09:41:47AM +0100, Richard van den Berg wrote:
> > Tom Lane wrote:
> > > You've got that 100% backwards: you should be complaining to Debian that
> > > it's not their business to editorialize on the default setting.
>
> Actually it *is* the business of Debian maintainers to determine what
> works best for our users over and above what upstream decide.
>
> Otherwise you'd get stuff like /usr/libexec, etc.
>
> If Tom could present an actual reason why it shouldn't be enabled, I'm sure
> Martin (Pitt) would be interested. But Stephen Frost and Peter
> Eisentraut as well as others seem to be suggesting that Debian default is
> sane.
In and of itself it's a good option. However, choosing that option means
that Debian is saying that compatibility of data files with default
compiled PostgreSQL is not one of its primary concerns, which is a
reasonable statement, but it's still not the community's problem when
people can't move data to it.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible
@ 2005-12-13 16:06 Stephen Frost <sfrost@snowman.net>
parent: Stephan Szabo <sszabo@megazone.bigpanda.com>
0 siblings, 2 replies; 6+ messages in thread
From: Stephen Frost @ 2005-12-13 16:06 UTC (permalink / raw)
To: Stephan Szabo <sszabo@megazone.bigpanda.com>; +Cc: Anand Kumria <wildfire@progsoc.uts.edu.au>; Richard van den Berg <richard.vandenberg@trust-factory.com>; 342369@bugs.debian.org; pgsql-general@postgresql.org; pgsql-ports
* Stephan Szabo (sszabo@megazone.bigpanda.com) wrote:
> On Tue, 13 Dec 2005, Anand Kumria wrote:
> > On Mon, Dec 12, 2005 at 09:41:47AM +0100, Richard van den Berg wrote:
> > > Tom Lane wrote:
> > > > You've got that 100% backwards: you should be complaining to Debian that
> > > > it's not their business to editorialize on the default setting.
[...]
> > If Tom could present an actual reason why it shouldn't be enabled, I'm sure
> > Martin (Pitt) would be interested. But Stephen Frost and Peter
> > Eisentraut as well as others seem to be suggesting that Debian default is
> > sane.
I think what Peter said is probably correct- it defaults to double
because some compilers don't support 64bit integers, or it'd be lots
slower because the architecture doesn't support it and so there's alot
of overhead.
> In and of itself it's a good option. However, choosing that option means
> that Debian is saying that compatibility of data files with default
> compiled PostgreSQL is not one of its primary concerns, which is a
> reasonable statement, but it's still not the community's problem when
> people can't move data to it.
Honestly, in the end I think the default should be changed. It could
fall-back to double with a warning (if it doesn't already) if the
compiler doesn't support 64bit integers. It sure seems like the general
feeling is that, given the choice, 64bit integer timestamps are
preferred. As the situations where you wouldn't want to use 64bit
integer timestamps are alot, lot smaller than the cases where you would
it's more sensible to have the default be to use them if possible.
Of course, another thought would be to have the rpms default to having
it enabled since the rpms provided on postgresql.org are for
architectures which should deal quite happily with 64bit integers (i686
and x86_64, though I don't actually see any rpms for x86_64, just the
directories, kind of odd). I'm reasonably confident that most rpm-based
architectures supported today support 64bit integers quite well, in
fact...
This really *should* be backwards, funny enough; Debian with support for
things like m68k (which doesn't have hardware 64bit integer support,
afaik) could be argued to use the default while rpm-based distros could
probably move to 64bit integer timestamps without any concerns over
using inefficient datatypes for the architectures those rpms would
likely be used on.
I don't think the Debian default should be changed though. If, say, an
m68k user actually complained about the default not being the right
option for them then I'd say we should consider having configure options
be different for those architectures and not that we should move
everyone to using doubles.
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 188B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible
@ 2005-12-13 17:26 Martin Pitt <martin@piware.de>
parent: Stephen Frost <sfrost@snowman.net>
1 sibling, 1 reply; 6+ messages in thread
From: Martin Pitt @ 2005-12-13 17:26 UTC (permalink / raw)
To: Stephan Szabo <sszabo@megazone.bigpanda.com>; Anand Kumria <wildfire@progsoc.uts.edu.au>; Richard van den Berg <richard.vandenberg@trust-factory.com>; 342369@bugs.debian.org; pgsql-general@postgresql.org; pgsql-ports
Hi Stephen!
Stephen Frost [2005-12-13 11:06 -0500]:
> Honestly, in the end I think the default should be changed. It could
> fall-back to double with a warning (if it doesn't already) if the
> compiler doesn't support 64bit integers.
> [...]
> I don't think the Debian default should be changed though. If, say, an
> m68k user actually complained about the default not being the right
> option for them then I'd say we should consider having configure options
> be different for those architectures and not that we should move
> everyone to using doubles.
I fully agree. (BTW, I doubt that double operations on m68k would be
any faster than integer ones...)
Thanks,
Martin
--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org
In a world without walls and fences, who needs Windows and Gates?
Attachments:
signature.asc (application/pgp-signature, 188B) download
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible
@ 2005-12-13 17:49 Stephan Szabo <sszabo@megazone.bigpanda.com>
parent: Stephen Frost <sfrost@snowman.net>
1 sibling, 0 replies; 6+ messages in thread
From: Stephan Szabo @ 2005-12-13 17:49 UTC (permalink / raw)
To: Stephen Frost <sfrost@snowman.net>; +Cc: Anand Kumria <wildfire@progsoc.uts.edu.au>; Richard van den Berg <richard.vandenberg@trust-factory.com>; pgsql-general@postgresql.org; pgsql-ports
On Tue, 13 Dec 2005, Stephen Frost wrote:
> * Stephan Szabo (sszabo@megazone.bigpanda.com) wrote:
>
> > In and of itself it's a good option. However, choosing that option means
> > that Debian is saying that compatibility of data files with default
> > compiled PostgreSQL is not one of its primary concerns, which is a
> > reasonable statement, but it's still not the community's problem when
> > people can't move data to it.
>
> Honestly, in the end I think the default should be changed.
I agree, but that's pretty unrelated to the overall discussion as I see
it. The discussion is not really about whether integer datetime is a good
idea, but instead about packaging because this isn't necessarily the only
option ever going forward for which this could occur. Changing the
defaults might make this case go away, but it doesn't solve the underlying
issue that people have expectations that aren't necessarily true if the
packages (and source tree) don't make equivalent choices.
^ permalink raw reply [nested|flat] 6+ messages in thread
* Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible
@ 2005-12-13 18:03 Tom Lane <tgl@sss.pgh.pa.us>
parent: Martin Pitt <martin@piware.de>
0 siblings, 0 replies; 6+ messages in thread
From: Tom Lane @ 2005-12-13 18:03 UTC (permalink / raw)
To: Martin Pitt <martin@piware.de>; +Cc: Stephan Szabo <sszabo@megazone.bigpanda.com>; Anand Kumria <wildfire@progsoc.uts.edu.au>; Richard van den Berg <richard.vandenberg@trust-factory.com>; 342369@bugs.debian.org; pgsql-general@postgresql.org; pgsql-ports
Martin Pitt <martin@piware.de> writes:
> I fully agree. (BTW, I doubt that double operations on m68k would be
> any faster than integer ones...)
Debatable at best --- most later 68k machines had hardware FPUs, but
none of them had any 64-bit-int instructions...
regards, tom lane
^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2005-12-13 18:03 UTC | newest]
Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-13 08:16 Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible packages Anand Kumria <wildfire@progsoc.uts.edu.au>
2005-12-13 15:26 ` Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible Stephan Szabo <sszabo@megazone.bigpanda.com>
2005-12-13 16:06 ` Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible Stephen Frost <sfrost@snowman.net>
2005-12-13 17:26 ` Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible Martin Pitt <martin@piware.de>
2005-12-13 18:03 ` Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible Tom Lane <tgl@sss.pgh.pa.us>
2005-12-13 17:49 ` Re: Bug#342369: PostgreSQL 8.1.0 RHEL / Debian incompatible Stephan Szabo <sszabo@megazone.bigpanda.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox