Displaying 2 results from an estimated 2 matches for "sql_transaction_context".
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...routines working on that provide both the
'simple' query interface and transaction support.
struct multi_pgsql_pgc represents a database connection.
The result interface is implemented as struct multi_pgsql_result &
assorted subroutines.
Transactions are provided by a struct multi_pgsql_transaction_context
which contains a linked-list of transaction subqueries
(struct multi_pgsql_transaction_subquery).
A 'class hierarchy' of 'query classes' is used to provide the
different kinds of 'queries' supported by the driver (simple queries,
simple synchronous queries, transaction quer...
2010 Nov 29
1
SQL insert?
Hi,
I want to log some informations about a mail in a mysql database when the
mail is saved to inbox (for a groupware). I use Dovecot 1.2.16 and the log
message "msgid=<xxx>: saved mail to inbox" is generated in deliver.c. I
find all the needed data in that file. But I'am not sure how to use the
functions in sql-api.h or sql-api-private.h to send a simple SQL insert
statement