On Tue July 29 2003 22:26, Guy Fraser wrote: > I was trying to get the PostgreSQL driver working.
It should "just work" (tm) > The SQL tables need to be fixed significantly, I have fixed some of the > data types and have the tables functional. They are function and should not need "fixing". I overhauled the postgres schema and queries just before 0.9.0 release and have had several positive reports. > With so little documentation for rlm_sql it is very difficult to work with. It is actually documented rather well. Have you looked in the docs directory and in postgres.conf? Its pretty straight forward.. > I have made my own patch for Cistron 1.6.7-rc4 that allows accounting > directly to a PostgreSQL db. Are we talking about FreeRadius or Cistron?? > I would be willing to work on fixing some of the rlm_sql parts, but > first I would like to know if anyone has already got it working. Many, Many people are using FreeRadius, rlm_sql and all of the db drivers in a production environment. I will publish the results of a survey I took a few weeks ago tomorrow. (I have been too busy up until now) > I noticed in the source that the functions used to connect to the db > will cause a "crash" if the connection fails. I can look into using the > functions that allow reconnection and possibly some kind of "buffering" > for extended failures. They should not. Please be specific. WHICH functions? What are the problems with them? We welcome patches, but it seems you have not really looked at rlm_sql very deeply, or are running an incredibly old version. Please feel free to post any fixes/changes to the list so that we can look at them. Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
