Re: Google SoC--Idea Request

Lists: pgsql-hackers
From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Google SoC--Idea Request
Date: 2006-04-15 19:05:20
Message-ID: 36e682920604151205i75a08030x7c05a6f52fccf095@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hey everyone,

I know we started a discussion a month or so ago regarding ideas for
SoC projects. However, after reading through the thread, I didn't see
us nail down any actual items.

As such, we need to quickly put together a list of oh, 15-20 midlevel
project ideas. I'm sure we can pull some off the TODO list, but we
should also look at project ideas for porting some of the most used
third-party OSS software to PostgreSQL too (portals, CMS systems,
accounting systems, etc.).

All ideas welcome!

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: Ned Lilly <ned(at)nedscape(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-17 13:32:36
Message-ID: 444398F4.2050105@nedscape.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

OpenMFG has done some work on getting PostgreSQL working with the Drupal CMS and the Mantis bugtracker (and also integrating those two, btw). We're in contact with the respective projects about getting our patches worked in, but if anyone's keeping a tally, just wanted you to be aware.

Regards,
Ned

Jonah H. Harris wrote:
> Hey everyone,
>
> I know we started a discussion a month or so ago regarding ideas for
> SoC projects. However, after reading through the thread, I didn't see
> us nail down any actual items.
>
> As such, we need to quickly put together a list of oh, 15-20 midlevel
> project ideas. I'm sure we can pull some off the TODO list, but we
> should also look at project ideas for porting some of the most used
> third-party OSS software to PostgreSQL too (portals, CMS systems,
> accounting systems, etc.).
>
> All ideas welcome!
>
> --
> Jonah H. Harris, Database Internals Architect
> EnterpriseDB Corporation
> 732.331.1324
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>
>


From: Stephen Frost <sfrost(at)snowman(dot)net>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-17 14:35:26
Message-ID: 20060417143526.GE4474@ns.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

* Jonah H. Harris (jonah(dot)harris(at)gmail(dot)com) wrote:
> I know we started a discussion a month or so ago regarding ideas for
> SoC projects. However, after reading through the thread, I didn't see
> us nail down any actual items.

I got an email already for a good idea, actually, which is to work on
having pg_hba.conf modifiable from SQL. The only problem with that is
that it really needs to be done in an acceptable way which requires
probably as much design work as actual programming. Another idea along
those same lines would be having .k5login-style support for Kerberos.
We'd need a conf-flag for that for backwards compatibility (once the
.k5login-style support exists we should clean up our Kerberos
credentials matching to, for example, not accept 'sfrost/root' for
'sfrost' or 'sfrost(at)ABC(dot)COM' for 'sfrost(at)XYZ(dot)com').

It'd also be nice to support SASL, and better hashes than md5.

Thanks,

Stephen


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-17 20:54:55
Message-ID: 20060417205455.GP49405@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Apr 15, 2006 at 03:05:20PM -0400, Jonah H. Harris wrote:
> All ideas welcome!

I know it's not directly PostgreSQL related, but I'd love to see the
dbt* code improved. Items on my wish-list:

- make it easy to run the test framework and clients on a seperate
machine from the database server
- keep results in a database
- provide a front-end to allow users to schedule tests in a queue
- add support for windows, at least for the database (theoretically
possible to run that way now, but you have to do everything by hand)

Another idea: afaik, spikesource is still offering a bounty for
improvements to OSS test suites, something that'd fit well with SoC.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: Mark Wong <markw(at)osdl(dot)org>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-18 18:27:40
Message-ID: 44452F9C.8000401@osdl.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jim C. Nasby wrote:
> On Sat, Apr 15, 2006 at 03:05:20PM -0400, Jonah H. Harris wrote:
>> All ideas welcome!
>
> I know it's not directly PostgreSQL related, but I'd love to see the
> dbt* code improved. Items on my wish-list:
>
> - make it easy to run the test framework and clients on a seperate
> machine from the database server
> - keep results in a database
> - provide a front-end to allow users to schedule tests in a queue
> - add support for windows, at least for the database (theoretically
> possible to run that way now, but you have to do everything by hand)
>
> Another idea: afaik, spikesource is still offering a bounty for
> improvements to OSS test suites, something that'd fit well with SoC.

I second this. :) There are also the TPC-App (Java) fair-use
implementation that I've started and the TPC-E (next gen OLTP) that I
would like to start.

Mark


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Mark Wong <markw(at)osdl(dot)org>
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-18 19:11:49
Message-ID: 20060418191149.GD49405@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Apr 18, 2006 at 11:27:40AM -0700, Mark Wong wrote:
> Jim C. Nasby wrote:
> >On Sat, Apr 15, 2006 at 03:05:20PM -0400, Jonah H. Harris wrote:
> >>All ideas welcome!
> >
> >I know it's not directly PostgreSQL related, but I'd love to see the
> >dbt* code improved. Items on my wish-list:
> >
> >- make it easy to run the test framework and clients on a seperate
> > machine from the database server
> >- keep results in a database
> >- provide a front-end to allow users to schedule tests in a queue
> >- add support for windows, at least for the database (theoretically
> > possible to run that way now, but you have to do everything by hand)
> >
> >Another idea: afaik, spikesource is still offering a bounty for
> >improvements to OSS test suites, something that'd fit well with SoC.
>
> I second this. :) There are also the TPC-App (Java) fair-use
> implementation that I've started and the TPC-E (next gen OLTP) that I
> would like to start.

Maybe before starting on TPC-E it makes sense to try and get a common
framework for all the different tests built? AFAIK most of the
benchmarks all use a fairly standard client-server infrastructure, so we
should hopefully be able to share that between the different tests...
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: "Mark Wong" <markw(at)osdl(dot)org>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-18 20:10:09
Message-ID: 36e682920604181310u740ef76hbc5bd5b63ed75cd2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 4/18/06, Jim C. Nasby <jnasby(at)pervasive(dot)com> wrote:
> On Tue, Apr 18, 2006 at 11:27:40AM -0700, Mark Wong wrote:
> > Jim C. Nasby wrote:
> > >On Sat, Apr 15, 2006 at 03:05:20PM -0400, Jonah H. Harris wrote:
> > >>All ideas welcome!
> > >
> > >I know it's not directly PostgreSQL related, but I'd love to see the
> > >dbt* code improved. Items on my wish-list:
> > >
> > >- make it easy to run the test framework and clients on a seperate
> > > machine from the database server
> > >- keep results in a database
> > >- provide a front-end to allow users to schedule tests in a queue
> > >- add support for windows, at least for the database (theoretically
> > > possible to run that way now, but you have to do everything by hand)
> > >
> > >Another idea: afaik, spikesource is still offering a bounty for
> > >improvements to OSS test suites, something that'd fit well with SoC.
> >
> > I second this. :) There are also the TPC-App (Java) fair-use
> > implementation that I've started and the TPC-E (next gen OLTP) that I
> > would like to start.
>
> Maybe before starting on TPC-E it makes sense to try and get a common
> framework for all the different tests built? AFAIK most of the
> benchmarks all use a fairly standard client-server infrastructure, so we
> should hopefully be able to share that between the different tests...

I agree with Jim. A framework would really help out here. All of the
tests are basically the same and would benefit from a framework.

However, Mark, do you think Java is a reliable benchmarking platform?
At EnterpriseDB, we've tried several Java benchmarks and could never
get as repeatable or reliable of a benchmark as DBT2 gives you.

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: Mark Wong <markw(at)osdl(dot)org>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-18 20:59:20
Message-ID: 44455328.3040602@osdl.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jonah H. Harris wrote:
> On 4/18/06, Jim C. Nasby <jnasby(at)pervasive(dot)com> wrote:
>> On Tue, Apr 18, 2006 at 11:27:40AM -0700, Mark Wong wrote:
>>> Jim C. Nasby wrote:
>>>> On Sat, Apr 15, 2006 at 03:05:20PM -0400, Jonah H. Harris wrote:
>>>>> All ideas welcome!
>>>> I know it's not directly PostgreSQL related, but I'd love to see the
>>>> dbt* code improved. Items on my wish-list:
>>>>
>>>> - make it easy to run the test framework and clients on a seperate
>>>> machine from the database server
>>>> - keep results in a database
>>>> - provide a front-end to allow users to schedule tests in a queue
>>>> - add support for windows, at least for the database (theoretically
>>>> possible to run that way now, but you have to do everything by hand)
>>>>
>>>> Another idea: afaik, spikesource is still offering a bounty for
>>>> improvements to OSS test suites, something that'd fit well with SoC.
>>> I second this. :) There are also the TPC-App (Java) fair-use
>>> implementation that I've started and the TPC-E (next gen OLTP) that I
>>> would like to start.
>> Maybe before starting on TPC-E it makes sense to try and get a common
>> framework for all the different tests built? AFAIK most of the
>> benchmarks all use a fairly standard client-server infrastructure, so we
>> should hopefully be able to share that between the different tests...
>
> I agree with Jim. A framework would really help out here. All of the
> tests are basically the same and would benefit from a framework.

This has crossed my mind before. I haven't been able to come up with
something that I've felt good about on my own though.

> However, Mark, do you think Java is a reliable benchmarking platform?
> At EnterpriseDB, we've tried several Java benchmarks and could never
> get as repeatable or reliable of a benchmark as DBT2 gives you.

I don't have much experience here yet. I've only got a portion of the
TPC-App implemented, although probably enough now to see how repeatable
it is thus far. Do you want to give my DBT4 kit a shot? :) I'm curious
to what platforms you've tried Java on as I've heard the Linux
implementations aren't as good as their Windows counterparts. I'm not
sure how true that is today though.

Mark


From: John DeSoi <desoi(at)pgedit(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-19 15:35:35
Message-ID: AB8B2106-EA96-4577-845B-6604CC140AEC@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Proposed item: Improve PL/PHP support, especially installation on non-
Linux platforms. PL/PHP does not currently work on OS X (not sure
about Windows, but I doubt it).

Alvaro indicated he would be willing to provide direction on this
with testing support from me. He also said there are several other
possible PL/PHP issues that would warrant a SoC project.

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "John DeSoi" <desoi(at)pgedit(dot)com>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-19 16:09:05
Message-ID: 36e682920604190909p68649a35m1953a7b4262b8852@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 4/19/06, John DeSoi <desoi(at)pgedit(dot)com> wrote:
> Alvaro indicated he would be willing to provide direction on this
> with testing support from me. He also said there are several other
> possible PL/PHP issues that would warrant a SoC project.

Cool... let's get 'em all listed here so we can move forward.

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: John DeSoi <desoi(at)pgedit(dot)com>
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-19 16:10:01
Message-ID: 444660D9.40106@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

John DeSoi wrote:
> Proposed item: Improve PL/PHP support, especially installation on
> non-Linux platforms. PL/PHP does not currently work on OS X (not sure
> about Windows, but I doubt it).

It definitely does NOT work on Windows. MacOSX is just a matter of us
having some time.

> Alvaro indicated he would be willing to provide direction on this with
> testing support from me. He also said there are several other possible
> PL/PHP issues that would warrant a SoC project.

Well my number one issue is the build process which needs to be cleaned
up but there are other more technical issues to be resolved as well.

Joshua D. Drake

>
>
>
>
> John DeSoi, Ph.D.
> http://pgedit.com/
> Power Tools for PostgreSQL
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: John DeSoi <desoi(at)pgedit(dot)com>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-19 16:12:42
Message-ID: 20060419161242.GC23169@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Joshua D. Drake wrote:
> John DeSoi wrote:
> >Proposed item: Improve PL/PHP support, especially installation on
> >non-Linux platforms. PL/PHP does not currently work on OS X (not sure
> >about Windows, but I doubt it).
>
> It definitely does NOT work on Windows. MacOSX is just a matter of us
> having some time.
>
> >Alvaro indicated he would be willing to provide direction on this with
> >testing support from me. He also said there are several other possible
> >PL/PHP issues that would warrant a SoC project.
>
> Well my number one issue is the build process which needs to be cleaned
> up but there are other more technical issues to be resolved as well.

Yeah, there are also a number of possible improvements documented as
tickets in the Trac site and others that currently exist only as very
vague noise in my head.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "John DeSoi" <desoi(at)pgedit(dot)com>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-20 12:51:25
Message-ID: 200604200851.25569.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Wednesday 19 April 2006 12:09, Jonah H. Harris wrote:
> On 4/19/06, John DeSoi <desoi(at)pgedit(dot)com> wrote:
> > Alvaro indicated he would be willing to provide direction on this
> > with testing support from me. He also said there are several other
> > possible PL/PHP issues that would warrant a SoC project.
>
> Cool... let's get 'em all listed here so we can move forward.
>

I think Martin Oosterhout's nearby email on coverity bug reports might make a
good SoC project, but should it also be added to the TODO list?

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-20 14:05:01
Message-ID: 20060420140501.GB1984@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Thu, Apr 20, 2006 at 08:51:25AM -0400, Robert Treat wrote:
> On Wednesday 19 April 2006 12:09, Jonah H. Harris wrote:
> > On 4/19/06, John DeSoi <desoi(at)pgedit(dot)com> wrote:
> > > Alvaro indicated he would be willing to provide direction on this
> > > with testing support from me. He also said there are several other
> > > possible PL/PHP issues that would warrant a SoC project.
> >
> > Cool... let's get 'em all listed here so we can move forward.
> >
>
> I think Martin Oosterhout's nearby email on coverity bug reports might make a
> good SoC project, but should it also be added to the TODO list?

Nice idea, though it would be much more useful if the reports could be
exported en-masse. There's an export function but it only exports the
user comments, not the error itself. So unless people signup there's no
easy way to get the info to people. :(

In any case, after you weed out the false-positives and exclude ECPG
you're only talking about less than 50 issues that may need to be
addressed. Hardly a project that will take any amount of time.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-20 15:04:31
Message-ID: 18559.1145545471@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> On Thu, Apr 20, 2006 at 08:51:25AM -0400, Robert Treat wrote:
>> I think Martin Oosterhout's nearby email on coverity bug reports might make a
>> good SoC project, but should it also be added to the TODO list?
> ...
> In any case, after you weed out the false-positives and exclude ECPG
> you're only talking about less than 50 issues that may need to be
> addressed. Hardly a project that will take any amount of time.

Nor one we'd be willing to wait till the summer to address, if any of
the bugs are real.

regards, tom lane


From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Google SoC--Idea Request
Date: 2006-04-20 15:48:05
Message-ID: 20060420154805.GD1984@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Thu, Apr 20, 2006 at 11:04:31AM -0400, Tom Lane wrote:
> Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> > On Thu, Apr 20, 2006 at 08:51:25AM -0400, Robert Treat wrote:
> >> I think Martin Oosterhout's nearby email on coverity bug reports might make a
> >> good SoC project, but should it also be added to the TODO list?
> > ...
> > In any case, after you weed out the false-positives and exclude ECPG
> > you're only talking about less than 50 issues that may need to be
> > addressed. Hardly a project that will take any amount of time.
>
> Nor one we'd be willing to wait till the summer to address, if any of
> the bugs are real.

Most of the stuff remaining is memory leaks in the src/bin directories,
and ECPG. The memory leaks are not important there (initdb leaks like a
sieve in many places).

About the only thing in the backend I found interesting was this:

src/backend/utils/hash/dynahash.c function hash_create

The numbers are line numbers. Somewhat squished version, hope I didn't
miss anything.

185 if( flags & HASH_SHARED_MEM) {
193 hashp->hcxt = NULL;
197 if (flags & HASH_ATTACH)
198 return hashp;
199 }
256 if (!init_htab(hashp, nelem))
257 {
258 hash_destroy(hashp);

hash_destroy dereferences hashp->hcxt. I don't see anything in
init_htab that special-cases shared memory hashes. The only way this
could be avoided is if HASH_SHARED_MEM was always combined with
HASH_ATTACH. But if so, why the test?

The only other thing we could do, if we were prepare to annotate the
source, is maybe teach it about our locking stuff and have it check
that. But I don't think that's suitable for mainline, more someone's
private tree...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Google SoC--Idea Request
Date: 2006-04-20 15:56:32
Message-ID: 19168.1145548592@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> About the only thing in the backend I found interesting was this:
> src/backend/utils/hash/dynahash.c function hash_create

I wonder if we shouldn't just remove the hash_destroy calls in
hash_create's failure paths. hash_destroy is explicitly not gonna
work on a shared-memory hashtable, and in all other cases I'd expect
that any already-allocated table structure will be in a palloc context
that will get cleaned up during error recovery.

regards, tom lane


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-20 18:01:35
Message-ID: 20060420180135.GF49405@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Another idea; add the ability for buildfarm machines to do a pgbench run
to stress-test the code. Such a test would probably have found the
windows pgbench issue I reported some time ago.

This would have to be optional, as not all buildfarm machines/owners
would tolerate the benchmark.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-20 21:12:55
Message-ID: 20060420211255.GF1984@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Apr 15, 2006 at 03:05:20PM -0400, Jonah H. Harris wrote:
> Hey everyone,
>
> I know we started a discussion a month or so ago regarding ideas for
> SoC projects. However, after reading through the thread, I didn't see
> us nail down any actual items.

Here's an idea: Get the ECPG test programs into a state that they can
be integrated into the regression tests.

There are programs already but you can't easily run them, no schema...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.


From: Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-21 01:14:05
Message-ID: 444831DD.3070809@calorieking.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> I think Martin Oosterhout's nearby email on coverity bug reports might make a
> good SoC project, but should it also be added to the TODO list?

I may as well put up phpPgAdmin for it. We have plenty of projects
available in phpPgAdmin...

Chris


From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>
Cc: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-21 08:27:48
Message-ID: 44489784.1010803@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Christopher Kings-Lynne wrote:
>> I think Martin Oosterhout's nearby email on coverity bug reports might
>> make a good SoC project, but should it also be added to the TODO list?
>
>
> I may as well put up phpPgAdmin for it. We have plenty of projects
> available in phpPgAdmin...

Same with pgAdmin3.

Regards,
Andreas


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-21 18:11:44
Message-ID: 20060421181144.GJ49405@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Apr 21, 2006 at 10:27:48AM +0200, Andreas Pflug wrote:
> Christopher Kings-Lynne wrote:
> >>I think Martin Oosterhout's nearby email on coverity bug reports might
> >>make a good SoC project, but should it also be added to the TODO list?
> >
> >
> >I may as well put up phpPgAdmin for it. We have plenty of projects
> >available in phpPgAdmin...
>
> Same with pgAdmin3.

Is there a list of specific projects? I'm pretty sure we can't just say
"work on (pgp)PgAdmin...
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, "Christopher Kings-Lynne" <chris(dot)kings-lynne(at)calorieking(dot)com>, "Robert Treat" <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org, "John DeSoi" <desoi(at)pgedit(dot)com>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-21 18:18:04
Message-ID: 36e682920604211118t52b7b4b6h6c58e45e87657c01@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Robert and I are working on updating it ASAP.

On 4/21/06, Jim C. Nasby <jnasby(at)pervasive(dot)com> wrote:
> On Fri, Apr 21, 2006 at 10:27:48AM +0200, Andreas Pflug wrote:
> > Christopher Kings-Lynne wrote:
> > >>I think Martin Oosterhout's nearby email on coverity bug reports might
> > >>make a good SoC project, but should it also be added to the TODO list?
> > >
> > >
> > >I may as well put up phpPgAdmin for it. We have plenty of projects
> > >available in phpPgAdmin...
> >
> > Same with pgAdmin3.
>
> Is there a list of specific projects? I'm pretty sure we can't just say
> "work on (pgp)PgAdmin...
> --
> Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
> Pervasive Software http://pervasive.com work: 512-231-6117
> vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
>

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-21 21:48:33
Message-ID: 200604211748.33565.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Friday 21 April 2006 14:11, Jim C. Nasby wrote:
> On Fri, Apr 21, 2006 at 10:27:48AM +0200, Andreas Pflug wrote:
> > Christopher Kings-Lynne wrote:
> > >>I think Martin Oosterhout's nearby email on coverity bug reports might
> > >>make a good SoC project, but should it also be added to the TODO list?
> > >
> > >I may as well put up phpPgAdmin for it. We have plenty of projects
> > >available in phpPgAdmin...
> >
> > Same with pgAdmin3.
>
> Is there a list of specific projects? I'm pretty sure we can't just say
> "work on (pgp)PgAdmin...

http://www.postgresql.org/developer/summerofcode

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-21 22:34:55
Message-ID: 20060421223455.GU49405@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, Apr 21, 2006 at 05:48:33PM -0400, Robert Treat wrote:
> On Friday 21 April 2006 14:11, Jim C. Nasby wrote:
> > On Fri, Apr 21, 2006 at 10:27:48AM +0200, Andreas Pflug wrote:
> > > Christopher Kings-Lynne wrote:
> > > >>I think Martin Oosterhout's nearby email on coverity bug reports might
> > > >>make a good SoC project, but should it also be added to the TODO list?
> > > >
> > > >I may as well put up phpPgAdmin for it. We have plenty of projects
> > > >available in phpPgAdmin...
> > >
> > > Same with pgAdmin3.
> >
> > Is there a list of specific projects? I'm pretty sure we can't just say
> > "work on (pgp)PgAdmin...
>
> http://www.postgresql.org/developer/summerofcode

Want to replace

<li><strong>Many TODO Items</strong>A number of the items on our TODO
list have been marked as good projects for beginners whos are new to the
PostgreSQL code. Items on this list have the advantage of already having
general community agreement that the feature is desireable. These items
should also have some general discussion available in the mailing list
archives to help get you started. You can find these items on the <a
href="http://wwwmaster.postgresql.org/docs/faqs.TODO.html">TODO</a>
list, they will be marked with apercent sign (%).
</li>

with

<li><strong>Many TODO Items</strong>: A number of the items on our TODO
list have been marked as good projects for beginners who are new to the
PostgreSQL code. Items on this list have the advantage of already having
general community agreement that the feature is desireable. These items
should also have some general discussion available in the mailing list
archives to help get you started. You can find these items on the <a
href="http://wwwmaster.postgresql.org/docs/faqs.TODO.html">TODO</a>
list, they will be marked with apercent sign (%).
</li>

?
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, pgsql-hackers(at)postgresql(dot)org, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-21 23:02:17
Message-ID: 44496479.9040700@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jim C. Nasby wrote:
>>
>> Same with pgAdmin3.
>>
>
> Is there a list of specific projects? I'm pretty sure we can't just say
> "work on (pgp)PgAdmin...
>

Our TODO list has some.

Regards,
Andreas


From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: John DeSoi <desoi(at)pgedit(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-23 21:45:24
Message-ID: 20060423214524.GC4775@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

I hope I'm not too late.

Jonah H. Harris wrote:
> On 4/19/06, John DeSoi <desoi(at)pgedit(dot)com> wrote:
> > Alvaro indicated he would be willing to provide direction on this
> > with testing support from me. He also said there are several other
> > possible PL/PHP issues that would warrant a SoC project.
>
> Cool... let's get 'em all listed here so we can move forward.

The following is all PL/php related, in no particular order:

1. Add support for IN/OUT parameters, and named parameters. This should
be easy to do, the majority of needed infraestructure in PL/php is there
already. It only needs a bit more love.

2. Clean up memory usage. Both compilation and execution of a function
should happen on separate, maybe temporary, memory contexts; and provide
adequate cleanup for both (for example when a function is recompiled).

3. Enable it to build separate from the Apache SAPI.

4. Allow huge resultsets to be processed by providing an option to
transparently use a cursor to fetch results partially, when spi_exec()
is called.

5. Clean up the plphp_proc_desc struct. This involves making sure we
store all the info we need to know about a function; no more, no less.
(I think currently we store things we don't need, and we don't store
some things it would be useful to know).

I don't think any of these would warrant a SoC by itself. Maybe the
whole bunch could, however.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "John DeSoi" <desoi(at)pgedit(dot)com>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-23 22:22:27
Message-ID: 36e682920604231522w96183d0mbedfd7c70d574b58@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Cool... will get them added.

On 4/23/06, Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:
> I hope I'm not too late.
>
> Jonah H. Harris wrote:
> > On 4/19/06, John DeSoi <desoi(at)pgedit(dot)com> wrote:
> > > Alvaro indicated he would be willing to provide direction on this
> > > with testing support from me. He also said there are several other
> > > possible PL/PHP issues that would warrant a SoC project.
> >
> > Cool... let's get 'em all listed here so we can move forward.
>
> The following is all PL/php related, in no particular order:
>
> 1. Add support for IN/OUT parameters, and named parameters. This should
> be easy to do, the majority of needed infraestructure in PL/php is there
> already. It only needs a bit more love.
>
> 2. Clean up memory usage. Both compilation and execution of a function
> should happen on separate, maybe temporary, memory contexts; and provide
> adequate cleanup for both (for example when a function is recompiled).
>
> 3. Enable it to build separate from the Apache SAPI.
>
> 4. Allow huge resultsets to be processed by providing an option to
> transparently use a cursor to fetch results partially, when spi_exec()
> is called.
>
> 5. Clean up the plphp_proc_desc struct. This involves making sure we
> store all the info we need to know about a function; no more, no less.
> (I think currently we store things we don't need, and we don't store
> some things it would be useful to know).
>
>
> I don't think any of these would warrant a SoC by itself. Maybe the
> whole bunch could, however.
>
> --
> Alvaro Herrera http://www.CommandPrompt.com/
> The PostgreSQL Company - Command Prompt, Inc.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: John DeSoi <desoi(at)pgedit(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-24 16:51:12
Message-ID: 20060424165112.GD38186@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Where do we stand with getting much more reasonable default values in
postgresql.conf? Maybe that should be a SoC project, or is it too small?
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 02:36:31
Message-ID: 8743.1145932591@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Jim C. Nasby" <jnasby(at)pervasive(dot)com> writes:
> Where do we stand with getting much more reasonable default values in
> postgresql.conf? Maybe that should be a SoC project, or is it too small?

Define "much more reasonable".

I doubt this is SoC material, simply because the issues have little to
do with coding and a lot to do with persuading people to drop default
support for old platforms. Which is not something a student is likely
to succeed at.

regards, tom lane


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, "John DeSoi" <desoi(at)pgedit(dot)com>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 02:56:14
Message-ID: 36e682920604241956s2bdd8880q2c479740d893c6fd@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 4/24/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I doubt this is SoC material, simply because the issues have little to
> do with coding and a lot to do with persuading people to drop default
> support for old platforms. Which is not something a student is likely
> to succeed at.

While the student could do some benchmarking on relatively new
hardware and make suggestions, I agree with Tom. Having to keep
support for older platforms doesn't leave much flexibility to change
the defaults.

I just don't see enough work here to warrant a SoC project.

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, "John DeSoi" <desoi(at)pgedit(dot)com>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 03:05:18
Message-ID: 9008.1145934318@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> While the student could do some benchmarking on relatively new
> hardware and make suggestions, I agree with Tom. Having to keep
> support for older platforms doesn't leave much flexibility to change
> the defaults.

Another point here is that the defaults *are* reasonable for development
and for small installations; the people who are complaining are the ones
who expect to run terabyte databases without any tuning. (I exaggerate
perhaps, but the point is valid.)

We've talked more than once about offering multiple alternative
starting-point postgresql.conf files to give people an idea of what to
do for small/medium/large installations. MySQL have done that for years
and it doesn't seem that users are unable to cope with the concept.
But doing this is (a) mostly a matter of testing and documenting, not
coding and (b) probably too small for a SoC project anyway.

regards, tom lane


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, "John DeSoi" <desoi(at)pgedit(dot)com>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 03:12:32
Message-ID: 36e682920604242012j38323b1td269857887c6fbaa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 4/24/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> We've talked more than once about offering multiple alternative
> starting-point postgresql.conf files to give people an idea of what to
> do for small/medium/large installations. MySQL have done that for years
> and it doesn't seem that users are unable to cope with the concept.
> But doing this is (a) mostly a matter of testing and documenting, not
> coding and (b) probably too small for a SoC project anyway.

Yeah, it would be nice to offer a small/med/large config file, but
there are also other considerations that affect PostgreSQL and not
MySQL. An example is the system-wide shared memory maximum... RedHat
defaults to 32M, SuSE to 32M?, and OSX to 4M (or something crazy like
that). So even if we give out a med/large config file, they won't
work for most people who have default Linux installs. Tuning
PostgreSQL isn't all that hard, but it may be nice to give people a
starting point.

I don't know, I'm not averse to adding something like the following to
the SoC ideas:

Benchmark PostgreSQL and analyze results to build optimal default
configuration files for medium and large-scale systems.

Of course, the definition of medium and large vary, as does the
application (OLTP, DSS, etc.); so we'd have to define them.

Thoughts?

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 05:00:18
Message-ID: 20060425050017.GC81249@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Apr 24, 2006 at 11:05:18PM -0400, Tom Lane wrote:
> "Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> > While the student could do some benchmarking on relatively new
> > hardware and make suggestions, I agree with Tom. Having to keep
> > support for older platforms doesn't leave much flexibility to change
> > the defaults.
>
> Another point here is that the defaults *are* reasonable for development
> and for small installations; the people who are complaining are the ones
> who expect to run terabyte databases without any tuning. (I exaggerate
> perhaps, but the point is valid.)
>
> We've talked more than once about offering multiple alternative
> starting-point postgresql.conf files to give people an idea of what to
> do for small/medium/large installations. MySQL have done that for years
> and it doesn't seem that users are unable to cope with the concept.
> But doing this is (a) mostly a matter of testing and documenting, not
> coding and (b) probably too small for a SoC project anyway.

My recollection was that there was opposition to offering multiple
config files, but that there was a proposal to make initdb smarter about
picking configuration values.

Personally, I agree that multiple config files would be fine. Or a
really fancy solution would be feeding a config option to initdb and
have it generate an appropriate postgresql.conf.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 05:43:15
Message-ID: 444DB6F3.6000504@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Jim C. Nasby wrote:

>On Mon, Apr 24, 2006 at 11:05:18PM -0400, Tom Lane wrote:
>
>
>>"Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
>>
>>
>>>While the student could do some benchmarking on relatively new
>>>hardware and make suggestions, I agree with Tom. Having to keep
>>>support for older platforms doesn't leave much flexibility to change
>>>the defaults.
>>>
>>>
>>Another point here is that the defaults *are* reasonable for development
>>and for small installations; the people who are complaining are the ones
>>who expect to run terabyte databases without any tuning. (I exaggerate
>>perhaps, but the point is valid.)
>>
>>We've talked more than once about offering multiple alternative
>>starting-point postgresql.conf files to give people an idea of what to
>>do for small/medium/large installations. MySQL have done that for years
>>and it doesn't seem that users are unable to cope with the concept.
>>But doing this is (a) mostly a matter of testing and documenting, not
>>coding and (b) probably too small for a SoC project anyway.
>>
>>
>
>My recollection was that there was opposition to offering multiple
>config files, but that there was a proposal to make initdb smarter about
>picking configuration values.
>
>Personally, I agree that multiple config files would be fine. Or a
>really fancy solution would be feeding a config option to initdb and
>have it generate an appropriate postgresql.conf.
>
>

We have already done some initdb tuning improvements for 8.2 - shared
buffers now tops out at 4000 instead of 1000 and initdb now sets
max_fsm_pages at a more realistic level. (top is 200,000 instead of
previously hardcoded 20,000).

I would have liked to increase max_connections too, but that would have
caused problems on OSX, apparently. See previous discussion.

Personally I would much rather see a tuning advisor tool in more general
use than just provide small/medium/large config setting files.

cheers

andrew


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "John DeSoi" <desoi(at)pgedit(dot)com>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 05:50:59
Message-ID: 36e682920604242250r13108475x91e4bb55045e0d16@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On 4/25/06, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> We have already done some initdb tuning improvements for 8.2

Cool, I hadn't looked at this.

> I would have liked to increase max_connections too, but that would have
> caused problems on OSX, apparently. See previous discussion.

Yeah, their defaults really suck.

> Personally I would much rather see a tuning advisor tool in more general
> use than just provide small/medium/large config setting files.

True dat.

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, "John DeSoi" <desoi(at)pgedit(dot)com>, "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 06:16:55
Message-ID: 10889.1145945815@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

"Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> On 4/25/06, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>> Personally I would much rather see a tuning advisor tool in more general
>> use than just provide small/medium/large config setting files.

> True dat.

One thing that has to be figured out before we can go far with this
is the whole question of how much smarts initdb really ought to have.
Since a lot of packagers think that initdb should be run
non-interactively behind the scenes, the obvious solution of "give
initdb a --small/--medium/--large parameter" does not work all that
nicely. But on the other hand we can't just tell people to drop in
replacement config files when the one in place contains initdb-created
specifics, such as locale settings.

Now that there's a provision for "include" directives in
postgresql.conf, one way to address this would be to split the
config info into multiple physical files, some containing purely
performance-related settings while others consider functionality.
But that seems more like a wart than a solution to me. I feel that
we've pushed performance-tuning logic into initdb that probably ought
not be there, and we ought to factor it out again.

regards, tom lane


From: "ipig" <ipig(at)ercist(dot)iscas(dot)ac(dot)cn>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 06:33:22
Message-ID: 007001c66832$30efc030$8c01a8c0@homepig
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Maybe you can develop a graphic interface just like Fedora Core setup interface which can choose packages installing, then the user can choose config file and then have a little change in parameters.

----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>; "Jim C. Nasby" <jnasby(at)pervasive(dot)com>; "John DeSoi" <desoi(at)pgedit(dot)com>; "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Sent: Tuesday, April 25, 2006 2:16 PM
Subject: Re: [HACKERS] Google SoC--Idea Request

> "Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
>> On 4/25/06, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>>> Personally I would much rather see a tuning advisor tool in more general
>>> use than just provide small/medium/large config setting files.
>
>> True dat.
>
> One thing that has to be figured out before we can go far with this
> is the whole question of how much smarts initdb really ought to have.
> Since a lot of packagers think that initdb should be run
> non-interactively behind the scenes, the obvious solution of "give
> initdb a --small/--medium/--large parameter" does not work all that
> nicely. But on the other hand we can't just tell people to drop in
> replacement config files when the one in place contains initdb-created
> specifics, such as locale settings.
>
> Now that there's a provision for "include" directives in
> postgresql.conf, one way to address this would be to split the
> config info into multiple physical files, some containing purely
> performance-related settings while others consider functionality.
> But that seems more like a wart than a solution to me. I feel that
> we've pushed performance-tuning logic into initdb that probably ought
> not be there, and we ought to factor it out again.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>


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: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, John DeSoi <desoi(at)pgedit(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-04-25 13:16:47
Message-ID: 200604251316.k3PDGlH29297@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:
> "Jonah H. Harris" <jonah(dot)harris(at)gmail(dot)com> writes:
> > On 4/25/06, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> >> Personally I would much rather see a tuning advisor tool in more general
> >> use than just provide small/medium/large config setting files.
>
> > True dat.
>
> One thing that has to be figured out before we can go far with this
> is the whole question of how much smarts initdb really ought to have.
> Since a lot of packagers think that initdb should be run
> non-interactively behind the scenes, the obvious solution of "give
> initdb a --small/--medium/--large parameter" does not work all that
> nicely. But on the other hand we can't just tell people to drop in
> replacement config files when the one in place contains initdb-created
> specifics, such as locale settings.
>
> Now that there's a provision for "include" directives in
> postgresql.conf, one way to address this would be to split the
> config info into multiple physical files, some containing purely
> performance-related settings while others consider functionality.
> But that seems more like a wart than a solution to me. I feel that
> we've pushed performance-tuning logic into initdb that probably ought
> not be there, and we ought to factor it out again.

Sounds good. I don't care what we do for 8.2, but we should do
something.

Or am I going to have to bring out my dancing elephant again? :-)

http://www.janetskiles.com/ART/greeting/greet-ani/dancing-elephant.jpg

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

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


From: "Nikolay Samokhvalov" <samokhvalov(at)gmail(dot)com>
To: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-05-02 08:34:43
Message-ID: e431ff4c0605020134x303014a7r5cea1ed1951f09f6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Proposal: XMLType for PostgreSQL.

*** Minimum: ***
to have special type support for storing XML data and working with it.
This means following:
- ability to define any column of a table as of XMLType; internally,
all data is stored as VARCHAR;
- auto validation of documents against XML schema, if it was
specified in column
definition or in XML data sheets themselves (DTD, XSD or at least one
of them) /*contrib/xml2 has such feature, but it uses libxml, what
means DOM interface. Maybe it's better to use some SAX parser to solve
this task*/;
- XPath indexes for queries with path expressions in WHERE clause /*I
suppose this kind of indexes would be most frequently used. I propose
using good labeling schema and GIST and/or Gin here*/;
- some subset of SQL/XML. Actually, part 14 of SQL:200n (SQL/XML) has
more than 400 pages now and contains some established constructions,
that are using in other DBMSes. There is the some patch already
written by Pavel Stehule:
http://www.pgsql.ru/db/mw/msg.html?mid=2096818. (BTW, what is with it?
it was kept for 8.2, so what is the result?) I've tested it several
months ago, basic SQL/XML functions worked fine. It changes grammar,
but there is no other way... So, using this patch as a part of this
project means that this project cannot be contrib module,
unfortunately. Nevertheless, current paper of SQL/XML standard seems
to be mature - so, compared with existing implementation it would be a
nice 'landmark';
- XML domains support: ability to define domain based on XMLType and
XML schema definition (e.g., external DTD file or smth). I'd consider
XML schema definition as a restriction of entire XML Type (similar to
restrictions for plain types, which are defined as CHECK constraint in
domain definition)

*** Maximum: ***
- all things from 'minimum' list :-)
- reach index system:
* structure index (labeling schema; prefix schemas seem to be best
for this and I
suppose GIST would help here). Actually, it would be full shredding,
like primary index for XML in MS SQL Server, but I'm aware of better
labeling algorithms than simple prefix labeling (as in SQL Server).
Surely, GIST/Gin support would be great foundation for these
* flexible support of path indexes, value indexes and so on (smth
like secondary XML indexes in SQL Server...) - as a continuation of
work on path indexes from 'minimum' list;
- full-text search abilties (tsearch2 / GIST);
- different encoding issues (auto conversion to column's encoding, etc);
- ability to choose storage type: VARCHAR or 'native' (trees - like
in native XML DBMSes and DB2 Viper [if their articles don't lie ;-)])
mode. Actually, this is very-very huge task (almost so as creating
DBMS from scratch) and I inderstand clearly that I won't solve it
using only my own abilities. But the work on 'minimum' list
(especially if it will be a part of SoC) would be a good start point
and may involve some other developers that help to implement it. Maybe
at the initial stage, it's worth to integrate with some other DBMS and
work with it using two-phase commit (surely, this is not a clue to all
problems, as it
means two different execution plans, etc);
- XQuery and its integration with SQL (according SQL/XML standard).
In other words, implementation of XQuery Data Model - this would be
great target point (version 1.0 of entire project);
- XML views / updatable XML views (actually, it's a crazy idea, but
it's my dream ;-) )

As a part of SoC I would concentrate on tasks from 'minimum' list. It
would be a good start point.

Some articles:
Fresh draft of SQL:200n: http://www.wiscorp.com/sql_2003_standard.zip
Other SQL/XML papers: http://www.wiscorp.com/SQLStandards.html#xsqlstandards
XISS system (Li, Moon - advanced interval indexes):
http://www.cs.arizona.edu/xiss/
MASS (prefix indexes):
http://davis.wpi.edu/dsrg/vamana/WebPages/Publication.html
Staircase joins (accelerating XPath Evaluation):
http://www.inf.uni-konstanz.de/dbis/publications/download/injection.pdf
Oleg's TODO list: http://www.sai.msu.su/~megera/oddmuse/index.cgi/todo
XML in DB2 Viper: http://www.vldb2005.org/program/paper/thu/p1164-nicola.pdf
XQuery in SQL Server: http://www.vldb2005.org/program/paper/thu/p1175-pal.pdf
Labeling schema in SQL Server (ORDPATHs):
http://portal.acm.org/ft_gateway.cfm?id=1007686&type=pdf&coll=GUIDE&dl=GUIDE&CFID=74920272&CFTOKEN=73736781

One more comment: I'm a PhD student of MIPT, Russia. I plan to create
an overview of XMLType implementations of last versions of three major
commercial DBMSes (ORA, MS, DB2), comparing them to standard and each
other. First article of this comparison is planned to the end of May.
This work will help to understand, where major commercial DBMS vendors
go and why they go there :-) Moreover, I intend to create a technique
for testing of XMLType support in (O)RDBMSes. In spite of the fact,
that SoC assumes all work be done by only one person, I expect some
upport/help from following people:
- Dr. Sergey Kuznetsov (my scientific mentor)
- Oleg Bartunov and Teodor Sigaev (as major developers of PostgreSQL
and GIST and Gin, they definitely can help me to be successive);
- Ivan Zolotukhin (together we plan to create the overview mentioned above)
- PostgreSQL community (actually, as I've already mentioned, I intend
using code by Pavel Stehule, and I'm pretty sure that I'll need a lot
of other help from the community)

On 4/15/06, Jonah H. Harris <jonah(dot)harris(at)gmail(dot)com> wrote:
> Hey everyone,
>
> I know we started a discussion a month or so ago regarding ideas for
> SoC projects. However, after reading through the thread, I didn't see
> us nail down any actual items.
>
> As such, we need to quickly put together a list of oh, 15-20 midlevel
> project ideas. I'm sure we can pull some off the TODO list, but we
> should also look at project ideas for porting some of the most used
> third-party OSS software to PostgreSQL too (portals, CMS systems,
> accounting systems, etc.).
>
> All ideas welcome!
>
> --
> Jonah H. Harris, Database Internals Architect
> EnterpriseDB Corporation
> 732.331.1324
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>

--
Best regards,
Nikolay


From: "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>
To: nikolay(at)samokhvalov(dot)com
Cc: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Google SoC--Idea Request
Date: 2006-05-02 10:36:09
Message-ID: 36e682920605020336i7570d805w75a1c6b5b9345e78@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

You need to submit this through Google.

Student FAQ:
http://code.google.com/soc/studentfaq.html

Student Sign-up:
http://code.google.com/soc/student_step1.html

On 5/2/06, Nikolay Samokhvalov <samokhvalov(at)gmail(dot)com> wrote:
> Proposal: XMLType for PostgreSQL.
>
> *** Minimum: ***
> to have special type support for storing XML data and working with it.
> This means following:
> - ability to define any column of a table as of XMLType; internally,
> all data is stored as VARCHAR;
> - auto validation of documents against XML schema, if it was
> specified in column
> definition or in XML data sheets themselves (DTD, XSD or at least one
> of them) /*contrib/xml2 has such feature, but it uses libxml, what
> means DOM interface. Maybe it's better to use some SAX parser to solve
> this task*/;
> - XPath indexes for queries with path expressions in WHERE clause /*I
> suppose this kind of indexes would be most frequently used. I propose
> using good labeling schema and GIST and/or Gin here*/;
> - some subset of SQL/XML. Actually, part 14 of SQL:200n (SQL/XML) has
> more than 400 pages now and contains some established constructions,
> that are using in other DBMSes. There is the some patch already
> written by Pavel Stehule:
> http://www.pgsql.ru/db/mw/msg.html?mid=2096818. (BTW, what is with it?
> it was kept for 8.2, so what is the result?) I've tested it several
> months ago, basic SQL/XML functions worked fine. It changes grammar,
> but there is no other way... So, using this patch as a part of this
> project means that this project cannot be contrib module,
> unfortunately. Nevertheless, current paper of SQL/XML standard seems
> to be mature - so, compared with existing implementation it would be a
> nice 'landmark';
> - XML domains support: ability to define domain based on XMLType and
> XML schema definition (e.g., external DTD file or smth). I'd consider
> XML schema definition as a restriction of entire XML Type (similar to
> restrictions for plain types, which are defined as CHECK constraint in
> domain definition)
>
> *** Maximum: ***
> - all things from 'minimum' list :-)
> - reach index system:
> * structure index (labeling schema; prefix schemas seem to be best
> for this and I
> suppose GIST would help here). Actually, it would be full shredding,
> like primary index for XML in MS SQL Server, but I'm aware of better
> labeling algorithms than simple prefix labeling (as in SQL Server).
> Surely, GIST/Gin support would be great foundation for these
> * flexible support of path indexes, value indexes and so on (smth
> like secondary XML indexes in SQL Server...) - as a continuation of
> work on path indexes from 'minimum' list;
> - full-text search abilties (tsearch2 / GIST);
> - different encoding issues (auto conversion to column's encoding, etc);
> - ability to choose storage type: VARCHAR or 'native' (trees - like
> in native XML DBMSes and DB2 Viper [if their articles don't lie ;-)])
> mode. Actually, this is very-very huge task (almost so as creating
> DBMS from scratch) and I inderstand clearly that I won't solve it
> using only my own abilities. But the work on 'minimum' list
> (especially if it will be a part of SoC) would be a good start point
> and may involve some other developers that help to implement it. Maybe
> at the initial stage, it's worth to integrate with some other DBMS and
> work with it using two-phase commit (surely, this is not a clue to all
> problems, as it
> means two different execution plans, etc);
> - XQuery and its integration with SQL (according SQL/XML standard).
> In other words, implementation of XQuery Data Model - this would be
> great target point (version 1.0 of entire project);
> - XML views / updatable XML views (actually, it's a crazy idea, but
> it's my dream ;-) )
>
> As a part of SoC I would concentrate on tasks from 'minimum' list. It
> would be a good start point.
>
> Some articles:
> Fresh draft of SQL:200n: http://www.wiscorp.com/sql_2003_standard.zip
> Other SQL/XML papers: http://www.wiscorp.com/SQLStandards.html#xsqlstandards
> XISS system (Li, Moon - advanced interval indexes):
> http://www.cs.arizona.edu/xiss/
> MASS (prefix indexes):
> http://davis.wpi.edu/dsrg/vamana/WebPages/Publication.html
> Staircase joins (accelerating XPath Evaluation):
> http://www.inf.uni-konstanz.de/dbis/publications/download/injection.pdf
> Oleg's TODO list: http://www.sai.msu.su/~megera/oddmuse/index.cgi/todo
> XML in DB2 Viper: http://www.vldb2005.org/program/paper/thu/p1164-nicola.pdf
> XQuery in SQL Server: http://www.vldb2005.org/program/paper/thu/p1175-pal.pdf
> Labeling schema in SQL Server (ORDPATHs):
> http://portal.acm.org/ft_gateway.cfm?id=1007686&type=pdf&coll=GUIDE&dl=GUIDE&CFID=74920272&CFTOKEN=73736781
>
> One more comment: I'm a PhD student of MIPT, Russia. I plan to create
> an overview of XMLType implementations of last versions of three major
> commercial DBMSes (ORA, MS, DB2), comparing them to standard and each
> other. First article of this comparison is planned to the end of May.
> This work will help to understand, where major commercial DBMS vendors
> go and why they go there :-) Moreover, I intend to create a technique
> for testing of XMLType support in (O)RDBMSes. In spite of the fact,
> that SoC assumes all work be done by only one person, I expect some
> upport/help from following people:
> - Dr. Sergey Kuznetsov (my scientific mentor)
> - Oleg Bartunov and Teodor Sigaev (as major developers of PostgreSQL
> and GIST and Gin, they definitely can help me to be successive);
> - Ivan Zolotukhin (together we plan to create the overview mentioned above)
> - PostgreSQL community (actually, as I've already mentioned, I intend
> using code by Pavel Stehule, and I'm pretty sure that I'll need a lot
> of other help from the community)
>
> On 4/15/06, Jonah H. Harris <jonah(dot)harris(at)gmail(dot)com> wrote:
> > Hey everyone,
> >
> > I know we started a discussion a month or so ago regarding ideas for
> > SoC projects. However, after reading through the thread, I didn't see
> > us nail down any actual items.
> >
> > As such, we need to quickly put together a list of oh, 15-20 midlevel
> > project ideas. I'm sure we can pull some off the TODO list, but we
> > should also look at project ideas for porting some of the most used
> > third-party OSS software to PostgreSQL too (portals, CMS systems,
> > accounting systems, etc.).
> >
> > All ideas welcome!
> >
> > --
> > Jonah H. Harris, Database Internals Architect
> > EnterpriseDB Corporation
> > 732.331.1324
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: Don't 'kill -9' the postmaster
> >
>
>
> --
> Best regards,
> Nikolay
>

--
Jonah H. Harris, Database Internals Architect
EnterpriseDB Corporation
732.331.1324


From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Google SoC--Idea Request
Date: 2006-08-14 07:41:50
Message-ID: 20060814074150.GA11315@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Thu, Apr 20, 2006 at 11:56:32AM -0400, Tom Lane wrote:
> Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> > About the only thing in the backend I found interesting was this:
> > src/backend/utils/hash/dynahash.c function hash_create
>
> I wonder if we shouldn't just remove the hash_destroy calls in
> hash_create's failure paths. hash_destroy is explicitly not gonna
> work on a shared-memory hashtable, and in all other cases I'd expect
> that any already-allocated table structure will be in a palloc context
> that will get cleaned up during error recovery.

[re: failure to create hash in shared memory causes crash]

Any thoughts on this? Make it a TODO item, document it, or simply
ignore it?

Have a nicy day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Google SoC--Idea Request
Date: 2006-08-14 12:09:36
Message-ID: 22543.1155557376@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> On Thu, Apr 20, 2006 at 11:56:32AM -0400, Tom Lane wrote:
>> I wonder if we shouldn't just remove the hash_destroy calls in
>> hash_create's failure paths. hash_destroy is explicitly not gonna
>> work on a shared-memory hashtable, and in all other cases I'd expect
>> that any already-allocated table structure will be in a palloc context
>> that will get cleaned up during error recovery.

> Any thoughts on this? Make it a TODO item, document it, or simply
> ignore it?

It's like a two-line patch, so hardly worth putting in TODO ... might
as well just do it. IIRC the motivation is mostly to silence a
Coverity warning?

regards, tom lane


From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Google SoC--Idea Request
Date: 2006-08-14 12:35:20
Message-ID: 20060814123520.GC11315@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Aug 14, 2006 at 08:09:36AM -0400, Tom Lane wrote:
> > Any thoughts on this? Make it a TODO item, document it, or simply
> > ignore it?
>
> It's like a two-line patch, so hardly worth putting in TODO ... might
> as well just do it. IIRC the motivation is mostly to silence a
> Coverity warning?

Well sort of. I can also just tick a box and the warning goes away too.
It just seemed from the discussion that it was something people were
going to fix...

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Google SoC--Idea Request
Date: 2006-08-14 12:40:56
Message-ID: 4430.1155559256@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> On Mon, Aug 14, 2006 at 08:09:36AM -0400, Tom Lane wrote:
>> It's like a two-line patch, so hardly worth putting in TODO ... might
>> as well just do it. IIRC the motivation is mostly to silence a
>> Coverity warning?

> Well sort of. I can also just tick a box and the warning goes away too.
> It just seemed from the discussion that it was something people were
> going to fix...

Done now --- I have to admit I'd forgotten about it.

regards, tom lane