public inbox for [email protected]  
help / color / mirror / Atom feed
From: Stephan Szabo <[email protected]>
To: Dave Cramer <[email protected]>
Cc: [email protected]
Subject: Re: What's going on here?
Date: Thu, 26 Jul 2001 12:21:54 -0700 (PDT)
Message-ID: <[email protected]> (raw)
In-Reply-To: <020501c11603$8f5cef70$8201a8c0@inspiron>

On Thu, 26 Jul 2001, Dave Cramer wrote:

> 
> 
> I can't seem to change any rows in this table. Are there locks somewhere
> that I can look at or fix
> 
> ebox=# select version();
>                            version                           
> -------------------------------------------------------------
>  PostgreSQL 7.0.3 on i686-pc-linux-gnu, compiled by gcc 2.96
> (1 row)
> 
> ebox=# select eitemcode,itemavail from inventory where itemavail = 1
> limit 1;
>  eitemcode | itemavail 
> -----------+-----------
>    6100122 |         1
> (1 row)
> 
> ebox=# update inventory set itemavail=0 where eitemcode=6100122;
> UPDATE 0

Hmm, could it perhaps be a view (rather than a table)?  If it is a table,
are there any views or triggers on the table that might be interfering
with the update?





view thread (12+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: What's going on here?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox