Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3PJFr352755 for ; Wed, 25 Apr 2001 15:15:53 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 44133 for ; Wed, 25 Apr 2001 12:15:51 -0700 From: "Josh Berkus" Subject: Error explaination? To: pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Wed, 25 Apr 2001 12:15:51 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/384 X-Sequence-Number: 2742 Folks, I have a fuction that creates a record in a table called user_locks, does a bunch of stuff, then deletes the record. However, when I try to run it, I get the following error: ERROR: triggered data change violation on relation "user_locks" It appears that the function handler won't let me create, then delete the same record. What goes on? -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco