From: Kris Jurka <books@ejurka.com>
To: Xavier Poinsard <xpoinsard@openpricer.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Permission denied error with testGetUDTQualified
Date: Wed, 17 Nov 2004 14:08:45 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0411171405570.4002@leary.csoft.net> (raw)
In-Reply-To: <cnfqi4$99h$1@sea.gmane.org>
References: <cnfqi4$99h$1@sea.gmane.org>
On Wed, 17 Nov 2004, Xavier Poinsard wrote:
> Trying to run the tests from Build 308 againt a 7.4.1 server I got the
> following error :
>
> [junit] Testcase:
> testGetUDTQualified(org.postgresql.test.jdbc2.DatabaseMetaDataTest):
> Caused an ERROR
> [junit] ERROR: permission denied for database test
> [junit] java.sql.SQLException: ERROR: permission denied for
> database test
>
> Can someone provides the way to solve this error (and add a note in the
> code) ?
The code is trying to create a schema, which you apparently don't have
permission to do.
GRANT CREATE ON DATABASE test TO test;
should fix this. Making test the owner of the test database, or making
test a superuser will also make this work.
Kris Jurka
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, xpoinsard@openpricer.com
Subject: Re: Permission denied error with testGetUDTQualified
In-Reply-To: <Pine.BSO.4.56.0411171405570.4002@leary.csoft.net>
References: <cnfqi4$99h$1@sea.gmane.org> <Pine.BSO.4.56.0411171405570.4002@leary.csoft.net>
* 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