You could be a PostgreSQL Patch Reviewer!

Started by Josh Berkusalmost 15 years ago17 messagesgeneral
Jump to latest
#1Josh Berkus
josh@agliodbs.com

PostgreSQL community members:

Do you love the PostgreSQL project? Do you want to contribute to it?
Do you want to help produce the next version of PostgreSQL? (9.2)

Well, you *can*. You can be a patch reviewer -- one of the single most
valuable things you can contribute to the project.

You do not have to be a C coder to be a patch reviewer. Pretty much all
you need to know is:
- how to checkout PostgreSQL from Git
- how to build PostgreSQL from source
- how to apply a patch

If you know those three things, you can help with patch review. Of
course, if you do know C, you can be even more help ... and learn the
PostgreSQL source in the process.

We especially need folks who are able to build PostgreSQL on Windows, as
we have several Windows-specific patches and no reviewers for them.

The First CommitFest for version 9.2 is underway *right now* and we need
your help. Help PostgreSQL ... review a patch!

http://wiki.postgresql.org/wiki/Reviewing_a_Patch

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

#2Merlin Moncure
mmoncure@gmail.com
In reply to: Josh Berkus (#1)
Re: You could be a PostgreSQL Patch Reviewer!

On Wed, Jun 15, 2011 at 3:49 PM, Josh Berkus <josh@agliodbs.com> wrote:

PostgreSQL community members:

Do you love the PostgreSQL project?  Do you want to contribute to it?
Do you want to help produce the next version of PostgreSQL? (9.2)

Well, you *can*.  You can be a patch reviewer -- one of the single most
valuable things you can contribute to the project.

You do not have to be a C coder to be a patch reviewer.  Pretty much all
you need to know is:
- how to checkout PostgreSQL from Git
- how to build PostgreSQL from source
- how to apply a patch

If you know those three things, you can help with patch review.  Of
course, if you do know C, you can be even more help ... and learn the
PostgreSQL source in the process.

We especially need folks who are able to build PostgreSQL on Windows, as
we have several Windows-specific patches and no reviewers for them.

The First CommitFest for version 9.2 is underway *right now* and we need
your help. Help PostgreSQL ... review a patch!

http://wiki.postgresql.org/wiki/Reviewing_a_Patch

This sounds suspiciously like you are trying to get me to join the army...

merlin

#3sunpeng
bluevaley@gmail.com
In reply to: Merlin Moncure (#2)
Re: You could be a PostgreSQL Patch Reviewer!

Cool, I hope I could be a member of patch reviewers.
peng sun

On Thu, Jun 16, 2011 at 4:58 AM, Merlin Moncure <mmoncure@gmail.com> wrote:

Show quoted text

On Wed, Jun 15, 2011 at 3:49 PM, Josh Berkus <josh@agliodbs.com> wrote:

PostgreSQL community members:

Do you love the PostgreSQL project? Do you want to contribute to it?
Do you want to help produce the next version of PostgreSQL? (9.2)

Well, you *can*. You can be a patch reviewer -- one of the single most
valuable things you can contribute to the project.

You do not have to be a C coder to be a patch reviewer. Pretty much all
you need to know is:
- how to checkout PostgreSQL from Git
- how to build PostgreSQL from source
- how to apply a patch

If you know those three things, you can help with patch review. Of
course, if you do know C, you can be even more help ... and learn the
PostgreSQL source in the process.

We especially need folks who are able to build PostgreSQL on Windows, as
we have several Windows-specific patches and no reviewers for them.

The First CommitFest for version 9.2 is underway *right now* and we need
your help. Help PostgreSQL ... review a patch!

http://wiki.postgresql.org/wiki/Reviewing_a_Patch

This sounds suspiciously like you are trying to get me to join the army...

merlin

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#4Craig Ringer
craig@2ndquadrant.com
In reply to: Josh Berkus (#1)
Re: You could be a PostgreSQL Patch Reviewer!

On 16/06/11 04:49, Josh Berkus wrote:

We especially need folks who are able to build PostgreSQL on Windows, as
we have several Windows-specific patches and no reviewers for them.

Urrrrrrrggh. Does that mean I have to volunteer myself? ;-)

I kind of regret learning to develop on Windows, because I find it a
horrid environment*, but so does everybody else, most of whom have been
clever enough not to learn it. They can say "I don't know Windows" and
they're safe.

Any chance of flagging patches on the commitfest when they're platform
specific? I'm hurting for time but will check out Windows-specific stuff
if it's an area the project particularly needs help with.

* Except for Visual C++'s debugger, which is a godsend, and so good it's
almost worth learning to code on Windows to use. I will never use gdb
for c++ again given the choice. gdb is a C debugger with bizarre
delusions that it's also a C++ debugger. Most of my C++ code is
cross-platform primarily so I can code on Linux, interactively debug on
Windows, and use Linux for valgrind memory debugging.

--
Craig Ringer

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: Craig Ringer (#4)
Re: You could be a PostgreSQL Patch Reviewer!

Craig Ringer <craig@postnewspapers.com.au> writes:

Any chance of flagging patches on the commitfest when they're platform
specific? I'm hurting for time but will check out Windows-specific stuff
if it's an area the project particularly needs help with.

Well, a quick look through
https://commitfest.postgresql.org/action/commitfest_view/inprogress
suggests that these could use attention:

Latch implementation: wake on postmaster death, reduce archiver wakeups
Has a Windows-specific implementation, which needs testing

POSIX shared memory
Does this work on Windows?

Allow multiple Postgres clusters running on the same machine to distinguish themselves in the event log
Windows-only feature, I assume

Add Support for building with Visual Studio 2010
Needs testing not only with VS2010, but older versions

libpq SSL with non-blocking sockets (WIP)
Might need testing on Windows, not sure

regards, tom lane

#6Mike Christensen
mike@kitchenpc.com
In reply to: Tom Lane (#5)
Re: You could be a PostgreSQL Patch Reviewer!

Did anyone ever fix the annoying thing where uuid_generate_v4()
doesn't work on Windows 64bit?

Show quoted text

On Wed, Jun 15, 2011 at 9:46 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Craig Ringer <craig@postnewspapers.com.au> writes:

Any chance of flagging patches on the commitfest when they're platform
specific? I'm hurting for time but will check out Windows-specific stuff
if it's an area the project particularly needs help with.

Well, a quick look through
https://commitfest.postgresql.org/action/commitfest_view/inprogress
suggests that these could use attention:

Latch implementation: wake on postmaster death, reduce archiver wakeups
       Has a Windows-specific implementation, which needs testing

POSIX shared memory
       Does this work on Windows?

Allow multiple Postgres clusters running on the same machine to distinguish themselves in the event log
       Windows-only feature, I assume

Add Support for building with Visual Studio 2010
       Needs testing not only with VS2010, but older versions

libpq SSL with non-blocking sockets (WIP)
       Might need testing on Windows, not sure

                       regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#7Tom Lane
tgl@sss.pgh.pa.us
In reply to: Mike Christensen (#6)
Re: You could be a PostgreSQL Patch Reviewer!

Mike Christensen <mike@kitchenpc.com> writes:

Did anyone ever fix the annoying thing where uuid_generate_v4()
doesn't work on Windows 64bit?

AFAIR that was an issue with the uuid-ossp library, so it would be a
matter for that upstream group to deal with.

regards, tom lane

#8Mike Christensen
mike@kitchenpc.com
In reply to: Tom Lane (#7)
Re: You could be a PostgreSQL Patch Reviewer!

Wouldn't it be faster/better/easier if Postgres just had its own built
in UUID generator? Last I tested generating a bunch of UUIDs, it was
quite slow (well compared to MS SQL anyway)..

Show quoted text

On Wed, Jun 15, 2011 at 10:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Mike Christensen <mike@kitchenpc.com> writes:

Did anyone ever fix the annoying thing where uuid_generate_v4()
doesn't work on Windows 64bit?

AFAIR that was an issue with the uuid-ossp library, so it would be a
matter for that upstream group to deal with.

                       regards, tom lane

#9Tom Lane
tgl@sss.pgh.pa.us
In reply to: Mike Christensen (#8)
Re: You could be a PostgreSQL Patch Reviewer!

Mike Christensen <mike@kitchenpc.com> writes:

Wouldn't it be faster/better/easier if Postgres just had its own built
in UUID generator?

Why would it be? If you think you can easily improve on uuid-ossp,
you should go help them.

regards, tom lane

#10Mike Christensen
mike@kitchenpc.com
In reply to: Tom Lane (#9)
Re: You could be a PostgreSQL Patch Reviewer!

On Wed, Jun 15, 2011 at 10:34 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Mike Christensen <mike@kitchenpc.com> writes:

Wouldn't it be faster/better/easier if Postgres just had its own built
in UUID generator?

Why would it be?  If you think you can easily improve on uuid-ossp,
you should go help them.

I have no knowledge on the subject one way or the other, that's why
I'm asking.. If the answer is "no, there would be no benefit" then
that's the answer.. However, it seems like generating UUIDs in Win64
has been broken, perhaps, forever which is why I question if there's a
better library to use on the Windows platform (or having a single UUID
generator built in for all platforms)..

I'd love to help out with Postgres (and several other open source
projects), perhaps some day though I'm more of a web/.NET guy..

Mike

#11Greg Smith
gsmith@gregsmith.com
In reply to: Josh Berkus (#1)
Re: You could be a PostgreSQL Patch Reviewer!

On 06/15/2011 04:49 PM, Josh Berkus wrote:

You do not have to be a C coder to be a patch reviewer. Pretty much all
you need to know is:
- how to checkout PostgreSQL from Git
- how to build PostgreSQL from source
- how to apply a patch

And you don't even really need to know these things well. If you're on
a UNIX system that has git installed, here's a complete example of how
to build a custom PostgreSQL that includes a patch for review:

cd
git clone git://github.com/gregs1104/peg.git
export PATH="$HOME/peg:$PATH"
mkdir pgwork
peg init test
cd pgwork/src/test
patch -p1 < ~/mytest.patch
. peg build
psql

Just substitute the name of the patch you're using in the "patch" step
here, and if it applies correctly (one of the first things patch review
intends to test for) you're done. This does a local installation of
PostgreSQL into a tree under your home directory, with reasonable
defaults for all of the parts related to downloading the source code and
compiling it. See the documentation for the peg utility at
https://github.com/gregs1104/peg for more examples

--
Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us
"PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books

#12Torsten Zühlsdorff
foo@meisterderspiele.de
In reply to: Josh Berkus (#1)
Re: You could be a PostgreSQL Patch Reviewer!

Josh Berkus schrieb:

You do not have to be a C coder to be a patch reviewer. Pretty much all
you need to know is:
- how to checkout PostgreSQL from Git
- how to build PostgreSQL from source
- how to apply a patch

If you know those three things, you can help with patch review. Of
course, if you do know C, you can be even more help ... and learn the
PostgreSQL source in the process.

I can build PostgreSQL on different FreeBSD-Versions (7, 8.1, 8.2).

Is this in any kind related to the PG-Buildfarm? It sounds like this
could be automated very easily.

We especially need folks who are able to build PostgreSQL on Windows, as
we have several Windows-specific patches and no reviewers for them.

If there is an rough descriptions, this should be also possible.

Greetings from Germany,
Torsten
--
http://www.dddbl.de - ein Datenbank-Layer, der die Arbeit mit 8
verschiedenen Datenbanksystemen abstrahiert,
Queries von Applikationen trennt und automatisch die Query-Ergebnisse
auswerten kann.

#13Josh Berkus
josh@agliodbs.com
In reply to: Tom Lane (#5)
Re: You could be a PostgreSQL Patch Reviewer!

Craig,

Well, a quick look through
https://commitfest.postgresql.org/action/commitfest_view/inprogress
suggests that these could use attention:

Let me know which one of these you want to take first. I'll put your name by it.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com
San Francisco

#14Josh Berkus
josh@agliodbs.com
In reply to: Mike Christensen (#10)
Re: You could be a PostgreSQL Patch Reviewer!

I have no knowledge on the subject one way or the other, that's why
I'm asking.. If the answer is "no, there would be no benefit" then
that's the answer.. However, it seems like generating UUIDs in Win64
has been broken, perhaps, forever which is why I question if there's a
better library to use on the Windows platform (or having a single UUID
generator built in for all platforms)..

We don't know of a better UUID generator, and barring evidence to the contrary, it seems much more efficient to contribute to the uuid-ossp project than to invent our own. As far as I can tell, the UUID extension is designed to support configurable UUID libraries, so if you could find one which worked well for Windows, it would probably be fairly easy to extend UUID to support it.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com
San Francisco

#15Bill Moran
wmoran@potentialtech.com
In reply to: Josh Berkus (#14)
Re: You could be a PostgreSQL Patch Reviewer!

In response to Joshua Berkus <josh@agliodbs.com>:

I have no knowledge on the subject one way or the other, that's why
I'm asking.. If the answer is "no, there would be no benefit" then
that's the answer.. However, it seems like generating UUIDs in Win64
has been broken, perhaps, forever which is why I question if there's a
better library to use on the Windows platform (or having a single UUID
generator built in for all platforms)..

We don't know of a better UUID generator, and barring evidence to the contrary, it seems much more efficient to contribute to the uuid-ossp project than to invent our own. As far as I can tell, the UUID extension is designed to support configurable UUID libraries, so if you could find one which worked well for Windows, it would probably be fairly easy to extend UUID to support it.

The Windows system API has functions built into the OS for generating
UUIDs, for example:
http://msdn.microsoft.com/en-us/library/aa379322

I have almost no experience using this, but it might be worth investigating
if PostgreSQL's code is abstract enough to use different implementations
and the ossp library is not reliable on Windows.

--
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/

#16Radosław Smogura
mail@smogura.eu
In reply to: Craig Ringer (#4)
Re: You could be a PostgreSQL Patch Reviewer!

Craig Ringer <craig@postnewspapers.com.au> Thursday 16 of June 2011 06:14:13

On 16/06/11 04:49, Josh Berkus wrote:

We especially need folks who are able to build PostgreSQL on Windows, as
we have several Windows-specific patches and no reviewers for them.

Urrrrrrrggh. Does that mean I have to volunteer myself? ;-)

I kind of regret learning to develop on Windows, because I find it a
horrid environment*, but so does everybody else, most of whom have been
clever enough not to learn it. They can say "I don't know Windows" and
they're safe.

Any chance of flagging patches on the commitfest when they're platform
specific? I'm hurting for time but will check out Windows-specific stuff
if it's an area the project particularly needs help with.

* Except for Visual C++'s debugger, which is a godsend, and so good it's
almost worth learning to code on Windows to use. I will never use gdb
for c++ again given the choice. gdb is a C debugger with bizarre
delusions that it's also a C++ debugger. Most of my C++ code is
cross-platform primarily so I can code on Linux, interactively debug on
Windows, and use Linux for valgrind memory debugging.

--
Craig Ringer

I may try to review this patches about XML & XPATH (as I know(n) something
about XML):
https://commitfest.postgresql.org/action/patch_view?id=565
https://commitfest.postgresql.org/action/patch_view?id=579

Regards,
Radek

#17Josh Berkus
josh@agliodbs.com
In reply to: Radosław Smogura (#16)
Re: You could be a PostgreSQL Patch Reviewer!

Radoslaw,

https://commitfest.postgresql.org/action/patch_view?id=565
https://commitfest.postgresql.org/action/patch_view?id=579

Actually, I assigned you to 580 instead of 579, because supposedly Noah
is reviewing 579.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com