np-setupMIBtables error

Kenji Le <kenji_le-/[email protected]> Tue, 2 Aug 2005 00:09:28 -0700 (PDT)
Newsgroups gmane.network.net-policy.bugs
Message-ID <[email protected]>
Dear all,

Because I use PostgresSQL, I changed the option
opts{'t'} in np-setupMIBtables from "mysql" into
"postgres".=20

When I ran np-setupMIBtables, I reveived this error
message:=20

"   ...
ERROR:  null value in column "rowid" violates not-null
constraint
DBD::Pg::st execute failed: ERROR:  null value in
column "rowid" violates not-null constraint ... "

When I checked the code of np-setupMIBtables, I saw
this line, which seems to be the cause of the problem:
=20
  my $rid =3D $insert->{mysql_insertid};

Can anyone help me to get over this error?=20

Thanks,
Kenji Le





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic=
k