Debian Codegraph @

TODO

raw
1
2
3 $Id$
4
5 Document var substitution to pg_sendquery
6
7 Document pg_sendquery_prepared
8
9 Set up error code when returning errors from postgres stuff.
10 Return postgres status like {POSTGRES PGRES_EMPTY_QUERY} or whatever.
11
12 Go through all possible C library calls to investigate a Postgres
13 result and make sure they're supported.
14
15 Make a cursor-like thing that sits on top of postgres results. It's
16 "reusable", because it knows to close out the previous result when it's
17 being handed a new result.
18
19 Fix up new asynchronous operation stuff to use applicable Tcl internals.
20
21 Make a new command that uses the async interface but waits behind your
22 back through the tcl event loop, something like
23
24 pg_query $conn query resultVar {resultCode}
25
26 It iterates the resultCode for each result found, automatically clearing
27 the result at the end of each iteration.
28
29 X add -list and -llist options to return list in pg_result
30
31 - add introspection commands? e.g. to return the connection handles, or result handles
32
33 Possibly implement a notice processor that will allow us to catch reporting
34 of notice and warning messages generated by libpq. These are normally
35 just dumped to stdout.
36
37 Add pg_trace and pg_untrace or equivalent to trace client/server
38 communication to a debugging file stream.
39
40 DONE Make configure script use or have an option to use "pg_config --includedir"
41 to find the postgres includes and "pg_config --libdir" to find the postgres
42 libraries.
43
44 DONE Support for asynchronous operation.
45
46 DONE Stubify the build.
47
48 DONE Make the build TEA-compliant, including
49
50 DONE Document pg_execute.
51
52 DONE Document pg_on_connection_loss.
53
54 DONE Document new asynchronous operation stuff.
55
56 DONE Add support for PQsendQueryParams (parameter substitution to asynchronous
57 queries.)
58
59 DONE Add support for PQsendQueryPrepared (parameter substitution to prepared
60 statements as asynchronous queries.)
61