Displaying 1 result from an estimated 1 matches for "cb_ctx".
Did you mean:
_ctx
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...transaction_query_eol,
+ NULL,
+ transaction_query_get_query },
+
+ async_transaction_query_xact_done
+};
+
+static void
+init_async_transaction_query(struct multi_pgsql_async_transaction_query *qry,
+ struct multi_pgsql_transaction_context *x_ctx,
+ sql_commit_callback_t *cb, void *cb_ctx)
+{
+ init_transaction_query(&qry->super,
+ &async_transaction_query_vtable, x_ctx);
+
+ qry->cb = cb;
+ qry->ctx = cb_ctx;
+}
+
+/*** sync transaction query */
+struct multi_pgsql_sync_transaction_query {
+ struct multi_pgsql_transaction_query super;
+
+ struct ioloop *i...