public inbox for [email protected]  
help / color / mirror / Atom feed
From: John R Pierce <[email protected]>
Subject: Re: [Pljava-dev] built, now how to install?
Date: Fri, 15 Jan 2016 14:54:34 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>

On 1/15/2016 11:36 AM, Chapman Flack wrote:
> On 01/15/2016 02:31 PM, John R Pierce wrote:
>
>> >CONTEXT:  SQL statement "CREATE OR REPLACE FUNCTION
>> >javatest.complex_send(javatest.complex) RETURNS bytea LANGUAGE java
>> >IMMUTABLE RETURNS NULL ON NULL INPUT AS
>> >'UDT[org.postgresql.pljava.example.annotation.ComplexScalar] SEND'"
>> >ERROR:  requested character too large for encoding: 256
> Erk, that's not anything I was expecting. Not even sure what
> encoding it's talking about in a function involving no strings.
> I'll look tonight.


ok, upon some further testing, it only does this if the ENCODING is 
SQL_ASCII, its fine if the server_encoding is UTF8 but the 
lc_collation/ctype are 'C'.

I note there's a almost 1 second delay between that CONTEXT and that 
ERROR, suggesting the error is NOT in that CREATE OR REPLACE FUNCTION.

I tried setting log_statement = 'all'  but just got...

< 2016-01-15 14:47:01.895 PST >ERROR:  requested character too large for 
encoding: 256
< 2016-01-15 14:47:01.895 PST >STATEMENT:  SELECT 
sqlj.install_jar('file:///home/piercej/pljava/pljava-examples/target/pljava-examples-1.5.0-SNAPSHOT.jar','examples', 
true);







-- 
john r pierce, recycling bits in santa cruz

_______________________________________________
Pljava-dev mailing list
[email protected]
http://lists.pgfoundry.org/mailman/listinfo/pljava-dev



view thread (14+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [Pljava-dev] built, now how to install?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox