Re: Re: Trigger question - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Re: Trigger question
Date
Msg-id 3A8AC8BD.EDCBC71A@agliodbs.com
Whole thread Raw
In response to Trigger question  (Dave Wedwick <news@wedwick.com>)
List pgsql-sql
Dave,

Please look at the docs for creating triggers.
(http:/www.postgresql.org/docs/).
Hopefully, someone on this list with more experience with Update and
Insert triggers can give you some help in avoiding the classic problems,
such as infinite loops.

Let me ask the obvious question:
If the InsertTime field is not open to user input, why are you providing
users with a data-entry interface for this field at all?  Why not hide
it, or display it read-only?
                -Josh Berkus
-- 
______AGLIO DATABASE SOLUTIONS___________________________                                       Josh Berkus  Complete
informationtechnology      josh@agliodbs.com   and data management solutions       (415) 565-7293  for law firms, small
businesses      fax  621-2533   and non-profit organizations.       San Francisco
 


pgsql-sql by date:

Previous
From: Jie Liang
Date:
Subject: Re: createuser problem
Next
From: Jie Liang
Date:
Subject: Re: How to create a type ?