Re: Issue with insert

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Gould <mgould(at)intermodalsoftwaresolutions(dot)net>
Cc: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Issue with insert
Date: 2010-02-27 20:58:20
Message-ID: 614.1267304300@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Michael Gould <mgould(at)intermodalsoftwaresolutions(dot)net> writes:
> Here is the table DDL,

Can't really test this since you didn't supply the source code for
those triggers:

> CREATE TRIGGER "insertcitystateinfo" BEFORE INSERT OR UPDATE
> ON "iss"."citystateinfo" FOR EACH ROW
> EXECUTE PROCEDURE "iss"."insertcitystateinfofunc"();

> CREATE TRIGGER "update_timestamp_citystateinfo" BEFORE UPDATE
> ON "iss"."citystateinfo" FOR EACH ROW
> EXECUTE PROCEDURE "iss"."timestampfunc"();

Personally I'm suspicious that the BEFORE INSERT trigger is changing the
data.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Gould 2010-02-27 21:02:06 Re: Issue with insert
Previous Message Michael Gould 2010-02-27 20:25:54 Re: Issue with insert