Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 8A00AB5DBBD for ; Sun, 22 May 2011 02:25:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 38049-06 for ; Sun, 22 May 2011 05:25:15 +0000 (UTC) X-Greylist: delayed 06:14:50.40869 by SQLgrey-1.7.6 Received: from alax.hostingbay.net (75.126.62.6-static.reverse.softlayer.com [75.126.62.6]) by mail.postgresql.org (Postfix) with ESMTP id EAD4FB5DC26 for ; Sun, 22 May 2011 02:25:14 -0300 (ADT) Received: from cpe-121-223-230-214.static.vic.bigpond.net.au ([121.223.230.214] helo=[10.0.0.40]) by alax.hostingbay.net with esmtpa (Exim 4.69) (envelope-from ) id 1QNvJN-0004WP-S2; Sun, 22 May 2011 09:10:22 +1000 Subject: Re: Which version of PostgreSQL should I use. Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Gavin Baumanis In-Reply-To: <1A897194-293D-4311-968E-E765B5A63606@thespidernet.com> Date: Sun, 22 May 2011 09:10:17 +1000 Cc: pgsql-sql@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <5E151F9B-CC40-4CCC-B97E-9C06A7AF876A@thespidernet.com> References: <1A897194-293D-4311-968E-E765B5A63606@thespidernet.com> To: Gavin Baumanis X-Mailer: Apple Mail (2.1084) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - alax.hostingbay.net X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - thespidernet.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201105/130 X-Sequence-Number: 35414 Just thought I would update this myself. Last night I managed to have a chat with some people about this on IRC. Turns out we're in pretty good shape. We already know about the changes to implicit casting and we have always = used UTF-8 for encoding, too. So the changes from 8.4 don't seem to be of a worry for us. (I am sure that we will find SQL hidden in our app somewhere that will = need to be modified for implicit casting...and we'll just fix those as = we find them.) Otherwise it seems like a simple case of using the 9.04 pg_dump / = (pg_dumpall) application and restoring. I also read chapters 15 / 24 of the excellent documentation about = running both 8.1 and 9.04 at the same time and migrating a database at a = time. So, I suppose unless there is something obvious, (to someone else) - we = have all the information we need. Gavin "Beau" Baumanis On 17/05/2011, at 9:04 AM, Gavin Baumanis wrote: > Hi there, >=20 > Let me first preface this with, I am not a PostgreSQL admin. > I am a web developer who happens to use PSQL as the back-end for my = company's app. > We did have a dedicated DBA / system admin - but he has recently = resigned. > I know enough about psql - to be able to create / drop databases... = and enough about SQL to get stuff in and out of the database. > Beyond that - I pretty much know , nothing about PostgreSQL - thus = this mail. >=20 >=20 > We're currently using psql 8.1 and are on the way to upgrading to 8.4. > This is a process that the last DBA had us start. > And we've slowly been going through our code, getting rid of implicit = casts as errors appear. >=20 > I have now been asked to start replicating our databases between = servers - as a hot-copy / redundancy improvement. > And subsequently have some questions, please. >=20 > Is there are a particular version of PostgreSQL that we should be = "aiming" to upgrade to that provides for synching of databases. > My initial thought is; > We should upgrade to the latest stable version - whatever that is; > But is the answer that simple? >=20 > What we do we also need to take into account? > I am "pretty sure" that to get to 8.4 from 8.1 (on our staging server) = that we had to upgrade to 8.3 first. >=20 > So I guess I am hoping that someone might just simply know - or be = able to pint me in the correct direction for some information about = what's in what version and any upgrade requirements to get to XXX from = 8.1 >=20 > AS always - thanks in advance for any assistance you might be able to = give us! >=20 > Gavin. >=20 >=20 > --=20 > Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-sql