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

Re: BUG: PGACCESS does not warn when trying to update

From: Brett Schwarz <brett_schwarz(at)yahoo(dot)com>
To: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: BUG: PGACCESS does not warn when trying to update
Date: 2002-08-15 15:29:56
Message-ID: 1029425397.1824.510.camel@thor (view raw or flat)
Thread:
Lists: pgsql-interfaces
You are correct. Looking at the code a bit, it looks like it does the
Right Thing when inserting a new record, but does not do the same for
updating a record.

Can you file a bug so that this can get tracked properly?

http://bugzilla.pgaccess.org

thanks,

    --brett


On Thu, 2002-08-15 at 09:12, Jean-Luc Lachance wrote:
> But,
> 
> When a record is updated with PgAccess, the least that it should do is
> check the return status of the update to find that the record no longer
> exists and warn the user!!!
> 
> JLL
> 
> terry wrote:
> > 
> > Actually, M$ Access does the same thing.  When a form (or query)
> > is populated with the contents of a record, it no longer is
> > changed within the database - only within the form (or query).
> > It is only when the record is saved that there is any indication
> > of change or deletion.  The only way to determine if the record
> > in the form (or query) has been changed or deleted is to check
> > that record in the database during the operation, which is not
> > routinely done.
> > 
> > >>  DARN!!!
> > >>
> > >>  I have just wasted half a day updating record with PcAccess.
> > >>
> > >>  If one is updating a record that was deleted by someone else,
> > >> PgAccess does not warn that the record no longer exists and
> > >> silently accept the update.
> > >>
> > >>  Then, if the list is refreshed, the record is gone!!!
> > >>
> > >>  ---------------------------(end of
> > >> broadcast)--------------------------- TIP 5: Have you checked
> > >> our extensive FAQ?
> > >>
> > >>  http://www.postgresql.org/users-lounge/docs/faq.html
> > 
> > --
> > 
> > terry
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
-- 
Brett Schwarz
brett_schwarz AT yahoo.com


In response to

pgsql-interfaces by date

Next:From: Hal DavisonDate: 2002-08-15 16:10:29
Subject: Re: BUG: PGACCESS does not warn when trying to update
Previous:From: terryDate: 2002-08-15 00:07:02
Subject: Re: BUG: PGACCESS does not warn when trying to update a record that was deleted by someone else.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group