From: Josh Berkus <josh@agliodbs.com>
To: Vladimir Terziev <vlady@rila.bg>
To: pgsql-sql@postgresql.org
Subject: Re: Problem with sequences
Date: Thu, 30 Aug 2001 09:56:43 -0700
Message-ID: <web-111320@davinci.ethosmedia.com> (raw)
In-Reply-To: <200108281515.f7SFFTq01398@star.rila.bg>
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@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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: josh@agliodbs.com, vlady@rila.bg
Subject: Re: Problem with sequences
In-Reply-To: <web-111320@davinci.ethosmedia.com>
* 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