summaryrefslogtreecommitdiff
path: root/ngx_postgres-1.0/TODO.md
blob: 6548fcc1ad68c70950728ade92cb3487dc86fa34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Features that sooner or later will be added to `ngx_postgres`:

* Add support for SSL connections to the database.

* Add support for dropping of idle keep-alived connections to the
  database.

* Add `$postgres_error` variable.

* Add support for sending mulitple queries in one go (transactions,
  multiple SELECTs, etc), this will require changes in the processing
  flow __and__ RDS format.

* Add `postgres_escape_bytea` or `postgres_escape_binary`.

* Use `PQescapeStringConn()` instead of `PQescapeString()`, this will
  require lazy-evaluation of the variables after we acquire connection,
  but before we send query to the database.
  Notes: Don't break `$postgres_query`.

* Cancel long-running queries using `PQcancel()`.

* Detect server version using `PQserverVersion()`.