Re: "Transaction over connections"

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: "Transaction over connections"
Date: 2003-11-20 08:19:30
Message-ID: 20031120091930.G25544@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> So, my direct question: can I invoke automatically some function in PgSql to
> make condition to EVERY sql statement ?
You can add an attribute "work-in-progress" to your tables. Then
set up views that filter out rows with work-in-progress=true.
Your production client then needs to be modified to look at
those views instead of the tables.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig O'Shannessy 2003-11-20 08:19:47 Re: Export CSV from psql
Previous Message Alex 2003-11-20 07:52:37 Re: SELECT Question