public inbox for [email protected]  
help / color / mirror / Atom feed
From: Chapman Flack <[email protected]>
Subject: Re: [Pljava-dev] built, now how to install?
Date: Fri, 15 Jan 2016 18:18:44 -0500
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]>
	<[email protected]>

On 01/15/16 17:54, John R Pierce wrote:

> 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.

Ah, I feel better now. That would be the unicode roundtrip test ... it does
have roughly a million Unicode codepoints to check. (That wouldn't take
nearly a second, unless you wrote it in, say, SQL with CTEs, and then it
would. :)

If you set log_error_verbosity to verbose, you'll see the LOCATION is the
chr function, which is used in the Unicode test.

That's actually illustrating a strange PostgreSQL quirk ... even though
in general the encodings are all about interconvertible subsets of Unicode
(with SQL_ASCII being the only weird, undefinable one) ... the chr function
(and U'' strings) are only fully usable in UTF8, period ... and crippled
/in every other encoding/. I've never asked why....

Since that code is just a regression test, I should just change it to be
skipped unless the server is using UTF8.

-Chap
_______________________________________________
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