pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_aclcheck error?
2+ messages / 2 participants
[nested] [flat]

* pg_aclcheck error?
@ 2000-09-29 22:19  Jan Mlotkiewicz <jmlotk@excite.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jan Mlotkiewicz @ 2000-09-29 22:19 UTC (permalink / raw)
  To: pgsql-interfaces

I'm using postgres 7.0.2 on the backend to do a problem logging db, with JSP
and Apache Jserv from Web pages to enter data via JDBC connection.

I've set up a unique serial id so that a user gets a ticket number
auto-generated.

When they hit submit, it should log data into db, but right noow I get the
following:

ERROR: pg_aclcheck: class "problem_seq_incident" not found.

can anyone tell me what the pg_aclcheck is doing?

My sequence is setup in the db config as problem_incident_seq, and also in
the java code for the bean that connects to the db, so i'm a bit curious on
this..

Any ideas appreciated..





_______________________________________________________
Say Bye to Slow Internet!
http://www.home.com/xinbox/signup.html




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_aclcheck error?
@ 2000-09-29 22:49  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Jan Mlotkiewicz <jmlotk@excite.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2000-09-29 22:49 UTC (permalink / raw)
  To: Jan Mlotkiewicz <jmlotk@excite.com>; +Cc: pgsql-interfaces

Jan Mlotkiewicz <jmlotk@excite.com> writes:
> ERROR: pg_aclcheck: class "problem_seq_incident" not found.
                             ^^^^^^^^^^^^^^^^^^^^

> My sequence is setup in the db config as problem_incident_seq,
                                           ^^^^^^^^^^^^^^^^^^^^

Is that just a typo in your message, or does it suggest that you didn't
spell the sequence name the same everywhere?

It looks like the sequence functions (nextval() etc) start out with
a permissions check, so if you call them on a nonexistent sequence name
the above complaint is what you'd get.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-09-29 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-09-29 22:19 pg_aclcheck error? Jan Mlotkiewicz <jmlotk@excite.com>
2000-09-29 22:49 ` Tom Lane <tgl@sss.pgh.pa.us>

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