Martin Ebourne's config. [This is also a Subversion repository you're welcome to checkout.] There's a lot here including
SQL integration into Zsh. Lets you use Sybase/Oracle/PostgreSQL/MySQL from the command line, including proper completion. I'd be happy to work with someone to get this into Zsh if that was desired. Email me martin at zepler org.