| 1 |
postgresql TODO |
| 2 |
=============== |
| 3 |
|
| 4 |
Bugs: |
| 5 |
- pg_createcluster with existing cluster: respect symlinks to shared |
| 6 |
postgresql.conf files, never remove symlinks in already existing |
| 7 |
cluster dirs |
| 8 |
- Clean up at purging if /etc/ is there without /var, or vice versa |
| 9 |
|
| 10 |
Transition bugs: |
| 11 |
|
| 12 |
Missing selftest: |
| 13 |
- --force option for pg_ctlcluster |
| 14 |
|
| 15 |
Important features: |
| 16 |
|
| 17 |
Wishlist: |
| 18 |
- Add pg_conf to change startup and possibly other things |
| 19 |
- add program for web applications, which configure pg_hba.conf: |
| 20 |
|
| 21 |
pg_hba add|remove|test [options] yourwebappdb yourwebappuser |
| 22 |
|
| 23 |
Options: |
| 24 |
|
| 25 |
--cluster: self-explanatory, defaults to default cluster |
| 26 |
--ip: IP and netmask for host socket; if not given, defaults to Unix |
| 27 |
socket (local) |
| 28 |
--method: defaults to "md5" for TCP connections, and "ident sameuser" for |
| 29 |
Unix socket connections |
| 30 |
--force-ssl: If given, create a "hostssl" entry, otherwise a "host" |
| 31 |
entry |
| 32 |
|
| 33 |
For remove, only --cluster is allowed; it will remove all hba |
| 34 |
entries that refer to the given db/user pair. test checks whether the |
| 35 |
given connection is allowed; if so, it exits with 0, otherwise it prints the |
| 36 |
required pg_hba.conf line to stdout and exits with 1. If pg_hba.conf has a |
| 37 |
scrambled format that cannot be parsed by pg_*_hba, the scripts exit with 2. |
| 38 |
|
| 39 |
Add libnet-cidr-perl dependency! |