X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6A2138BA279 for ; Sun, 20 Feb 2005 22:58:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 44243-05 for ; Sun, 20 Feb 2005 22:58:44 +0000 (GMT) Received: from mail.coretech.co.nz (coretech.co.nz [202.36.204.41]) by svr1.postgresql.org (Postfix) with ESMTP id 0D3058B9D1B for ; Sun, 20 Feb 2005 22:58:44 +0000 (GMT) Received: (qmail 20023 invoked from network); 20 Feb 2005 22:58:44 -0000 Received: from 218-101-45-105.paradise.net.nz (HELO ?192.168.1.11?) (218.101.45.105) by 0 with SMTP; 20 Feb 2005 22:58:44 -0000 Message-ID: <42191623.7060401@coretech.co.nz> Date: Mon, 21 Feb 2005 11:58:43 +1300 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: amrit@health2.moph.go.th Cc: PGsql-performance Subject: Re: Problem with 7.4.5 and webmin 1.8 in grant function References: <1108914570.4218b18a2cf0d@webmail.moph.go.th> In-Reply-To: <1108914570.4218b18a2cf0d@webmail.moph.go.th> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.01 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200502/274 X-Sequence-Number: 10603 amrit@health2.moph.go.th wrote: > I newly installed the postgresql 7.4.5 and FC 3 in my server and transfer the > data from 7.3.2 with just a few problems. After I use the webmin 1.8 to config > the grant previllage to the users ,I found that there is an error in the grant > previlege . > postgresql --> Grant Previlege --> error > > select relname, relacl from pg_class where (relkind = 'r' OR relkind = 'S') and > relname !~ '^pg_' order by relname : Unknown DBI error > > What is the cause of this error and how could I handle this order? > Please make any comment, Thanks. > I would suspect a DBI/DBD installation issue, either perl DBI cannot find DBD-Pg (not installed ?) or DBD-Pg cannot find your Pg 7.4.5. I note that FC3 comes with Pg 7.4.6 - did you installed 7.4.5 from source? If so this could be why the perl database modules cannot find it (you may need to rebuild DBD-Pg, telling it where your Pg install is). regards Mark