Re: Speed dblink using alternate libpq tuple storage
Kyotaro Horiguchi <horiguchi.kyotaro@oss.ntt.co.jp>
From: Kyotaro HORIGUCHI <horiguchi.kyotaro@oss.ntt.co.jp>
To: markokr@gmail.com
Cc: greg@2ndquadrant.com, pgsql-hackers@postgresql.org, mmoncure@gmail.com, shigeru.hanada@gmail.com
Date: 2012-02-23T10:14:03Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix COPY FROM for null marker strings that correspond to invalid encoding.
- e8476f46fc84 9.2.0 cited
-
Improve labeling of pg_test_fsync open_sync test output.
- 2bbd88f8f841 9.2.0 cited
Attachments
- libpq_rowproc_20120223.patch (text/x-patch) patch
- libpq_rowproc_doc_20120223.patch (text/x-patch) patch
- dblink_use_rowproc_20120223.patch (text/x-patch) patch
- early_exit_20120223.diff (text/x-patch) patch
Hello, this is new version of the patch. # This patch is based on the commit # 2bbd88f8f841b01efb073972b60d4dc1ff1f6fd0 @ Feb 13 to avoid the # compile error caused by undeclared LEAKPROOF in kwlist.h. > It must free the PGresults that PQgetResult() returns. I'm sorry. It slipped out of my mind. Add PQclear() for the return value. > Also, please fix 2 issues mentined here: - PQsetRowProcessorErrMsg() now handles msg as const string. - Changed the order of the parameters of the type PQrowProcessor. New order is (PGresult *res, PGrowValue *columns, void *params). # PQsetRowProcessorErrMsg outside of callback is not implemented. - Documentation and dblink are modified according to the changes above. By the way, I would like to ask you one question. What is the reason why void* should be head or tail of the parameter list? regards, -- Kyotaro Horiguchi NTT Open Source Software Center