pg_migrator

Started by Bruce Momjianalmost 16 years ago86 messageshackers
Jump to latest
#1Bruce Momjian
bruce@momjian.us

There was talk of including pg_migrator in Postgres 9.0 in /contrib. Do
we still want to do that?

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

#2Robert Haas
robertmhaas@gmail.com
In reply to: Bruce Momjian (#1)
Re: pg_migrator

On Mon, Apr 26, 2010 at 9:26 PM, Bruce Momjian <bruce@momjian.us> wrote:

There was talk of including pg_migrator in Postgres 9.0 in /contrib.  Do
we still want to do that?

I think you articulated some pretty good reasons previously for
keeping it separate and, at any rate, I'm not eager to do it at the
11th hour without due consideration and adequate engineering time. So
I vote for holding off for this release and possibly revisiting at
some point down the road.

...Robert

#3Bruce Momjian
bruce@momjian.us
In reply to: Robert Haas (#2)
Re: pg_migrator

Robert Haas wrote:

On Mon, Apr 26, 2010 at 9:26 PM, Bruce Momjian <bruce@momjian.us> wrote:

There was talk of including pg_migrator in Postgres 9.0 in /contrib. ?Do
we still want to do that?

I think you articulated some pretty good reasons previously for
keeping it separate and, at any rate, I'm not eager to do it at the
11th hour without due consideration and adequate engineering time. So
I vote for holding off for this release and possibly revisiting at
some point down the road.

You might also remember I was outvoted. It will not be hard to put it
in /contrib as that is already a valid build option for pg_migrator.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

#4Robert Haas
robertmhaas@gmail.com
In reply to: Bruce Momjian (#3)
Re: pg_migrator

On Mon, Apr 26, 2010 at 9:46 PM, Bruce Momjian <bruce@momjian.us> wrote:

Robert Haas wrote:

On Mon, Apr 26, 2010 at 9:26 PM, Bruce Momjian <bruce@momjian.us> wrote:

There was talk of including pg_migrator in Postgres 9.0 in /contrib. ?Do
we still want to do that?

I think you articulated some pretty good reasons previously for
keeping it separate and, at any rate, I'm not eager to do it at the
11th hour without due consideration and adequate engineering time.  So
I vote for holding off for this release and possibly revisiting at
some point down the road.

You might also remember I was outvoted.  It will not be hard to put it
in /contrib as that is already a valid build option for pg_migrator.

[shrug...]

If that's the consensus I'll go along with it, but I'm not excited
about adding more things to our to-do list at this point, even
apparently simple ones.

...Robert

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: Robert Haas (#2)
Re: pg_migrator

Robert Haas <robertmhaas@gmail.com> writes:

On Mon, Apr 26, 2010 at 9:26 PM, Bruce Momjian <bruce@momjian.us> wrote:

There was talk of including pg_migrator in Postgres 9.0 in /contrib. �Do
we still want to do that?

I think you articulated some pretty good reasons previously for
keeping it separate and, at any rate, I'm not eager to do it at the
11th hour without due consideration and adequate engineering time.

I concur; it's about a month too late to propose this.

regards, tom lane

#6Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#5)
Re: pg_migrator

Tom Lane wrote:

Robert Haas <robertmhaas@gmail.com> writes:

On Mon, Apr 26, 2010 at 9:26 PM, Bruce Momjian <bruce@momjian.us> wrote:

There was talk of including pg_migrator in Postgres 9.0 in /contrib. ���Do
we still want to do that?

I think you articulated some pretty good reasons previously for
keeping it separate and, at any rate, I'm not eager to do it at the
11th hour without due consideration and adequate engineering time.

I concur; it's about a month too late to propose this.

I am confused why it is late. We add to /contrib even during beta, and
I didn't bring it up earlier because I didn't want to be pushing my own
software. Was someone else supposed to suggest it a month ago?

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

#7Andrew Dunstan
andrew@dunslane.net
In reply to: Bruce Momjian (#6)
Re: pg_migrator

Bruce Momjian wrote:

I concur; it's about a month too late to propose this.

I am confused why it is late. We add to /contrib even during beta, and
I didn't bring it up earlier because I didn't want to be pushing my own
software. Was someone else supposed to suggest it a month ago?

Bruce,

you're not usually such a shrinking violet. If you don't push your
project it's less likely others will, IMNSHO.

cheers

andrew

#8Bruce Momjian
bruce@momjian.us
In reply to: Andrew Dunstan (#7)
Re: pg_migrator

Andrew Dunstan wrote:

Bruce Momjian wrote:

I concur; it's about a month too late to propose this.

I am confused why it is late. We add to /contrib even during beta, and
I didn't bring it up earlier because I didn't want to be pushing my own
software. Was someone else supposed to suggest it a month ago?

Bruce,

you're not usually such a shrinking violet. If you don't push your
project it's less likely others will, IMNSHO.

Well, I am sensitive to be pushing my external project into /contrib when
I am someone who puts other stuff into contrib, and I have been working
on pg_migrator for only one year.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

#9Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#5)
pg_migrator to /contrib in a later 9.0 beta

Tom Lane wrote:

Robert Haas <robertmhaas@gmail.com> writes:

On Mon, Apr 26, 2010 at 9:26 PM, Bruce Momjian <bruce@momjian.us> wrote:

There was talk of including pg_migrator in Postgres 9.0 in /contrib. ���Do
we still want to do that?

I think you articulated some pretty good reasons previously for
keeping it separate and, at any rate, I'm not eager to do it at the
11th hour without due consideration and adequate engineering time.

I concur; it's about a month too late to propose this.

I talked to a few people personally about this, and it seems there was a
misunderstanding. I was not asking if pg_migrator should be in 9.0
beta1. I was asking if we should think about putting it into a later
9.0 beta, like 9.0 beta3. It would be another major 9.0 feature.

Because pg_migrator is an external project, it seemed best to do it
after beta1, while we are just waiting for bug reports, and not during
our main push to beta1.

FYI, here was the last discussion about having pg_migrator in /contrib
in December 2009:

http://archives.postgresql.org/pgsql-hackers/2009-12/msg01787.php

and most of the limitations of pg_migrator are gone when migrating to
9.0, even from Postgres 8.3. This could help beta testers move their
data to 9.0 as well.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

#10Mark Kirkwood
mark.kirkwood@catalyst.net.nz
In reply to: Bruce Momjian (#9)
Re: pg_migrator to /contrib in a later 9.0 beta

Bruce Momjian wrote:

and most of the limitations of pg_migrator are gone when migrating to
9.0, even from Postgres 8.3. This could help beta testers move their
data to 9.0 as well.

Wouldn't this help even for beta1?

Cheers

Mark

#11Tom Lane
tgl@sss.pgh.pa.us
In reply to: Mark Kirkwood (#10)
Re: pg_migrator to /contrib in a later 9.0 beta

Mark Kirkwood <mark.kirkwood@catalyst.net.nz> writes:

Bruce Momjian wrote:

and most of the limitations of pg_migrator are gone when migrating to
9.0, even from Postgres 8.3. This could help beta testers move their
data to 9.0 as well.

Wouldn't this help even for beta1?

It's too late for beta1. It probably should have been proposed when
there was still time ... but it wasn't.

I'm not necessarily averse to shoving it in as of beta2 or beta3 or
so; we've always been laxer about contrib than the core server.

regards, tom lane

#12Bruce Momjian
bruce@momjian.us
In reply to: Mark Kirkwood (#10)
Re: pg_migrator to /contrib in a later 9.0 beta

Mark Kirkwood wrote:

Bruce Momjian wrote:

and most of the limitations of pg_migrator are gone when migrating to
9.0, even from Postgres 8.3. This could help beta testers move their
data to 9.0 as well.

Wouldn't this help even for beta1?

It would, but there is so much work going into getting other features
done that there just isn't enough time. We don't want pg_migrator
delaying beta1.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

#13Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#9)
Re: pg_migrator to /contrib in a later 9.0 beta

On tor, 2010-04-29 at 17:34 -0400, Bruce Momjian wrote:

I talked to a few people personally about this, and it seems there was a
misunderstanding. I was not asking if pg_migrator should be in 9.0
beta1. I was asking if we should think about putting it into a later
9.0 beta, like 9.0 beta3. It would be another major 9.0 feature.

If it's supposed to be a major feature, then it should be in src/bin,
and fully integrated in the install, the documentation, etc.

If you want to put it in contrib because the standards are more lax
there, then by definition it's not really a major feature, it's just a
random feature that was snuck in. You can't have it both ways.

My personal feeling is that pg_migrator should be fully integrated, but
it's too late for that, obviously. Let's do it for 9.1.

I also think that the standards for contrib should not be so lax that a
completely new module can be added after beta. (This is mostly informed
by the feeling that contrib should go away entirely.)

#14Dimitri Fontaine
dimitri@2ndQuadrant.fr
In reply to: Peter Eisentraut (#13)
Re: pg_migrator to /contrib in a later 9.0 beta

Peter Eisentraut <peter_e@gmx.net> writes:

My personal feeling is that pg_migrator should be fully integrated, but
it's too late for that, obviously. Let's do it for 9.1.

+1

I also think that the standards for contrib should not be so lax that a
completely new module can be added after beta. (This is mostly informed
by the feeling that contrib should go away entirely.)

+1

For the record, the contrib replacement would look like proper Extension
handling in dump&restore, PGXS support for windows, and PGAN for source
level archive distribution. We'd still rely on distributions support for
binaries.

Those are the technical layers we need, then we'd have a PGAN entry for
replacing contrib, and a host of other ones. The contrib Archive Network
would contain -core reviewed (and maintained?) extensions, the other
ones are on their own. Maybe the main other one would be (could be?) a
new component of pgfoundry.

Regards,
--
dim

#15Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dimitri Fontaine (#14)
Re: pg_migrator to /contrib in a later 9.0 beta

Dimitri Fontaine <dfontaine@hi-media.com> writes:

Peter Eisentraut <peter_e@gmx.net> writes:

I also think that the standards for contrib should not be so lax that a
completely new module can be added after beta. (This is mostly informed
by the feeling that contrib should go away entirely.)

+1

For the record, the contrib replacement would look like proper Extension
handling in dump&restore, PGXS support for windows, and PGAN for source
level archive distribution. We'd still rely on distributions support for
binaries.

Both of you are living in some fantasy land. The reason contrib is held
to a lower standard than core is that nobody is willing to put the same
level of effort into contrib. There are modules in there (most of them,
in fact) that haven't been touched for years, other than as part of
system-wide search-and-replace patches. Extension support is not going
to magically fix that and cause maintenance effort to appear from
nowhere.

In the end, the main useful function that contrib serves is to provide
examples of how to write Postgres extensions. Because of that, removing
it as Peter suggests doesn't seem like a good idea to me.

regards, tom lane

#16Andrew Dunstan
andrew@dunslane.net
In reply to: Tom Lane (#15)
Re: pg_migrator to /contrib in a later 9.0 beta

Tom Lane wrote:

Dimitri Fontaine <dfontaine@hi-media.com> writes:

Peter Eisentraut <peter_e@gmx.net> writes:

I also think that the standards for contrib should not be so lax that a
completely new module can be added after beta. (This is mostly informed
by the feeling that contrib should go away entirely.)

+1

For the record, the contrib replacement would look like proper Extension
handling in dump&restore, PGXS support for windows, and PGAN for source
level archive distribution. We'd still rely on distributions support for
binaries.

Both of you are living in some fantasy land. The reason contrib is held
to a lower standard than core is that nobody is willing to put the same
level of effort into contrib. There are modules in there (most of them,
in fact) that haven't been touched for years, other than as part of
system-wide search-and-replace patches. Extension support is not going
to magically fix that and cause maintenance effort to appear from
nowhere.

In the end, the main useful function that contrib serves is to provide
examples of how to write Postgres extensions. Because of that, removing
it as Peter suggests doesn't seem like a good idea to me.

Quite so. Getting a better extensions mechanism doesn't mean we should
abandon what we currently have, IMNSHO.

cheers

andrew

#17Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#15)
Re: pg_migrator to /contrib in a later 9.0 beta

On fre, 2010-04-30 at 10:45 -0400, Tom Lane wrote:

In the end, the main useful function that contrib serves is to provide
examples of how to write Postgres extensions.

Maybe, but pg_migrator surely doesn't fit that. And neither does about
a third of the other contrib modules, IMO.

Because of that, removing
it as Peter suggests doesn't seem like a good idea to me.

contrib means many things to many people, and that's exactly the problem
in my mind: It doesn't mean anything in particular. If we were to
separate it into

- examples

- production-quality add-ons with small user base

- production-quality add-ons that everyone wants, but we keep them as
plugins because plugins are cool

- experimental code that we wanted to ship anyway

- (historically) differently licensed code

then these discussions would be much simpler.

#18Dimitri Fontaine
dimitri@2ndQuadrant.fr
In reply to: Andrew Dunstan (#16)
Re: pg_migrator to /contrib in a later 9.0 beta

Andrew Dunstan <andrew@dunslane.net> writes:

Quite so. Getting a better extensions mechanism doesn't mean we should
abandon what we currently have, IMNSHO.

Yeah, agreed. Exactly what I proposed. The only change is the
distribution mean. Either we keep things as they are now exactly, or we
use the new Archive Network facilities, in the spirit of being sure they
get exercised, requiring that commiters gets to use them and maybe use a
separate code repository for contribs. Or simply an adjusted Makefile.

Summary: the only proposed change is how to do it, not what we do.

Regards,
--
dim

#19Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#15)
Re: pg_migrator to /contrib in a later 9.0 beta

Tom Lane wrote:

Dimitri Fontaine <dfontaine@hi-media.com> writes:

Peter Eisentraut <peter_e@gmx.net> writes:

I also think that the standards for contrib should not be so lax that a
completely new module can be added after beta. (This is mostly informed
by the feeling that contrib should go away entirely.)

+1

For the record, the contrib replacement would look like proper Extension
handling in dump&restore, PGXS support for windows, and PGAN for source
level archive distribution. We'd still rely on distributions support for
binaries.

Both of you are living in some fantasy land. The reason contrib is held
to a lower standard than core is that nobody is willing to put the same
level of effort into contrib. There are modules in there (most of them,
in fact) that haven't been touched for years, other than as part of
system-wide search-and-replace patches. Extension support is not going
to magically fix that and cause maintenance effort to appear from
nowhere.

In the end, the main useful function that contrib serves is to provide
examples of how to write Postgres extensions. Because of that, removing
it as Peter suggests doesn't seem like a good idea to me.

So what do people want to do with pg_migrator? I don't think calling
pg_migrator a major features requires it to be in /bin. We added full
text search to /contrib years ago and that was a major feature.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

#20Magnus Hagander
magnus@hagander.net
In reply to: Bruce Momjian (#19)
Re: pg_migrator to /contrib in a later 9.0 beta

On Sat, May 1, 2010 at 02:23, Bruce Momjian <bruce@momjian.us> wrote:

Tom Lane wrote:

Dimitri Fontaine <dfontaine@hi-media.com> writes:

Peter Eisentraut <peter_e@gmx.net> writes:

I also think that the standards for contrib should not be so lax that a
completely new module can be added after beta.  (This is mostly informed
by the feeling that contrib should go away entirely.)

+1

For the record, the contrib replacement would look like proper Extension
handling in dump&restore, PGXS support for windows, and PGAN for source
level archive distribution. We'd still rely on distributions support for
binaries.

Both of you are living in some fantasy land.  The reason contrib is held
to a lower standard than core is that nobody is willing to put the same
level of effort into contrib.  There are modules in there (most of them,
in fact) that haven't been touched for years, other than as part of
system-wide search-and-replace patches.  Extension support is not going
to magically fix that and cause maintenance effort to appear from
nowhere.

In the end, the main useful function that contrib serves is to provide
examples of how to write Postgres extensions.  Because of that, removing
it as Peter suggests doesn't seem like a good idea to me.

So what do people want to do with pg_migrator?  I don't think calling
pg_migrator a major features requires it to be in /bin.  We added full
text search to /contrib years ago and that was a major feature.

There is a reason people said that "8.3 comes with full text search" -
that's when it really became a major feature to the outside world.
Before that, it wasn't included in most comparisons. It was a PITA to
install (well, not install, but upgrading when you had it, etc). (once
you knew the insides, it was a major feature yes, but people didn't
know about that)

A lot of people are not willing to put stuff labeled "contrib" on
their production boxes.

And as Tom says, even we *ourselves* acknowledge that things in
/contrib are held to a lower standard. If we put that label on
pg_migrator, it doesn't exactly signal people that this is something
they should use on their critical database.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

#21Robert Haas
robertmhaas@gmail.com
In reply to: Magnus Hagander (#20)
#22Tom Lane
tgl@sss.pgh.pa.us
In reply to: Robert Haas (#21)
#23Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#22)
#24Robert Haas
robertmhaas@gmail.com
In reply to: Tom Lane (#22)
#25Bruce Momjian
bruce@momjian.us
In reply to: Robert Haas (#24)
#26Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#23)
#27Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#25)
#28Tom Lane
tgl@sss.pgh.pa.us
In reply to: Robert Haas (#24)
#29Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#26)
#30Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#28)
#31Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#30)
#32Cédric Villemain
cedric.villemain.debian@gmail.com
In reply to: Bruce Momjian (#29)
#33Bruce Momjian
bruce@momjian.us
In reply to: Cédric Villemain (#32)
#34Robert Haas
robertmhaas@gmail.com
In reply to: Bruce Momjian (#31)
#35Andrew Dunstan
andrew@dunslane.net
In reply to: Robert Haas (#34)
#36Robert Haas
robertmhaas@gmail.com
In reply to: Andrew Dunstan (#35)
#37Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrew Dunstan (#35)
#38Robert Haas
robertmhaas@gmail.com
In reply to: Tom Lane (#37)
#39Tom Lane
tgl@sss.pgh.pa.us
In reply to: Robert Haas (#38)
#40Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#29)
#41Bruce Momjian
bruce@momjian.us
In reply to: Robert Haas (#34)
#42Bruce Momjian
bruce@momjian.us
In reply to: Andrew Dunstan (#35)
#43Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#42)
#44Bruce Momjian
bruce@momjian.us
In reply to: Robert Haas (#36)
#45Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#37)
#46Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#43)
#47Robert Haas
robertmhaas@gmail.com
In reply to: Bruce Momjian (#46)
#48Bruce Momjian
bruce@momjian.us
In reply to: Robert Haas (#47)
#49Tom Lane
tgl@sss.pgh.pa.us
In reply to: Robert Haas (#47)
#50Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#49)
#51Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#40)
#52Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#50)
#53Andrew Dunstan
andrew@dunslane.net
In reply to: Bruce Momjian (#50)
#54Bruce Momjian
bruce@momjian.us
In reply to: Andrew Dunstan (#53)
#55Dimitri Fontaine
dimitri@2ndQuadrant.fr
In reply to: Andrew Dunstan (#53)
#56Robert Haas
robertmhaas@gmail.com
In reply to: Dimitri Fontaine (#55)
#57Greg Smith
gsmith@gregsmith.com
In reply to: Bruce Momjian (#45)
#58Joshua D. Drake
jd@commandprompt.com
In reply to: Robert Haas (#56)
#59Bruce Momjian
bruce@momjian.us
In reply to: Robert Haas (#56)
#60Bruce Momjian
bruce@momjian.us
In reply to: Greg Smith (#57)
#61Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Bruce Momjian (#9)
#62Jesper Krogh
jesper@krogh.cc
In reply to: Bruce Momjian (#59)
#63Bruce Momjian
bruce@momjian.us
In reply to: Alvaro Herrera (#61)
#64Bruce Momjian
bruce@momjian.us
In reply to: Jesper Krogh (#62)
#65Robert Haas
robertmhaas@gmail.com
In reply to: Bruce Momjian (#63)
#66Joshua D. Drake
jd@commandprompt.com
In reply to: Robert Haas (#65)
#67Tom Lane
tgl@sss.pgh.pa.us
In reply to: Joshua D. Drake (#66)
#68Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#67)
#69Jesper Krogh
jesper@krogh.cc
In reply to: Bruce Momjian (#64)
#70Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Jesper Krogh (#69)
#71Jesper Krogh
jesper@krogh.cc
In reply to: Alvaro Herrera (#70)
#72Dimitri Fontaine
dimitri@2ndQuadrant.fr
In reply to: Jesper Krogh (#69)
#73Bruce Momjian
bruce@momjian.us
In reply to: Jesper Krogh (#71)
#74Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#73)
#75Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#73)
#76Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#75)
#77Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#75)
#78Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Bruce Momjian (#77)
#79Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#78)
#80Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#79)
#81Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#68)
#82Thom Brown
thombrown@gmail.com
In reply to: Bruce Momjian (#81)
#83Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#81)
#84Dave Page
dpage@pgadmin.org
In reply to: Thom Brown (#82)
#85Cédric Villemain
cedric.villemain.debian@gmail.com
In reply to: Tom Lane (#83)
#86Bruce Momjian
bruce@momjian.us
In reply to: Bruce Momjian (#81)