pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Penhey <tim@penhey.net>
To: pg@fastcrypt.com
To: pgsql-jdbc@postgresql.org
Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
Date: Tue, 14 Sep 2004 15:55:56 +0100
Message-ID: <4147067C.6070008@penhey.net> (raw)
In-Reply-To: <1095172682.1549.65.camel@localhost.localdomain>
References: <41470089.8010207@penhey.net>
	<1095172682.1549.65.camel@localhost.localdomain>

Dave Cramer wrote:

>Can you show us the code, logs?
>
>Dave
>  
>
 
CREATE OR REPLACE FUNCTION quote_test(first INTEGER, second INTEGER)
    RETURNS INTEGER AS $BODY$
DECLARE
    result INTEGER;
BEGIN
    result := first + second;
    RETURN result;
END;
$BODY$
LANGUAGE 'plpgsql';


This gives the error in eclipse.  Didn't mention before but using 
MyEclipseIDE plugin for DB access in Eclipse.

Also, just noticed the jdbc directory with the 8.0 beta.  Should I be 
using that instead of the pgdev one?
It has pg74.214.jdbc1.jar, pg74.214.jdbc2.jar, pg74.214.jdbc2ee.jar, 
pg74.214.jdbc3.jar.  Would these be better?

Tim




view thread (11+ messages)  latest in thread

Message-ID: <4147067C.6070008@penhey.net>
Permalink:  ../4147067C.6070008@penhey.net/
Also on:    postgresql.org/message-id/4147067C.6070008@penhey.net

 · 

reply

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: tim@penhey.net, pg@fastcrypt.com
  Subject: Re: Problem with dollar-quoted CREATE OR REPLACE FUNCTION
  In-Reply-To: <4147067C.6070008@penhey.net>
  References: <41470089.8010207@penhey.net> <1095172682.1549.65.camel@localhost.localdomain> <4147067C.6070008@penhey.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