Avoiding upgrade backlash

Lists: pgsql-advocacypgsql-docs
From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-advocacy(at)postgresql(dot)org
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Avoiding upgrade backlash
Date: 2007-11-12 22:42:30
Message-ID: 200711121442.31233.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Hackers,

I'm seeing from reports on IRC that 8.3 may cause an unprecedented number
of upgrade issues for users who have old, badly-written applications.
Stefan K, for example, was reporting the necessity of re-writing 3000
lines of his PL/pgSQL code on an older app (about 10%).

While we are right to choke down abuse of implicit casting, it might be a
good idea to give users stronger warnings and instructions.

I'm thinking that we need to warn everyone about:
1) They need to use 8.3's pg_dump, not the old version, to upgrade (this is
always true but now doing it wrong will break a lot more users).
2) They need to check for bugs
3) If Robert gets his type-cast backport package together, the location of
that.

I'm thinking this warning should go (prominently) into the release notes,
the community notice, and the extended web release.

--
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: pgsql-advocacy(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: [DOCS] Avoiding upgrade backlash
Date: 2007-11-12 23:04:12
Message-ID: 13606.1194908652@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> While we are right to choke down abuse of implicit casting, it might be a
> good idea to give users stronger warnings and instructions.

> I'm thinking that we need to warn everyone about:
> 1) They need to use 8.3's pg_dump, not the old version, to upgrade (this is
> always true but now doing it wrong will break a lot more users).

Uh, what makes you think that will make any difference?

> 3) If Robert gets his type-cast backport package together, the location of
> that.

The very *last* thing I want to see is encouragement of people trying to
undo that change.

regards, tom lane


From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-advocacy(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 00:13:23
Message-ID: 20071113001323.GA5255@crankycanuck.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Mon, Nov 12, 2007 at 02:42:30PM -0800, Josh Berkus wrote:
>
> While we are right to choke down abuse of implicit casting, it might be a
> good idea to give users stronger warnings and instructions.

I think this is true. I think it maybe ought to be right at the top of the
notes, and maybe ought to be linked off the announcement of the sort

Users upgrading from previous releases want to read this <a etc>
compatibility note</a>

I think maybe how Debian handled the notes about kernel changes in the last
stable release would be a good model. The point there is, _test well_.
We're doing what we warned you about.

> I'm thinking that we need to warn everyone about:
[&c]

This list seems to miss the main warning needed, which is this in 300 point
bold:

IMPLICIT TYPECASTS HAVE BEEN MOSTLY REMOVED. TEST YOUR APPLICATION!

A
--
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke


From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-advocacy(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 01:06:55
Message-ID: 87r6ivq7gw.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

"Andrew Sullivan" <ajs(at)crankycanuck(dot)ca> writes:

> IMPLICIT TYPECASTS HAVE BEEN MOSTLY REMOVED. TEST YOUR APPLICATION!

I think you have to say that without using the technical gobbledygook
"implicit casts".

Something like:

Non-strings are no longer converted automatically to strings when used in
places where strings are expected. You must now explicitly cast non-strings to
strings if you want to apply string operations on them.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's RemoteDBA services!


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-advocacy(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 04:12:52
Message-ID: 200711130412.lAD4CqT16853@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Gregory Stark wrote:
> "Andrew Sullivan" <ajs(at)crankycanuck(dot)ca> writes:
>
> > IMPLICIT TYPECASTS HAVE BEEN MOSTLY REMOVED. TEST YOUR APPLICATION!
>
> I think you have to say that without using the technical gobbledygook
> "implicit casts".
>
> Something like:
>
> Non-strings are no longer converted automatically to strings when used in
> places where strings are expected. You must now explicitly cast non-strings to
> strings if you want to apply string operations on them.

I think you need to show actual examples of problem queries.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-advocacy(at)postgresql(dot)org, josh(at)agliodbs(dot)com
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 09:45:04
Message-ID: 200711131045.04878.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Am Montag, 12. November 2007 schrieb Josh Berkus:
> I'm thinking that we need to warn everyone about:
> 1) They need to use 8.3's pg_dump, not the old version, to upgrade (this is
> always true but now doing it wrong will break a lot more users).

What difference would pg_dump make?

> 2) They need to check for bugs

What bugs?

> 3) If Robert gets his type-cast backport package together, the location of
> that.

Well, if you want to undo the changes, you don't need a backport package; you
can just change the cast's definition.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-advocacy(at)postgresql(dot)org, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 10:05:18
Message-ID: 473976DE.4040404@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Peter Eisentraut wrote:
> Am Montag, 12. November 2007 schrieb Josh Berkus:
>> I'm thinking that we need to warn everyone about:
>> 1) They need to use 8.3's pg_dump, not the old version, to upgrade (this is
>> always true but now doing it wrong will break a lot more users).
>
> What difference would pg_dump make?

well the current problem is that either way pg_dump can generate dumps
that are not restorable without modification on 8.3 (like say one that
contains a VIEW that does a INTEGER = TEXT comparision which 8.3 will
refuse to create) even if dumped with 8.3.

>
>> 2) They need to check for bugs
>
> What bugs?

queries that depend on implict casts "just working" - most of those are
actually bug or maybe sloppy coding on the application side but it is
imho by FAR the most incompatible behaviour change we have done in the
last few releases.
I guess that the largest amount of these are TEXT/INTEGER casts and the
kind of app that will probably hit most are the ones that are
misbehaving anyway (think EAV style stuff) - but it is a incompatible
change nevertheless.

>
>> 3) If Robert gets his type-cast backport package together, the location of
>> that.
>
> Well, if you want to undo the changes, you don't need a backport package; you
> can just change the cast's definition.

well the point here is that we ought to be more open about the impact of
the change and i think that the release notes need to mention that (and
maybe also an example on how to change/re-add the casts)

Stefan


From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 15:14:47
Message-ID: 20071113151447.GF11563@crankycanuck.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Mon, Nov 12, 2007 at 11:12:52PM -0500, Bruce Momjian wrote:
> I think you need to show actual examples of problem queries.

Good idea.

--
Andrew Sullivan
Old sigs will return after re-constitution of blue smoke


From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 15:55:59
Message-ID: 200711131655.59501.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Monday 12. November 2007, Josh Berkus wrote:
>I'm thinking that we need to warn everyone about:
>1) They need to use 8.3's pg_dump, not the old version, to upgrade

Isn't there a chicken-and-egg problem here? On my Gentoo system, I have
always been forced to uninstall the old version before upgrading to a
new version. In practice, that means that I have to do a full dump of
the databases with the current pg_dump, delete or rename the data
directory, and then restore after the upgrade.

I'd like to see a detailed howto on this ...
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/


From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
Cc: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 16:00:41
Message-ID: 20071113160041.GA19014@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Leif B. Kristensen wrote:
> On Monday 12. November 2007, Josh Berkus wrote:
> >I'm thinking that we need to warn everyone about:
> >1) They need to use 8.3's pg_dump, not the old version, to upgrade
>
> Isn't there a chicken-and-egg problem here? On my Gentoo system, I have
> always been forced to uninstall the old version before upgrading to a
> new version.

That's a Gentoo shortcoming, nothing more.

--
Alvaro Herrera http://www.advogato.org/person/alvherre
"Endurecerse, pero jamás perder la ternura" (E. Guevara)


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-advocacy(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 16:06:27
Message-ID: 200711130806.27325.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Peter,

> What difference would pg_dump make?

For many user's databases ... many more than any previous version after
7.3 ... using the old version's pg_dump *will not load* into 8.3. Unless you
restore the casts.

> Well, if you want to undo the changes, you don't need a backport package;
> you can just change the cast's definition.

Right. We've talked (on IRC) about putting together a package which restores
the removed casts.

Given that Gentoo, Red Hat and SuSE don't support having multiple PostgreSQL
versions on the system in their packaging, I'm thinking the "restore casts"
package is essential rather than being a nice idea.

Should I be discussing this on a different list?

--
Josh Berkus
PostgreSQL @ Sun
San Francisco


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-13 16:34:54
Message-ID: 200711131734.56044.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Am Dienstag, 13. November 2007 schrieb Josh Berkus:
> > What difference would pg_dump make?
>
> For many user's databases ... many more than any previous version after
> 7.3 ... using the old version's pg_dump *will not load* into 8.3.  Unless
> you restore the casts.

An example case would be useful here as well.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-advocacy(at)postgresql(dot)org, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-13 16:38:50
Message-ID: 9AA942690F2E0B8A997D26F1@imhotep.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

--On Dienstag, November 13, 2007 11:05:18 +0100 Stefan Kaltenbrunner
<stefan(at)kaltenbrunner(dot)cc> wrote:

>> What difference would pg_dump make?
>
> well the current problem is that either way pg_dump can generate dumps
> that are not restorable without modification on 8.3 (like say one that
> contains a VIEW that does a INTEGER = TEXT comparision which 8.3 will
> refuse to create) even if dumped with 8.3.

AFAIK pg_dump and its related dump routines takes care to dump this in a
proper way with explicit casts attached. Do you have an example showing a
possible misbehavior?

--
Thanks

Bernd


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-advocacy(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: [DOCS] Avoiding upgrade backlash
Date: 2007-11-13 16:39:26
Message-ID: 17640.1194971966@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Peter,
>> What difference would pg_dump make?

> For many user's databases ... many more than any previous version after
> 7.3 ... using the old version's pg_dump *will not load* into 8.3. Unless you
> restore the casts.

Please provide a concrete example.

> Should I be discussing this on a different list?

If you are looking for code changes, neither docs nor advocacy are
suitable forums.

regards, tom lane


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-advocacy(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: [DOCS] Avoiding upgrade backlash
Date: 2007-11-13 16:49:04
Message-ID: 20071113084904.645ccf51@scratch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 13 Nov 2007 11:39:26 -0500
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Josh Berkus <josh(at)agliodbs(dot)com> writes:
> > Peter,
> >> What difference would pg_dump make?
>
> > For many user's databases ... many more than any previous version
> > after 7.3 ... using the old version's pg_dump *will not load* into
> > 8.3. Unless you restore the casts.
>
> Please provide a concrete example.
>
> > Should I be discussing this on a different list?
>
> If you are looking for code changes, neither docs nor advocacy are
> suitable forums.

Josh wasn't looking for code changes. He was insuring that we were loud
about the rather significant problems that upgrading to 8.3, "may"
cause.

Joshua D. Drake

>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)--------------------------- TIP 4: Have you searched our
> list archives?
>
> http://archives.postgresql.org
>

- --

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997 http://www.commandprompt.com/
UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHOdWAATb/zqfZUUQRAjG4AJ9WZgxRABLBu/E6gid1t1Jg1pDxcQCfanaB
MNH1nlHU6lEO+z+IJ6mxLvE=
=2Tga
-----END PGP SIGNATURE-----


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-advocacy(at)postgresql(dot)org, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [DOCS] Avoiding upgrade backlash
Date: 2007-11-13 17:11:43
Message-ID: 18129.1194973903@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Am Montag, 12. November 2007 schrieb Josh Berkus:
>> 3) If Robert gets his type-cast backport package together, the location of
>> that.

> Well, if you want to undo the changes, you don't need a backport
> package; you can just change the cast's definition.

It's actually not going to be that easy, because most of those casts
aren't even in pg_cast anymore: they have been subsumed into the
CoerceViaIO mechanism. You'd need to resurrect the individual cast
functions before you could put entries back, too.

Another little problem is that you're likely to break as much stuff as
you fix. An example in CVS HEAD:

regression=# select 42 || 'foo';
?column?
----------
42foo
(1 row)

regression=# select 42 like 'foo';
ERROR: operator does not exist: integer ~~ unknown
LINE 1: select 42 like 'foo';
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.

OK, let's "fix" that by making int->text implicit again:

regression=# create function inttotext(int) returns text as $$
regression$# begin return $1; end$$ language plpgsql strict immutable;
CREATE FUNCTION
regression=# create cast (int as text) with function inttotext(int)
regression-# as implicit;
CREATE CAST

Now LIKE works:

regression=# select 42 like 'foo';
?column?
----------
f
(1 row)

but || not so much:

regression=# select 42 || 'foo';
ERROR: operator is not unique: integer || unknown
LINE 1: select 42 || 'foo';
^
HINT: Could not choose a best candidate operator. You might need to add explicit type casts.

regards, tom lane


From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 11:28:33
Message-ID: 200711141228.33802.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Tuesday 13. November 2007, Alvaro Herrera wrote:
>Leif B. Kristensen wrote:
>> On Monday 12. November 2007, Josh Berkus wrote:
>> >I'm thinking that we need to warn everyone about:
>> >1) They need to use 8.3's pg_dump, not the old version, to upgrade
>>
>> Isn't there a chicken-and-egg problem here? On my Gentoo system, I
>> have always been forced to uninstall the old version before
>> upgrading to a new version.
>
>That's a Gentoo shortcoming, nothing more.

I've started a thread about it in the Portage & Programming section of
forums.gentoo.org:

http://forums.gentoo.org/viewtopic-t-615494.html

I hope that someone more knowledgeable than me will be able to
contribute in bringing this issue to the attention of the Gentoo
developers, and hopefully work out a solution. Sure, there are other
Gentoo users than me around here?
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/


From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 12:54:49
Message-ID: 200711141354.49400.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Wednesday 14. November 2007, Leif B. Kristensen wrote:
>On Tuesday 13. November 2007, Alvaro Herrera wrote:
>>Leif B. Kristensen wrote:
>>> On Monday 12. November 2007, Josh Berkus wrote:
>>> >I'm thinking that we need to warn everyone about:
>>> >1) They need to use 8.3's pg_dump, not the old version, to upgrade
>>>
>>> Isn't there a chicken-and-egg problem here? On my Gentoo system, I
>>> have always been forced to uninstall the old version before
>>> upgrading to a new version.
>>
>>That's a Gentoo shortcoming, nothing more.
>
>I've started a thread about it in the Portage & Programming section of
>forums.gentoo.org:
>
>http://forums.gentoo.org/viewtopic-t-615494.html
>
>I hope that someone more knowledgeable than me will be able to
>contribute in bringing this issue to the attention of the Gentoo
>developers, and hopefully work out a solution. Sure, there are other
>Gentoo users than me around here?

FYI, I've filed a bug report on bugs.gentoo.org:

"This is not quite a bug, but rather an approaching challenge. See this
thread on forums.gentoo.org
[http://forums.gentoo.org/viewtopic-t-615494.html], in which I was
asked to file a bug report. Concerning the upcoming PostgreSQL upgrade
from 8.2 to 8.3, it's imperative that Gentoo implements an adequate
transition procedure. Blocking the old version will create
a 'chicken-and-egg' situation where you are left incapable of upgrading
your existing databases. According to the developers, it's important
that a dump of the old database should be done with the new 8.3 version
of pg_dump. See this thread
[http://archives.postgresql.org/pgsql-advocacy/2007-11/msg00051.php] on
pgsql-advocacy for some details."

The bug id is [https://bugs.gentoo.org/show_bug.cgi?id=199142].
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-advocacy(at)postgresql(dot)org
Cc: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 13:42:08
Message-ID: 200711141442.11913.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Am Mittwoch, 14. November 2007 schrieb Leif B. Kristensen:
> >from 8.2 to 8.3, it's imperative that Gentoo implements an adequate
> transition procedure. Blocking the old version will create
> a 'chicken-and-egg' situation where you are left incapable of upgrading
> your existing databases. According to the developers, it's important
> that a dump of the old database should be done with the new 8.3 version
> of pg_dump.

Note that this is actually not true on both accounts. Firstly, no developer
has ever claimed that, and second it's factually false.

It has always been "better" to use the newer pg_dump, but never "important" or
imperative.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 14:24:24
Message-ID: 200711141524.24866.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Wednesday 14. November 2007, Peter Eisentraut wrote:
>Am Mittwoch, 14. November 2007 schrieb Leif B. Kristensen:
>> >from 8.2 to 8.3, it's imperative that Gentoo implements an adequate
>>
>> transition procedure. Blocking the old version will create
>> a 'chicken-and-egg' situation where you are left incapable of
>> upgrading your existing databases. According to the developers, it's
>> important that a dump of the old database should be done with the
>> new 8.3 version of pg_dump.
>
>Note that this is actually not true on both accounts. Firstly, no
> developer has ever claimed that, and second it's factually false.
>
>It has always been "better" to use the newer pg_dump, but never
> "important" or imperative.

Here is what Josh said when he started this thread:

On Monday 12. November 2007, Josh Berkus wrote:
>I'm thinking that we need to warn everyone about:
>1) They need to use 8.3's pg_dump, not the old version, to upgrade

Repeat: "They need to use 8.3's pg_dump, not the old version, to
upgrade"

Do you mean to say that Josh is lying?
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-advocacy(at)postgresql(dot)org
Cc: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 14:45:42
Message-ID: 200711141545.42878.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Am Mittwoch, 14. November 2007 schrieb Leif B. Kristensen:
> Repeat: "They need to use 8.3's pg_dump, not the old version, to
> upgrade"
>
> Do you mean to say that Josh is lying?

Uh, well, at least his statements are not verified at this point. Certainly
your statement from the Gentoo forum posting "The 8.2 pg_dump won't do
anything about those implicit casts, but the 8.3 version will take care of a
lot of potential problems with them." would be sheer magic and certainly
don't correspond to anything implemented in pg_dump.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 14:59:21
Message-ID: 200711141559.21957.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Wednesday 14. November 2007, Peter Eisentraut wrote:

> Certainly your statement from the Gentoo forum posting "The 8.2
> pg_dump won't do anything about those implicit casts, but the 8.3
> version will take care of a lot of potential problems with them."
> would be sheer magic and certainly don't correspond to anything
> implemented in pg_dump.

That may not have been explicitly said in the current discussion, but it
has certainly been my impression that so is the case. My apologies if
this is an unwarranted assumption.

If somebody would dispel my ignorance and explain _why_ we should use
the 8.3 pg_dump, I'd be very thankful.
--
Leif Biberg Kristensen | Registered Linux User #338009
http://solumslekt.org/ | Cruising with Gentoo/KDE
My Jazz Jukebox: http://www.last.fm/user/leifbk/


From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
Cc: pgsql-advocacy(at)postgresql(dot)org
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 15:08:46
Message-ID: Pine.GSO.4.64.0711140951490.4662@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Wed, 14 Nov 2007, Leif B. Kristensen wrote:

> The bug id is [https://bugs.gentoo.org/show_bug.cgi?id=199142].

First off, they're already working on this problem. Installing multiple
versions of PostgreSQL at the same time is called "slotting" by them, and
an outline of the project is at
http://overlays.gentoo.org/proj/postgresql/wiki/ExperimentalFAQ

What I expect will happen to you is that your bug will be "resolved" by
marking it a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=42894
which, as you can see from its history, has been lingering around since
this class of problem was first reported during the 7.3->7.4 upgrade.
That was early in 2004 and I don't see any progress since about a year
ago, maybe somebody is still working on it.

A quick look through the PostgreSQL-related bug reports for Gentoo
suggests multiple serious issues that haven't been resolved in years;
another is https://bugs.gentoo.org/show_bug.cgi?id=44468 where the logging
interface is not quite right. That one people keep reporting, no progress
has been made even though it's really simple to fix--far simpler than
getting support for multiple versions at once.

I wouldn't anticipate a quick response here; the resources Gentoo is
devoting to PostgreSQL appear minimal. I'd suggest your time would be
better spent learning how to manually install PostgreSQL yourself rather
than expecting that the official packaging will fix this for you. It's
not that difficult to do.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD


From: Jon Sime <jsime(at)mediamatters(dot)org>
To: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
Cc: "pgsql-advocacy(at)postgresql(dot)org" <pgsql-advocacy(at)postgresql(dot)org>
Subject: Re: Avoiding upgrade backlash
Date: 2007-11-14 17:29:27
Message-ID: 473B3077.5070706@mediamatters.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Leif B. Kristensen wrote:
> On Tuesday 13. November 2007, Alvaro Herrera wrote:
>> Leif B. Kristensen wrote:
>>> On Monday 12. November 2007, Josh Berkus wrote:
>>>> I'm thinking that we need to warn everyone about:
>>>> 1) They need to use 8.3's pg_dump, not the old version, to upgrade
>>> Isn't there a chicken-and-egg problem here? On my Gentoo system, I
>>> have always been forced to uninstall the old version before
>>> upgrading to a new version.
>> That's a Gentoo shortcoming, nothing more.
>
> I've started a thread about it in the Portage & Programming section of
> forums.gentoo.org:
>
> http://forums.gentoo.org/viewtopic-t-615494.html
>
> I hope that someone more knowledgeable than me will be able to
> contribute in bringing this issue to the attention of the Gentoo
> developers, and hopefully work out a solution. Sure, there are other
> Gentoo users than me around here?

Aye, there's at least one more (at least on my development machine).

I wanted to point out that Gentoo does already have a solid way of
handling this -- you just have to use an overlay. If you have "layman"
installed, check out the "postgresql-testing" and
"postgresql-experimental" overlays.

I use the latter and have 8.1.10, 8.2.5 and 8.3beta1 all running happily
on the same machine without having had to do anything other than add
that overlay and set each instance to use a different port. Each release
is very nicely slotted and they all get along just peachy.

-Jon

--
Senior Systems Developer
Media Matters for America
http://mediamatters.org/


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-15 20:00:08
Message-ID: 200711152000.lAFK08911889@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs


I have added additional documentation for this item to the release
notes, with examples:

Non-character values are no longer automatically cast to TEXT (Peter,
Tom)

Previously, a function or operator that took a TEXT parameter used to
automatically cast a non-TEXT value to TEXT and call the function or
operator (assuming there was no other matching function or operator).
That no longer happens and an explicit cast to TEXT is now required. For
example, these expressions now throw an error:

substr(current_date, 1, 1);
23 LIKE '%2%'
5.4 ~ '6';

but these work because of the explicit casts:

substr(current_date::text, 1, 1);
23::text LIKE '%2%
5.4::text ~ '6';

CHAR and VARCHAR still cast to TEXT automatically. Concatenation (||)
with non-TEXT types is still automatically cast, assuming one of the
parameters is textual. While this change will require additional casts
for some queries, it also eliminates some unusual behavior.

Hope it isn't too detailed.

---------------------------------------------------------------------------

Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Am Montag, 12. November 2007 schrieb Josh Berkus:
> >> 3) If Robert gets his type-cast backport package together, the location of
> >> that.
>
> > Well, if you want to undo the changes, you don't need a backport
> > package; you can just change the cast's definition.
>
> It's actually not going to be that easy, because most of those casts
> aren't even in pg_cast anymore: they have been subsumed into the
> CoerceViaIO mechanism. You'd need to resurrect the individual cast
> functions before you could put entries back, too.
>
> Another little problem is that you're likely to break as much stuff as
> you fix. An example in CVS HEAD:
>
> regression=# select 42 || 'foo';
> ?column?
> ----------
> 42foo
> (1 row)
>
> regression=# select 42 like 'foo';
> ERROR: operator does not exist: integer ~~ unknown
> LINE 1: select 42 like 'foo';
> ^
> HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
>
> OK, let's "fix" that by making int->text implicit again:
>
> regression=# create function inttotext(int) returns text as $$
> regression$# begin return $1; end$$ language plpgsql strict immutable;
> CREATE FUNCTION
> regression=# create cast (int as text) with function inttotext(int)
> regression-# as implicit;
> CREATE CAST
>
> Now LIKE works:
>
> regression=# select 42 like 'foo';
> ?column?
> ----------
> f
> (1 row)
>
> but || not so much:
>
> regression=# select 42 || 'foo';
> ERROR: operator is not unique: integer || unknown
> LINE 1: select 42 || 'foo';
> ^
> HINT: Could not choose a best candidate operator. You might need to add explicit type casts.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 05:07:17
Message-ID: 200711162107.17437.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Bruce,

> CHAR and VARCHAR still cast to TEXT automatically. Concatenation (||)
> with non-TEXT types is still automatically cast, assuming one of the
> parameters is textual. While this change will require additional casts
> for some queries, it also eliminates some unusual behavior.
>
> Hope it isn't too detailed.

Hmmm. I don't feel like it contains a clear warning, though. We need a
statement like:

Some users may encounter issues upgrading due to the changes in handling
data type casts. If you suspect that your schema or application may not
be handling data type comparisons cleanly, you are strongly urged to test
for casting error messages before upgrading your production server.

--
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: josh(at)agliodbs(dot)com
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 05:47:27
Message-ID: 10223.1195278447@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Hmmm. I don't feel like it contains a clear warning, though. We need a
> statement like:

> Some users may encounter issues upgrading due to the changes in handling
> data type casts. If you suspect that your schema or application may not
> be handling data type comparisons cleanly, you are strongly urged to test
> for casting error messages before upgrading your production server.

When have we ever suggested that people *shouldn't* test their apps
before committing to a major version update?

I think the whole thing has been significantly overblown. We have made
incompatible changes bigger than this one --- and, often, harder to find
let alone fix --- in almost every major release. This one you can at
least be pretty sure that you will get an error, and not a silent change
in behavior, if you fall foul of it.

regards, tom lane


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 11:34:49
Message-ID: 200711171134.lAHBYnt11239@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Tom Lane wrote:
> Josh Berkus <josh(at)agliodbs(dot)com> writes:
> > Hmmm. I don't feel like it contains a clear warning, though. We need a
> > statement like:
>
> > Some users may encounter issues upgrading due to the changes in handling
> > data type casts. If you suspect that your schema or application may not
> > be handling data type comparisons cleanly, you are strongly urged to test
> > for casting error messages before upgrading your production server.
>
> When have we ever suggested that people *shouldn't* test their apps
> before committing to a major version update?
>
> I think the whole thing has been significantly overblown. We have made
> incompatible changes bigger than this one --- and, often, harder to find
> let alone fix --- in almost every major release. This one you can at
> least be pretty sure that you will get an error, and not a silent change
> in behavior, if you fall foul of it.

Agreed.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 20:16:38
Message-ID: 473F4C26.3090907@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Bruce Momjian wrote:
> Tom Lane wrote:
>> Josh Berkus <josh(at)agliodbs(dot)com> writes:
>>> Hmmm. I don't feel like it contains a clear warning, though. We need a
>>> statement like:
>>> Some users may encounter issues upgrading due to the changes in handling
>>> data type casts. If you suspect that your schema or application may not
>>> be handling data type comparisons cleanly, you are strongly urged to test
>>> for casting error messages before upgrading your production server.
>> When have we ever suggested that people *shouldn't* test their apps
>> before committing to a major version update?
>>
>> I think the whole thing has been significantly overblown. We have made
>> incompatible changes bigger than this one --- and, often, harder to find
>> let alone fix --- in almost every major release. This one you can at
>> least be pretty sure that you will get an error, and not a silent change
>> in behavior, if you fall foul of it.
>
> Agreed.

Honestly, I think you are underestimating this problem. I know that
every single one of our customers is going to run into this and as much
as I would like to say otherwise, the world has many more postgresql
users than I have customers.

This needs to be a dominant statement not only in the release notes but
in the FAQ and frankly we should be running some up to the release
announcements on -general and possibly the website about this change,
how it manifests itself and explicit examples on how to resolve it.

Joshua D. Drake


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 20:21:38
Message-ID: 200711172021.lAHKLcu06882@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Joshua D. Drake wrote:
> Bruce Momjian wrote:
> > Tom Lane wrote:
> >> Josh Berkus <josh(at)agliodbs(dot)com> writes:
> >>> Hmmm. I don't feel like it contains a clear warning, though. We need a
> >>> statement like:
> >>> Some users may encounter issues upgrading due to the changes in handling
> >>> data type casts. If you suspect that your schema or application may not
> >>> be handling data type comparisons cleanly, you are strongly urged to test
> >>> for casting error messages before upgrading your production server.
> >> When have we ever suggested that people *shouldn't* test their apps
> >> before committing to a major version update?
> >>
> >> I think the whole thing has been significantly overblown. We have made
> >> incompatible changes bigger than this one --- and, often, harder to find
> >> let alone fix --- in almost every major release. This one you can at
> >> least be pretty sure that you will get an error, and not a silent change
> >> in behavior, if you fall foul of it.
> >
> > Agreed.
>
> Honestly, I think you are underestimating this problem. I know that
> every single one of our customers is going to run into this and as much
> as I would like to say otherwise, the world has many more postgresql
> users than I have customers.
>
> This needs to be a dominant statement not only in the release notes but
> in the FAQ and frankly we should be running some up to the release
> announcements on -general and possibly the website about this change,
> how it manifests itself and explicit examples on how to resolve it.

If it is that big an issue why are we not getting more problem reports
from beta testers?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 20:34:31
Message-ID: 473F5057.8010905@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Bruce Momjian wrote:
> Joshua D. Drake wrote:

> If it is that big an issue why are we not getting more problem reports
> from beta testers?

Most people don't beta test further most people don't test (you know this).

My customers aren't going to be an issue obviously. What I am worried
about is the backlash from those who like to do this:

Ohhhh 8.3 is out.
Upgrade
WTH just happen!

And there are far more of those than I wish to admit (consider the
existence of gentoo ;)).

Sincerely,

Joshua D. Drake


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 20:38:32
Message-ID: 200711172038.lAHKcW615258@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Joshua D. Drake wrote:
> Bruce Momjian wrote:
> > Joshua D. Drake wrote:
>
> > If it is that big an issue why are we not getting more problem reports
> > from beta testers?
>
> Most people don't beta test further most people don't test (you know this).
>
> My customers aren't going to be an issue obviously. What I am worried
> about is the backlash from those who like to do this:
>
> Ohhhh 8.3 is out.
> Upgrade
> WTH just happen!
>
> And there are far more of those than I wish to admit (consider the
> existence of gentoo ;)).

I understand but unless we have feedback from actual users we can't know
which issues need X notice and which need 10X notice. We can guess and
right now I think we have enough detail. If we find we haven't covered
it enough we can always revisit this, even after the final release.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 20:52:53
Message-ID: 20609.1195332773@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

"Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
> Honestly, I think you are underestimating this problem.

The reason I'm underestimating the problem is that neither you nor
Josh have provided one iota of evidence to support your position
that the sky is falling.

When I look back at the release notes for the past several major
releases, I see lots of incompatibilities that look far worse than this
one. In many cases there were fairly subtle semantic changes that would
cause a query to still run, but deliver different answers than before.
Now that is the sort of thing that would maybe justify banners on the
rooftops, but as far as I recall we have always assumed that our users
were adult enough to read the compatibility warnings in the release
notes.

Heck, we have created bigger compatibility problems in *minor* releases;
the security-related tightening of multibyte encoding validity checks
caused a lot more problems for a lot more people (and with a lot less
notice) than I believe this change will do.

What we've got here is a case where certain people who were doing fairly
squirrely things will see errors that compel them to insert explicit
casts to make their intent clear. This won't even create a backwards
compatibility problem for them: the correctly-casted code will still
work in prior releases too. To me this looks comparable to, say,
the removal of LIMIT #,# syntax in favor of LIMIT/OFFSET in 7.3.

I fail to see why this is a major problem; and merely asserting that
it is one isn't going to change my mind. Can you point to something
like a major application that will be broken and can't easily be fixed?

regards, tom lane


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 21:01:01
Message-ID: 473F568D.2060308@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Tom Lane wrote:
> "Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
>> Honestly, I think you are underestimating this problem.
>

> I fail to see why this is a major problem; and merely asserting that
> it is one isn't going to change my mind. Can you point to something
> like a major application that will be broken and can't easily be fixed?

SQL-Ledger/LedgerSMB

What I find interesting is that I (and Josh) are getting push back and
all we are trying to do is be a little louder about the change.

Joshua D. Drake

>
> regards, tom lane
>


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 21:05:50
Message-ID: 200711172105.lAHL5oV02191@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Joshua D. Drake wrote:
> Tom Lane wrote:
> > "Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
> >> Honestly, I think you are underestimating this problem.
> >
>
> > I fail to see why this is a major problem; and merely asserting that
> > it is one isn't going to change my mind. Can you point to something
> > like a major application that will be broken and can't easily be fixed?
>
> SQL-Ledger/LedgerSMB
>
> What I find interesting is that I (and Josh) are getting push back and
> all we are trying to do is be a little louder about the change.

Adding extra warnings/notices is not a zero-cost action so there has to
be justification to do it. Actually it is near-zero cost to use but not
zero-cost to our users who have to read it multiple places. (Think dumb
product warning labels.)

What I have done is to move the item up to the top of our
incompatibilities list in the release notes. That is near zero cost for
everyone.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, josh(at)agliodbs(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-17 21:09:26
Message-ID: 473F5886.8040702@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

Bruce Momjian wrote:
> Joshua D. Drake wrote:
>> Tom Lane wrote:
>>> "Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
>>>> Honestly, I think you are underestimating this problem.
>>> I fail to see why this is a major problem; and merely asserting that
>>> it is one isn't going to change my mind. Can you point to something
>>> like a major application that will be broken and can't easily be fixed?
>> SQL-Ledger/LedgerSMB
>>
>> What I find interesting is that I (and Josh) are getting push back and
>> all we are trying to do is be a little louder about the change.
>
> Adding extra warnings/notices is not a zero-cost action so there has to
> be justification to do it. Actually it is near-zero cost to use but not
> zero-cost to our users who have to read it multiple places. (Think dumb
> product warning labels.)
>
> What I have done is to move the item up to the top of our
> incompatibilities list in the release notes. That is near zero cost for
> everyone.
>

Thank you.

Joshua D. Drake


From: theo(at)flame(dot)co(dot)za (Theo Kramer)
To: pgsql-docs(at)postgresql(dot)org
Subject: Re: [pgsql-advocacy] Avoiding upgrade backlash
Date: 2007-11-18 09:15:03
Message-ID: 20071118091503.GA2475@flame.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-advocacy pgsql-docs

On Sat, Nov 17, 2007 at 04:05:50PM -0500, Bruce Momjian wrote:
> What I have done is to move the item up to the top of our
> incompatibilities list in the release notes. That is near zero cost for
> everyone.

It bit me when testing my code against PG 8.3. Your docs helped me see my
mistake immediately.

Thanks and Regards
Theo