Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: bug in 1.6 rc1


  • From: Dave Page <dpage(at)postgresql(dot)org>
  • To: "Belbin, Peter" <PBelbin(at)mcleodusa(dot)com>
  • Cc: "'pgadmin-support(at)postgresql(dot)org'" <pgadmin-support(at)postgresql(dot)org>
  • Subject: Re: bug in 1.6 rc1
  • Date: Mon, 06 Nov 2006 21:42:55 +0000
  • Message-id: <454FAC5F(dot)4090509(at)postgresql(dot)org>

Belbin, Peter wrote:
Here is a table def:

CREATE TABLE st_txn
(
  txnid varchar(40),
  txnorder varchar(10) NOT NULL,
  txnstage varchar(10) NOT NULL,
  txnseq varchar(10),
  verb varchar(40),
  payload varchar(65000),
  status varchar(10),
  agent varchar(60),
  id serial NOT NULL,
  CONSTRAINT st_txn_pk PRIMARY KEY (id)
)
WITH OIDS;

Thanks. It appears that the error is actually that MakeKey() is failing to create a proper WHERE clause for the update query in cases where a table has both OIDs and a primary key. I've fixed that bug in SVN and your example now works fine.

Thanks for the report.

Regards, Dave.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group