Re: "Transaction over connections" - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: "Transaction over connections"
Date
Msg-id 20031120091930.G25544@hermes.hilbert.loc
Whole thread Raw
In response to "Transaction over connections"  ("Lada 'Ray' Lostak" <ray@unreal64.net>)
List 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

pgsql-general by date:

Previous
From: Alex
Date:
Subject: Re: SELECT Question
Next
From: "Craig O'Shannessy"
Date:
Subject: Re: Export CSV from psql