[vchkpw] pgsql fixes

2010-06-19 Thread Christopher Chan
Hi all, In case any of you want to use a postgresql backend, here is a patch that fixes some typos that get in the way of compilation and adds support for valias. I have not tried 5.5.0 but I suspect that it will apply to vpgsql.c if in the backends/postgresql dir and using 'patch -p1'.

Re: [vchkpw] pgsql fixes

2010-06-19 Thread Christopher Chan
BTW, I have also submitted this to sourceforge. !DSPAM:4c1cc46132711699539850!

Re: [vchkpw] pgsql fixes

2010-06-19 Thread Christopher Chan
In case any of you want to use a postgresql backend, here is a patch that fixes some typos that get in the way of compilation and adds support for valias. I wondered why I did not recall doing the code. This patch is against 5.4.30 but it is originally from Bruce McAlister. Been using it

Re: [vchkpw] pgsql fixes

2010-06-19 Thread Christopher Chan
Sorry folks, Just noticed that the vpgsql.c's create index statement had extra brackets. Attached patch fixes the typos, removes extra brackets and adds valias and sql loggin support. !DSPAM:4c1cdcfe32715874013085! diff -urN vpopmail-5.4.30/vpgsql.c vpopmail-5.4.30-pgsqlfixed/vpgsql.c