Re: [SQL] Transaction-specific global variable

2011-02-03 Thread Tom Lane
Florian Weimer writes: > hstore greatly simplifies creating triggers for logging table changes, > which is great. However, when creating a log record, I would like to > include information about the party who made this change. We > generally do not allow direct database access for application co

[SQL] Transaction-specific global variable

2011-02-03 Thread Florian Weimer
hstore greatly simplifies creating triggers for logging table changes, which is great. However, when creating a log record, I would like to include information about the party who made this change. We generally do not allow direct database access for application code, so the PostgreSQL user does