Re: Unit tests

From: "Chris Smith" <cdsmith(at)twu(dot)net>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Unit tests
Date: 2004-02-13 21:47:53
Message-ID: 01b201c3f27b$0952daf0$6f00000a@KYA
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Kris Jurka wrote:
> On Fri, 13 Feb 2004, Chris Smith wrote:
>
> > Testcase:
> > testBadStmt(org.postgresql.test.jdbc2.CallableStmtTest): Caused an
> > ERROR ERROR: language "plpgsql" does not exist
> >
> > and similar errors for 4 other test cases in that file. Do I need
> > to do something special to enable plpgsql stored procedures in the
> > backend?
> >
>
> Yes run the createlang script.
>
> createlang plpgsql <dbname>

Thanks! I've attached a patch to add a note to the README to this effect.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Attachment Content-Type Size
postgresql-7.4.1-jdbc-testdoc.patch application/octet-stream 714 bytes

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Chris Smith 2004-02-14 01:09:54 A few more questions
Previous Message Barry Lind 2004-02-13 21:42:14 Re: Startup message issues