> I’ve been studying the whole evening and don’t seem to find an answer:
> I want to “store” transactions on the server- like view’s, or, (sorry) as in M$ SQL Server CREATE OR REPLACE
TRANSACTIONxyz()........
Of course, it's possible.
What you need is
CREATE OR REPLACE FUNCTION xyz() RETURNS trigger AS ...
then
CREATE TRIGGER ... EXECUTE PROCEDURE xyz();
Look here for an example:
http://www.postgresql.org/docs/8.1/static/plpgsql-trigger.html
Bye,
Chris.