Received: from hotmail.com (f3.law14.hotmail.com [64.4.21.3]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f7T9Ggf49591 for ; Wed, 29 Aug 2001 05:16:42 -0400 (EDT) (envelope-from oomoomi@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 29 Aug 2001 02:16:40 -0700 Received: from 213.29.16.6 by lw14fd.law14.hotmail.msn.com with HTTP; Wed, 29 Aug 2001 09:16:40 GMT X-Originating-IP: [213.29.16.6] From: "omid omoomi" To: vladimirt@rila.bg, pgsql-sql@postgresql.org Subject: Re: Date: Wed, 29 Aug 2001 09:16:40 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 29 Aug 2001 09:16:40.0338 (UTC) FILETIME=[4FE8DF20:01C1306B] X-Archive-Number: 200108/349 X-Sequence-Number: 4599 hi, Grant all on sequence_name to theuser ; regards omid >From: "Vladimir Terziev" >To: pgsql-sql@postgresql.org >Subject: [SQL] >Date: Wed, 29 Aug 2001 10:40:00 +0300 > >Hi, > >I'm writing a script, which has to retrieve a next value from a sequnce. I >use >mod_perl, DBI and DBD::Pg version 0.98. > >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" > >The above command is executed sucssesfuly in psql and returns the desire >result. > >Does anybody has an idea what is the problem ? > > Vladimir > > > >---------------------------(end of broadcast)--------------------------- >TIP 6: Have you searched our list archives? > >http://www.postgresql.org/search.mpl _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp