pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Terziev <vladimirt@rila.bg>
To: pgsql-sql@postgresql.org
Date: Wed, 29 Aug 2001 10:40:00 +0300
Message-ID: <200108290740.f7T7e0q04704@star.rila.bg> (raw)

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





Message-ID: <200108290740.f7T7e0q04704@star.rila.bg>
Permalink:  ../200108290740.f7T7e0q04704@star.rila.bg/
Also on:    postgresql.org/message-id/200108290740.f7T7e0q04704@star.rila.bg

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: vladimirt@rila.bg
  Subject: Re: 
  In-Reply-To: <200108290740.f7T7e0q04704@star.rila.bg>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox