agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Problems with JDBC-UNICODE
Date: Thu, 05 May 2005 16:19:24 +0200
Message-ID: <thhal-07sNVA2twyicDG5N4h+psIwe5XKGZoz@mailblocks.com> (raw)
In-Reply-To: <33093.10.0.0.64.1115301237.squirrel@10.0.0.64>
References: <33093.10.0.0.64.1115301237.squirrel@10.0.0.64>
	<427A2B6C.2050203@mailblocks.com>
	<thhal-07sNVA2lwyic8R5HIsV0dsBMpJgbFqV@mailblocks.com>

Jordi Marqu?s wrote:

> when I use tsearch2 (in trigger) to insert "text" or "to varchar" in a 
> table one it appears to me the following error. 
>
> Exception: ERROR: Regex error in '[^?he$': brackets [] not balanced
>
> I am sure that it is related to the character code but I do not have 
> solution
>
> Thank you
>
> -- 
> Jordi Marqu?s Ferr? (jordi.marques at iigov.org)

You are aware that in order to pass a backslash you need to escape it 
(i.e. \\ or even \\\\ if you want to pass escaped backslash to the SQL 
parser).

Can you provide a sample of the statement that you pass to JDBC?

Regards,
Thomas Hallgren






view thread (4+ messages)  latest in thread

Message-ID: <thhal-07sNVA2twyicDG5N4h+psIwe5XKGZoz@mailblocks.com>
Permalink:  ../thhal-07sNVA2twyicDG5N4h+psIwe5XKGZoz@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-07sNVA2twyicDG5N4h+psIwe5XKGZoz@mailblocks.com

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: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] Problems with JDBC-UNICODE
  In-Reply-To: <thhal-07sNVA2twyicDG5N4h+psIwe5XKGZoz@mailblocks.com>

* 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