From: | "omid omoomi" <oomoomi(at)hotmail(dot)com> |
---|---|
To: | vladimirt(at)rila(dot)bg, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: |
Date: | 2001-08-29 09:16:40 |
Message-ID: | F3jdqqLnY27n2EgSm5V00001777@hotmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
hi,
Grant all on sequence_name to theuser ;
regards
omid
>From: "Vladimir Terziev" <vladimirt(at)rila(dot)bg>
>To: pgsql-sql(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | omid omoomi | 2001-08-29 10:11:16 | Re: [SQL] getting the oid for a new tuple in a BEFORE trigger |
Previous Message | Markus Wagner | 2001-08-29 09:15:08 | getting the oid for a new tuple in a BEFORE trigger |