Unix Technical Forum

Re: Nightly builds

This is a discussion on Re: Nightly builds within the pgsql Hackers forums, part of the PostgreSQL category; --> I now have two minor bugs for which patches exist. I am game to write up some better instructions ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2008, 02:43 AM
Davidson, Robert
 
Posts: n/a
Default Re: Nightly builds

I now have two minor bugs for which patches exist.

I am game to write up some better instructions for installing mingw to compile postgresql on Windows if there are any notes on which packages need to be installed. I have successfully compiled and installed on Linux.

If there were a place to download patches, this would allow moderately adventurous Windows users to roll their own and avoid the overhead of nightly Windows builds.

Best Regards,

Robert Davidson

-----Original Message-----
From: Jim C. Nasby [mailto:jnasby@pervasive.com]
Sent: Friday, March 24, 2006 6:45 AM
To: Andrew Dunstan
Cc: Davidson, Robert; Tom Lane; pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Nightly builds

On Fri, Mar 24, 2006 at 09:32:27AM -0500, Andrew Dunstan wrote:
> Jim C. Nasby wrote:
>
> >On Thu, Mar 23, 2006 at 05:30:28AM -0800, Davidson, Robert wrote:
> >
> >
> >>How amazing is that? I call it a night and come back to find that a bug
> >>has been identified and patched while I sleep.
> >>
> >>When will it appear in the binaries (I see that the release version is
> >>still 8.1.3)? I thought about trying to compile from source, but after
> >>looking at the mingw page was too intimidated by figuring out what to
> >>download to try compiling source.
> >>
> >>

> >
> >We generally don't worry about point releases too much unless there's a
> >pretty serious bug, so it'll probably take a while.
> >
> >Unfortunately I don't know of anyone building nightly binaries. This is
> >something we should think about doing, especially for windows...
> >
> >

>
> What for? The only binaries we should be letting out are for declared
> releases. If the bug is serious enough to warrant cutting a generally
> distributed binary for, it's worth making a release for, IMNSHO. The
> Windows packaging team usually follow up a release with a package very
> quickly indeed.


In this case, my guess is that this bugfix isn't important enough to
push a release. If there was a nightly build, the bug reporter could use
that for development until an official release came out.

The only reason I even suggested this is because setting up a windows
build environment is substantially more complicated than building on
unix. If he was on unix, he could easily just cvs up on the appropriate
branch and build it himself.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

---------------------------(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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-12-2008, 02:43 AM
Jim C. Nasby
 
Posts: n/a
Default Re: Nightly builds

On Fri, Mar 24, 2006 at 06:49:43AM -0800, Davidson, Robert wrote:
> I now have two minor bugs for which patches exist.
>
> I am game to write up some better instructions for installing mingw to compile postgresql on Windows if there are any notes on which packages need to be installed. I have successfully compiled and installed on Linux.
>
> If there were a place to download patches, this would allow moderately adventurous Windows users to roll their own and avoid the overhead of nightly Windows builds.


Much better to just use CVS and grab the tip of the appropriate branch.
AFAIK the popular windows CVS programs should be able to talk to the
anonomous CVS server.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-12-2008, 02:43 AM
Andrew Dunstan
 
Posts: n/a
Default Re: Nightly builds

Davidson, Robert wrote:

>I now have two minor bugs for which patches exist.
>
>I am game to write up some better instructions for installing mingw to compile postgresql on Windows if there are any notes on which packages need to be installed. I have successfully compiled and installed on Linux.
>
>If there were a place to download patches, this would allow moderately adventurous Windows users to roll their own and avoid the overhead of nightly Windows builds.
>
>
>


If the patches have been applied to the stable branch, you should not
need to download them yourself; just check out the relevant branch and
build it. e.g. to check out the 8.1 stable branch, do:

cvs -d server:anoncvs@anoncvs.postgresql.org:/projects/cvsroot co
-P -r REL8_1_STABLE pgsql

And if they haven't been applied, you should wait till they have been,
since only then will you know that they have been properly reviewed.

In short, you shouldn't need to apply patches directly, unless you are
testing to assist the patch author.

cheers

andrew

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-12-2008, 02:43 AM
Tom Lane
 
Posts: n/a
Default Re: Nightly builds

Andrew Dunstan <andrew@dunslane.net> writes:
> Davidson, Robert wrote:
>> If there were a place to download patches, this would allow moderately adventurous Windows users to roll their own and avoid the overhead of nightly Windows builds.


> ... you shouldn't need to apply patches directly, unless you are
> testing to assist the patch author.


In any case, patches that are done but not yet applied would be
available from the pgsql-patches archives. Assuming you've got a copy
of "patch" or equivalent, you could cherry-pick unapplied stuff from
there.

This is all old hat to longtime Unix users, but I think it's a vanishing
skill among newer ones because of the prevalence of package-based
distributions. And of course Windows and Mac users are completely
unaccustomed to the idea of rolling their own builds. Documentation
wouldn't be a bad idea.

regards, tom lane

---------------------------(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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com