Re: 8.0 beta status

Lists: pgsql-docspgsql-hackers
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: 8.0 beta status
Date: 2004-08-05 23:58:14
Message-ID: 4027.1091750294@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

AFAIK there are no major patches still outstanding, with the exception
of the Windows-symlinks patch that arrived today from Andreas. Bruce
and I both think that's worth getting in, if no one has any objections,
but otherwise we essentially have 8.0beta1 code.

The documentation, however, desperately needs work still; and Marc would
like to get some of the postgresql.org domains shifted over to the
newly-installed venus server before we go beta. So the plan right now
is for a couple days' push on documentation, wrap beta1 on Sunday,
announce it Monday.

If anyone has time to work on docs over the next two days, please show
up on pgsql-docs and let us know what you want to work on. (And of
course it's still open season for bug-fix patches.)

regards, tom lane


From: David Fetter <david(at)fetter(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-06 00:25:53
Message-ID: 20040806002553.GA27306@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

On Thu, Aug 05, 2004 at 07:58:14PM -0400, Tom Lane wrote:
> AFAIK there are no major patches still outstanding, with the
> exception of the Windows-symlinks patch that arrived today from
> Andreas. Bruce and I both think that's worth getting in, if no one
> has any objections, but otherwise we essentially have 8.0beta1 code.
>
> The documentation, however, desperately needs work still; and Marc
> would like to get some of the postgresql.org domains shifted over to
> the newly-installed venus server before we go beta.

Which docs are in the most desparate need of help?

Cheers,
D
--
David Fetter david(at)fetter(dot)org http://fetter.org/
phone: +1 510 893 6100 mobile: +1 415 235 3778

Remember to vote!


From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-06 00:28:07
Message-ID: Pine.LNX.4.58.0408061021460.19203@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

I've fixed dbsize here and will send it off once I get a second to test it
with multiple tablespaces.

I haven't looked at oid2name.

Bruce put together some ideas a few months back on what we want from
oid2name now (somewhere around here:
http://archives.postgresql.org/pgsql-patches/2004-06/msg00263.php). Were
there any other suggestions?

Gavin

On Thu, 5 Aug 2004, Tom Lane wrote:

> AFAIK there are no major patches still outstanding, with the exception
> of the Windows-symlinks patch that arrived today from Andreas. Bruce
> and I both think that's worth getting in, if no one has any objections,
> but otherwise we essentially have 8.0beta1 code.
>
> The documentation, however, desperately needs work still; and Marc would
> like to get some of the postgresql.org domains shifted over to the
> newly-installed venus server before we go beta. So the plan right now
> is for a couple days' push on documentation, wrap beta1 on Sunday,
> announce it Monday.
>
> If anyone has time to work on docs over the next two days, please show
> up on pgsql-docs and let us know what you want to work on. (And of
> course it's still open season for bug-fix patches.)
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
> !DSPAM:4112cc7c190631668695780!
>
>


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: [HACKERS] 8.0 beta status
Date: 2004-08-06 00:35:51
Message-ID: 4364.1091752551@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

David Fetter <david(at)fetter(dot)org> writes:
> On Thu, Aug 05, 2004 at 07:58:14PM -0400, Tom Lane wrote:
>> The documentation, however, desperately needs work still; and Marc
>> would like to get some of the postgresql.org domains shifted over to
>> the newly-installed venus server before we go beta.

> Which docs are in the most desparate need of help?

The problem is really that we've done only cursory documentation
additions for the features added in 8.0. For instance, there are
reference pages for SAVEPOINT/ROLLBACK TO/RELEASE but there are still
many places that incorrectly say that we don't have nested transactions;
much less places that give examples involving using nested transactions
to solve real problems. What I was thinking of doing was just trying to
read large sections of the docs and annotate places that are out of date
and need work. If there are any particular areas you are familiar with,
you might want to claim responsibility for those.

regards, tom lane


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-06 01:11:55
Message-ID: 4112DADB.6040906@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

> If anyone has time to work on docs over the next two days, please show
> up on pgsql-docs and let us know what you want to work on. (And of
> course it's still open season for bug-fix patches.)

Tom, I haven't had a comment on the 'restoring LOB comments' patch, nor
on the two tablespace failures that Gavin and I brought up (Or the
original schema tablespace problem you found when you committed). They
could probably be post-beta perhaps though...

Chris


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-06 01:16:18
Message-ID: 5415.1091754978@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> Tom, I haven't had a comment on the 'restoring LOB comments' patch, nor
> on the two tablespace failures that Gavin and I brought up (Or the
> original schema tablespace problem you found when you committed). They
> could probably be post-beta perhaps though...

Yeah, those are all bug fixes and okay for post-beta I think. But which
two tablespace failures are you thinking of exactly? The last couple
weeks have been a bit of a blur for me...

regards, tom lane


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-06 04:53:00
Message-ID: 41130EAC.10102@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-07 03:54:34
Message-ID: 25964.1091850874@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
>> Yeah, those are all bug fixes and okay for post-beta I think. But which
>> two tablespace failures are you thinking of exactly? The last couple
>> weeks have been a bit of a blur for me...

> http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.au&rnum=4

Okay, this is a the-error-message-could-be-better gripe. Fair enough,
but it's not top of my priority list ...

> http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=4107211C.2050508%40familyhealth.com.au&rnum=5

I think the problem here is that we don't have a syntax for saying
"my tablespace is the same as my database's default tablespace" or "my
tablespace is the same as my schema's default tablespace", when there is
an intermediate object (schema or table) that isn't using that
tablespace. (Note that "TABLESPACE pg_default" does definitely not mean
either of these.)

This is fixable with some special syntax but is it worth the trouble?

regards, tom lane


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-13 04:03:55
Message-ID: 200408130403.i7D43tv13820@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers


Where are we on this?

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

Tom Lane wrote:
> Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> >> Yeah, those are all bug fixes and okay for post-beta I think. But which
> >> two tablespace failures are you thinking of exactly? The last couple
> >> weeks have been a bit of a blur for me...
>
> > http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.au&rnum=4
>
> Okay, this is a the-error-message-could-be-better gripe. Fair enough,
> but it's not top of my priority list ...
>
> > http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=4107211C.2050508%40familyhealth.com.au&rnum=5
>
> I think the problem here is that we don't have a syntax for saying
> "my tablespace is the same as my database's default tablespace" or "my
> tablespace is the same as my schema's default tablespace", when there is
> an intermediate object (schema or table) that isn't using that
> tablespace. (Note that "TABLESPACE pg_default" does definitely not mean
> either of these.)
>
> This is fixable with some special syntax but is it worth the trouble?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-13 04:14:38
Message-ID: 411C402E.2070306@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

The other tablespace problem is if you drop a tablespace that schema in
another db uses, it's broken still I think.

Chris

Bruce Momjian wrote:

> Where are we on this?
>
> ---------------------------------------------------------------------------
>
> Tom Lane wrote:
>
>>Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
>>
>>>>Yeah, those are all bug fixes and okay for post-beta I think. But which
>>>>two tablespace failures are you thinking of exactly? The last couple
>>>>weeks have been a bit of a blur for me...
>>
>>>http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.au&rnum=4
>>
>>Okay, this is a the-error-message-could-be-better gripe. Fair enough,
>>but it's not top of my priority list ...
>>
>>
>>>http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=4107211C.2050508%40familyhealth.com.au&rnum=5
>>
>>I think the problem here is that we don't have a syntax for saying
>>"my tablespace is the same as my database's default tablespace" or "my
>>tablespace is the same as my schema's default tablespace", when there is
>>an intermediate object (schema or table) that isn't using that
>>tablespace. (Note that "TABLESPACE pg_default" does definitely not mean
>>either of these.)
>>
>>This is fixable with some special syntax but is it worth the trouble?
>>
>> regards, tom lane
>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>>
>
>


From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-13 04:25:52
Message-ID: Pine.LNX.4.58.0408131424560.14291@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

On Fri, 13 Aug 2004, Bruce Momjian wrote:

>
> Where are we on this?
>
> ---------------------------------------------------------------------------
>
> Tom Lane wrote:
> > Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> > >> Yeah, those are all bug fixes and okay for post-beta I think. But which
> > >> two tablespace failures are you thinking of exactly? The last couple
> > >> weeks have been a bit of a blur for me...
> >
> > > http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.au&rnum=4
> >
> > Okay, this is a the-error-message-could-be-better gripe. Fair enough,
> > but it's not top of my priority list ...

I submitted a patch for the above with the subject:

[PATCHES] CREATE DATABASE with tablespace fix

Gavin


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-15 03:17:00
Message-ID: 200408150317.i7F3H0g25718@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

Christopher Kings-Lynne wrote:
> > Yeah, those are all bug fixes and okay for post-beta I think. But which
> > two tablespace failures are you thinking of exactly? The last couple
> > weeks have been a bit of a blur for me...
>
> http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.au&rnum=4

I am confused. You had:

template1=# create tablespace blah location '/home/swm/tbl/tspc1/';
CREATE TABLESPACE
template1=# create table foo (i int) tablespace blah;
CREATE TABLE
template1=# create database foo tablespace blah;
ERROR: could not initialize database directory
DETAIL: Directory "/home/swm/tbl/data/pg_tblspc/17227/17230" already
exists.

but with CVS head I see:

$ psql -a test </tmp/x
create tablespace blah location '/bjm/tmp';
CREATE TABLESPACE
create table foo (i int) tablespace blah;
CREATE TABLE
create database foo tablespace blah;
CREATE DATABASE

However, I don't see any CVS commit that fixed this? What am I missing?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-15 03:37:29
Message-ID: 200408150337.i7F3bTT27937@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

Tom Lane wrote:
> > http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=4107211C.2050508%40familyhealth.com.au&rnum=5
>
> I think the problem here is that we don't have a syntax for saying
> "my tablespace is the same as my database's default tablespace" or "my
> tablespace is the same as my schema's default tablespace", when there is
> an intermediate object (schema or table) that isn't using that
> tablespace. (Note that "TABLESPACE pg_default" does definitely not mean
> either of these.)
>
> This is fixable with some special syntax but is it worth the trouble?

Seems we have to come up with some solution or dump/reload will not put
things back in the same place for certain unusual configurations.

Added to open items:

* fix ambiguity for objects using default tablespaces

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-15 03:46:13
Message-ID: 15858.1092541573@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> However, I don't see any CVS commit that fixed this? What am I missing?

The failure case is where the template database has a conflicting
table. You didn't show us where you created that table, but it
evidently was not in template1.

regards, tom lane


From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-15 05:02:28
Message-ID: Pine.LNX.4.58.0408151459210.1496@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

On Sat, 14 Aug 2004, Bruce Momjian wrote:

> Christopher Kings-Lynne wrote:
> > > Yeah, those are all bug fixes and okay for post-beta I think. But which
> > > two tablespace failures are you thinking of exactly? The last couple
> > > weeks have been a bit of a blur for me...
> >
> > http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackers&hl=en&lr=&ie=UTF-8&group=comp.databases.postgresql.hackers&scoring=d&selm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.au&rnum=4
>
> I am confused. You had:
>
> template1=# create tablespace blah location '/home/swm/tbl/tspc1/';
> CREATE TABLESPACE
> template1=# create table foo (i int) tablespace blah;
> CREATE TABLE
> template1=# create database foo tablespace blah;
> ERROR: could not initialize database directory
> DETAIL: Directory "/home/swm/tbl/data/pg_tblspc/17227/17230" already
> exists.
>
> but with CVS head I see:
>
> $ psql -a test </tmp/x
> create tablespace blah location '/bjm/tmp';
> CREATE TABLESPACE
> create table foo (i int) tablespace blah;
> CREATE TABLE
> create database foo tablespace blah;
> CREATE DATABASE

You need to create a condition where by the new database would have to
merge a table into its default database. If you did the above in the
template1 database, you would get the same effect.

I sent a (partial) fix for this, which included some documentation
improvements. However, I posed a question. *digs*

[PATCHES] CREATE DATABASE with tablespace fix

was the subject.

Gavin


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: 8.0 beta status
Date: 2004-08-15 13:48:24
Message-ID: 200408151348.i7FDmOH13777@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-docs pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > However, I don't see any CVS commit that fixed this? What am I missing?
>
> The failure case is where the template database has a conflicting
> table. You didn't show us where you created that table, but it
> evidently was not in template1.

OK, reproduced by using template1:

create tablespace blah location '/bjm/tmp';
CREATE TABLESPACE
create table foo (i int) tablespace blah;
CREATE TABLE
create database foo tablespace blah;
ERROR: could not initialize database directory
DETAIL: Directory "/u/pgsql/data/pg_tblspc/17229/17232" already exists.

Gavin has posted a patch for this so I will put it in the patch queue.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073