pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedRe:
1+ messages / 1 participants
[nested] [flat]
* Re:
@ 1970-01-01 00:00 omid omoomi <oomoomi@hotmail.com>
0 siblings, 0 replies; 1+ messages in thread
From: omid omoomi @ 1970-01-01 00:00 UTC (permalink / raw)
To: vladimirt@rila.bg; pgsql-sql
hi,
Grant all on sequence_name to theuser ;
regards
omid
>From: "Vladimir Terziev" <vladimirt@rila.bg>
>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
^ permalink raw reply [nested|flat] 1+ messages in thread
only message in thread
Thread overview: 1+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1970-01-01 00:00 Re: omid omoomi <oomoomi@hotmail.com>
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