> ISTM most natural to do this with a rule, e.g.:
> CREATE RULE my_insert_rule AS ON INSERT TO my_table DO
> INSTEAD NOTHING;
> Which will cause all inserts to be silently dropped.
This strikes me as bad programming practice. Errors should be reported,
not silently ignored. If the application is doing an insert when it doesn't
need to, then the application is flawed as well.
In response to
pgsql-general by date
|Next:||From: Elie Nacache||Date: 2004-08-31 15:54:07|
|Subject: Re: Hebrew support -- please help !|
|Previous:||From: Doug McNaught||Date: 2004-08-31 15:38:35|
|Subject: Re: Change config of running PGSQL|