X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2576C9DCBDF; Wed, 15 Feb 2006 12:48:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61953-02; Wed, 15 Feb 2006 12:48:21 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id CBF739DCB98; Wed, 15 Feb 2006 12:48:19 -0400 (AST) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Wed, 15 Feb 2006 16:48:18 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 15 Feb 2006 10:48:18 -0600 Subject: Re: In or Exists? From: Scott Marlowe To: Fabrice.Sznajderman@devoteam.com Cc: pgsql-jdbc@postgresql.org, pgsql-jdbc-owner@postgresql.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1140022097.22740.222.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 15 Feb 2006 10:48:18 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.163 required=5 tests=[AWL=0.162, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.163 X-Spam-Level: X-Archive-Number: 200602/115 X-Sequence-Number: 14712 On Wed, 2006-02-15 at 10:27, Fabrice.Sznajderman@devoteam.com wrote: > I tried select version(); > > it gave me this: > > PostgreSQL 7.2.3-RH on i686-pc-linux-gnu, compiled by GCC gcc (GCC) > 3.2 20020903 (Red Hat Linux 8.0 3.2-7) OK... You're running a really really old version of PostgreSQL. It has known data loss and crash inducing bugs. Let your boss know that you should upgrade to, at a minimum, the latest version of 7.2, which is 7.2.8. 7.2 is no longer supported. It's very old. It's creaky in fact. I would recommend upgrading to the latest 8.0 or 8.1 series, or 7.4 as a minimum. Many IT managers prefer to stick with older "known" versions of software. While I understand this, it's really mostly a comfort issue. And nothing makes me more uncomfortable than a database error that means all my data just disappeared. Oh, and update your OS as well if you can. RH 8.0 is also no longer supported. It has many unpatched security bugs. You are running an unreliable, unstable version of postgresql on an unreliable, insecure platform. Expect no mercy from the gods or the members of this list when things go wrong. And they will.