zsh-users/zsh-completions — pull request #102 by dark-panda (2012-09-10 05:24:59+00:00)
Title: Enhancements and fixes for PostgreSQL completion

This branch contains:

- a fix for a typo in ```_pgsql_tables``` ("oin" should be "oid")
- a fix for connecting to ```template1``` in ```_pgsql_databases```
- grabbing the encodings from the database cluster using ```pg_encoding_to_char()``` as described at http://archives.postgresql.org/pgsql-general/2009-05/msg00413.php
- completions for ```createuser```, ```dropuser``` and ```initdb```.