[GENERAL] About fastpath function call

2009-06-23 Thread Bruce YUAN
Hi, All I hope to call some backend function via PQfn(), such as hash and nbtree. Can we do it? How to do? Many thanks. Best regards, Bruce

Re: [GENERAL] How to use PQfn() in libpq library?

2009-06-19 Thread Bruce YUAN
Oh. Many thanks! Bruce 2009/6/20 Alvaro Herrera > Bruce YUAN escribió: > > Hi Tom, > > > > Which interface will replace this? And where can get it's reference? > > Try reading beyond the comma in the quoted paragraph: > > > >This interface is s

Re: [GENERAL] How to use PQfn() in libpq library?

2009-06-19 Thread Bruce YUAN
Hi Tom, Which interface will replace this? And where can get it's reference? Best regards, Bruce 2009/6/19 Tom Lane > Bruce YUAN writes: > > How to use PQfn() in libpq library? > > Look into src/interfaces/libpq/fe-lobj.c for several examples. > However, please

[GENERAL] How to use PQfn() in libpq library?

2009-06-19 Thread Bruce YUAN
Hi All, How to use PQfn() in libpq library? #include PGresult *PQfn(PGconn* conn, int fnid, int *result_buf, int *result_len, int result_is_int, const PQArgBlock *args, int nargs); Who can share a detailed example source code? Which server functions can