Received: from davinci.ethosmedia.com (davinci.ethosmedia.com [209.10.40.250]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f7UGurf90191 for ; Thu, 30 Aug 2001 12:56:54 -0400 (EDT) (envelope-from josh@agliodbs.com) Received: from [209.10.40.250] (account ) by davinci.ethosmedia.com (CommuniGate Pro WebUser 3.4.1) with HTTP id 111320; Thu, 30 Aug 2001 09:56:43 -0700 From: "Josh Berkus" Subject: Re: Problem with sequences To: "Vladimir Terziev" , pgsql-sql@postgresql.org X-Mailer: CommuniGate Pro Web Mailer v.3.4.1 Date: Thu, 30 Aug 2001 09:56:43 -0700 Message-ID: In-Reply-To: <200108281515.f7SFFTq01398@star.rila.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Archive-Number: 200108/367 X-Sequence-Number: 4626 Vladimir, > I notice that when I execute "select nextval('sequence_name'::text) > AS > sname;", via DBI, the value of sequence is updated, but the mod_perl > returns > "DBD::Pg::st execute failed: ERROR: sequence_name.nextval: you don't > have > permissions to set sequence" Your issue is either: 1. You are not connecting from Perl as the same user you connect as to psql, and the perl user does not have any/many rights to the database. 2. There is some issue with authentication of users for Perl::DBI. Unfortunately, you are probably not going to find people on this list capable of diagnosing either problem. Try the pgsql-interfaces list instead. (http://postgresql.advancecreations.com/users-lounge/index.html) -Josh Berkus ______AGLIO DATABASE SOLUTIONS___________________________ Josh Berkus Complete information technology josh@agliodbs.com and data management solutions (415) 565-7293 for law firms, small businesses fax 621-2533 and non-profit organizations. San Francisco