[vchkpw] PostgreSQL auth and "--enable-valias" and/or "--enable-sql-logging" issues

2007-11-15 Thread Bruce McAlister
Hi All, I am trying to build vpopmail 5.4.25 (have also tried 5.4.26) for use with a PostgreSQL back end. The hurdle I am coming up against is if I enable the valias option and/or the sql logging option. The error for each individual option are as follows: --

[vchkpw] Re: PostgreSQL auth and "--enable-valias" and/or "--enable-sql-logging" issues

2007-11-15 Thread Bruce McAlister
Rick Widmer wrote: > > > > I am working on making all the back ends work the same way, but not > being a PostgreSQL user, and not seeing all that many people using it, > it isn't a high priority for me. I'll get around to it in or soon after > version 6 hits the street. That may be a year or m

[vchkpw] Re: PostgreSQL auth and "--enable-valias" and/or "--enable-sql-logging" issues

2007-11-15 Thread Bruce McAlister
Rick Widmer wrote: > > We just started discussing version 6, so it is very early in the cycle, > and I still have a list of things that go into 5.4 before I start on 6. > Too bad I can't put much more than a couple weekends a month into it on > a regular basis. > All the effort is much apprecia

[vchkpw] Re: PostgreSQL auth and "--enable-valias" and/or "--enable-sql-logging" issues

2007-11-19 Thread Bruce McAlister
Rick Widmer wrote: > > That is the basic idea but it was the wrong approach. Would you please > change vauth.c back the way it was, then make changes in vpgsql.c to > make it work. Once that is done, then do a diff -u oldfile newfile > and either post the results to this list, or upload it to

[vchkpw] Re: PostgreSQL auth and "--enable-valias" and/or "--enable-sql-logging" issues

2007-11-19 Thread Bruce McAlister
Hold on this for a sec, I found a problem.. I diff'ed a different vpgsql .c file than the one i wanted :/ Bruce McAlister wrote: > Rick Widmer wrote: >> That is the basic idea but it was the wrong approach. Would you please >> change vauth.c back the way it was, then make ch

[vchkpw] Re: PostgreSQL auth and "--enable-valias" and/or "--enable-sql-logging" issues

2007-11-19 Thread Bruce McAlister
Bruce McAlister wrote: > Hold on this for a sec, I found a problem.. I diff'ed a different vpgsql > ..c file than the one i wanted :/ > Attached is the correct patch :0 Sorry about that :/ !DSPAM:4741892232003992920430! --- ./vpgsql.c 2007-11-19 12:17:51.734995480 + +++

[vchkpw] Re: PostgreSQL auth and "--enable-valias" and/or "--enable-sql-logging" issues

2007-11-19 Thread Bruce McAlister
Another update to the vpgsql.c file so that we can also have the "--enable-onchange-script" option with PostgreSQL as the auth module. Updated patch is attached. Again, please double check the patch, i have not done any testing against it. Thanks Bruce Bruce McAlister wrote: > Br