From: | "Josh Berkus" <josh(at)agliodbs(dot)com> |
---|---|
To: | "Vladimir Terziev" <vlady(at)rila(dot)bg>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Problem with sequences |
Date: | 2001-08-30 16:56:43 |
Message-ID: | web-111320@davinci.ethosmedia.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Lebedev | 2001-08-30 17:16:11 | Re: [SQL] HELP: Trend reporting |
Previous Message | Keith Bussey | 2001-08-30 16:38:48 | Index Scan Backward vs. Sort/Sequential Scan when using ORDER BY |