Re: pg_dump --no-tablespaces patch

Lists: pgsql-patches
From: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: pg_dump --no-tablespaces patch
Date: 2007-07-15 17:31:27
Message-ID: af1bce590707151031n78a1f3f6y40b214fbb34deb33@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

This is the patch I proposed on hackers to make pg_dump optionally ignore
tablespaces. The patch is against 8.2.4. If I should be applying it to CVS
head or what not, please let me know (along with any thoughts, concerns or
issues).

Gavin

Attachment Content-Type Size
pg_dump-8.2.4-no-tablespace-option.patch application/octet-stream 6.1 KB

From: Dave Page <dpage(at)postgresql(dot)org>
To: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-07-15 19:01:58
Message-ID: 469A6F26.8000403@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Gavin M. Roy wrote:
> This is the patch I proposed on hackers to make pg_dump optionally
> ignore tablespaces. The patch is against 8.2.4. If I should be
> applying it to CVS head or what not, please let me know (along with any
> thoughts, concerns or issues).

Hi Gavin,

It should be against -head - there are changes to pg_dump in 8.3 that
may well prevent a patch against 8.2.4 applying cleanly.

As it's you, I assume you realise that you're too late for 8.3?

Regards, Dave.


From: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>
To: "Dave Page" <dpage(at)postgresql(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-07-15 21:22:23
Message-ID: af1bce590707151422j17b11737j2c1bd78480635309@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Yes, Tom suggested 8.4 would be a likely candidate should it be accepted.

On 7/15/07, Dave Page <dpage(at)postgresql(dot)org> wrote:
>
> Gavin M. Roy wrote:
> > This is the patch I proposed on hackers to make pg_dump optionally
> > ignore tablespaces. The patch is against 8.2.4. If I should be
> > applying it to CVS head or what not, please let me know (along with any
> > thoughts, concerns or issues).
>
> Hi Gavin,
>
> It should be against -head - there are changes to pg_dump in 8.3 that
> may well prevent a patch against 8.2.4 applying cleanly.
>
> As it's you, I assume you realise that you're too late for 8.3?
>
> Regards, Dave.
>


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-07-18 03:35:33
Message-ID: 200707180335.l6I3ZXK18060@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches


This has been saved for the 8.4 release:

http://momjian.postgresql.org/cgi-bin/pgpatches_hold

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

Gavin M. Roy wrote:
> This is the patch I proposed on hackers to make pg_dump optionally ignore
> tablespaces. The patch is against 8.2.4. If I should be applying it to CVS
> head or what not, please let me know (along with any thoughts, concerns or
> issues).
>
> Gavin

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

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

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


From: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>
To: "Bruce Momjian" <bruce(at)momjian(dot)us>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 15:39:30
Message-ID: af1bce590708300839i57bec10by9955694df1dff7eb@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

I wanted to push to see if I made a version of this patch against CVS
head if we could see it included in 8.3.

It's of clear value for people who use pg_dump and tablespaces. HOT
and tsearch development still continues and implementations of each
feature are still being discussed/debated as of this morning. It
seems to me that 8.3 code base is not static and we're not at the bug
cleanup phase of nearing release.

This patch is minor and makes admin, backup and recovery much easier
for people who use the tablespace feature and elect not to use
pg_dumpall. I think waiting for 8.4 at this point is a bit silly,
given the scope of code and impact of the patch.

Gavin

On 7/17/07, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> This has been saved for the 8.4 release:
>
> http://momjian.postgresql.org/cgi-bin/pgpatches_hold
>
> ---------------------------------------------------------------------------
>
> Gavin M. Roy wrote:
> > This is the patch I proposed on hackers to make pg_dump optionally ignore
> > tablespaces. The patch is against 8.2.4. If I should be applying it to CVS
> > head or what not, please let me know (along with any thoughts, concerns or
> > issues).
> >
> > Gavin
>
> [ Attachment, skipping... ]
>
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: Don't 'kill -9' the postmaster
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://www.enterprisedb.com
>
> + If your life is a hard drive, Christ can be your backup. +
>


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 15:56:41
Message-ID: 200708301556.l7UFufV15157@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Gavin M. Roy wrote:
> I wanted to push to see if I made a version of this patch against CVS
> head if we could see it included in 8.3.
>
> It's of clear value for people who use pg_dump and tablespaces. HOT
> and tsearch development still continues and implementations of each
> feature are still being discussed/debated as of this morning. It
> seems to me that 8.3 code base is not static and we're not at the bug
> cleanup phase of nearing release.
>
> This patch is minor and makes admin, backup and recovery much easier
> for people who use the tablespace feature and elect not to use
> pg_dumpall. I think waiting for 8.4 at this point is a bit silly,
> given the scope of code and impact of the patch.

You already got an answer to this question, and you replied:

http://archives.postgresql.org/pgsql-patches/2007-07/msg00167.php

If you want it in 8.3 you are going to need some community members to
take ownership of the patch, take responsibility for it, testing it, etc,
and argue that a feature addition that arrived in July should be added.
Not impossible, but you are going to need advocates for this.

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

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


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 16:18:38
Message-ID: 46D6EDDE.7070809@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Bruce Momjian wrote:
> If you want it in 8.3 you are going to need some community members to
> take ownership of the patch, take responsibility for it, testing it, etc,
> and argue that a feature addition that arrived in July should be added.
> Not impossible, but you are going to need advocates for this.
>
>

At this stage we should be kicking things out of the list, not adding to
it, IMNSHO. It really doesn't look to me like HOT is ready, from what I
can see of the discussion, and desirable as it is I think it should
probably wait.

Just my USD0.02 worth.

cheers

andrew


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 16:22:29
Message-ID: 200708301622.l7UGMTc18616@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Andrew Dunstan wrote:
>
>
> Bruce Momjian wrote:
> > If you want it in 8.3 you are going to need some community members to
> > take ownership of the patch, take responsibility for it, testing it, etc,
> > and argue that a feature addition that arrived in July should be added.
> > Not impossible, but you are going to need advocates for this.
> >
> >
>
> At this stage we should be kicking things out of the list, not adding to
> it, IMNSHO. It really doesn't look to me like HOT is ready, from what I
> can see of the discussion, and desirable as it is I think it should
> probably wait.

Are you saying HOT should wait or --no-tablespaces?

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

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


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 16:31:02
Message-ID: 46D6F0C6.4030109@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Bruce Momjian wrote:
> Andrew Dunstan wrote:
>
>> Bruce Momjian wrote:
>>
>>> If you want it in 8.3 you are going to need some community members to
>>> take ownership of the patch, take responsibility for it, testing it, etc,
>>> and argue that a feature addition that arrived in July should be added.
>>> Not impossible, but you are going to need advocates for this.
>>>
>>>
>>>
>> At this stage we should be kicking things out of the list, not adding to
>> it, IMNSHO. It really doesn't look to me like HOT is ready, from what I
>> can see of the discussion, and desirable as it is I think it should
>> probably wait.
>>
>
> Are you saying HOT should wait or --no-tablespaces?
>
>

--no-tablespaces definitely, HOT too unless there is a short clear path
to committal (which seems unlikely given the tenor of the discussions).

cheers

andrew


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 16:39:59
Message-ID: 200708301639.l7UGdxQ11623@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Andrew Dunstan wrote:
> >> At this stage we should be kicking things out of the list, not adding to
> >> it, IMNSHO. It really doesn't look to me like HOT is ready, from what I
> >> can see of the discussion, and desirable as it is I think it should
> >> probably wait.
> >>
> >
> > Are you saying HOT should wait or --no-tablespaces?
> >
> >
>
> --no-tablespaces definitely,

Agreed.

> HOT too unless there is a short clear path
> to committal (which seems unlikely given the tenor of the discussions).

You can't expect something like HOT to hit the mark 100% on its first
review. If we expected 100%, nothing complex would get applied. We
have a few weeks for HOT to mature now that it has feedback from Tom.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.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: Andrew Dunstan <andrew(at)dunslane(dot)net>, "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 17:03:08
Message-ID: 46D6F84C.6060209@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

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

Bruce Momjian wrote:
> Andrew Dunstan wrote:
>>>> At this stage we should be kicking things out of the list, not adding to

>> HOT too unless there is a short clear path
>> to committal (which seems unlikely given the tenor of the discussions).
>
> You can't expect something like HOT to hit the mark 100% on its first
> review.

Aren't we on review 14?

Joshua D. Drake

- --

=== 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)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1vhMATb/zqfZUUQRAqGcAJ0faHAM+9E0hlZzTcdyg5IMvSEifACgrRw5
KbOA5FN1oj+dEUl9AbZ2lzc=
=1lHk
-----END PGP SIGNATURE-----


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2007-08-30 17:28:49
Message-ID: 200708301728.l7UHSnH23212@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Joshua D. Drake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bruce Momjian wrote:
> > Andrew Dunstan wrote:
> >>>> At this stage we should be kicking things out of the list, not adding to
>
> >> HOT too unless there is a short clear path
> >> to committal (which seems unlikely given the tenor of the discussions).
> >
> > You can't expect something like HOT to hit the mark 100% on its first
> > review.
>
> Aren't we on review 14?

We are on versoin 14 that they generated with Heikki's feedback and
others, but no Tom's.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.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: "Gavin M(dot) Roy" <gmr(at)myyearbook(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_dump --no-tablespaces patch
Date: 2008-03-20 17:37:32
Message-ID: 12720.1206034652@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

"Gavin M. Roy" <gmr(at)myyearbook(dot)com> writes:
> This is the patch I proposed on hackers to make pg_dump optionally ignore
> tablespaces. The patch is against 8.2.4. If I should be applying it to CVS
> head or what not, please let me know (along with any thoughts, concerns or
> issues).

Applied with minor fixes and addition of documentation.

regards, tom lane