Hello Roman,

Friday, April 12, 2002, 2:19:11 PM, you wrote:

R> Hi!
R>    I use freeradius 0.5 with postgresql 7.2 on FreeBSD 4.5
R> When i run freeradius in dedug mode (radiusd -x), I found that:
R> 1) freeradius query for Accounting stop packets with
R> "accounting_stop_query_alt" in any way, regardless of accounting_stop_query
R> fail or not

R> rad_recv: Accounting-Request packet from host x.x.x.x, id=206, length=127

R> query: UPDATE radacct SET AcctStopTime =.....
R> rlm_postgresql Status: PGRES_COMMAND_OK
R> sql_postgresql: affected rows = 1

R> query: INSERT into radacct ( AcctSessionId,....
R> rlm_postgresql Status: PGRES_FATAL_ERROR
R> sql_postgresql: affected rows =

R> I have not many C experience, but it seems like
R> sql_affected_rows always 0 for update query

Correct.
Patch was posted in this list April,8.
If you can't find it in list archives, write to me, I'll send it to you.

-- 
 Andrew Kukhta                            mailto:[EMAIL PROTECTED]


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to