Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id DE0B99FB0D1 for ; Sat, 30 Sep 2006 15:56:07 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 27476-06 for ; Sat, 30 Sep 2006 18:56:04 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id E769C9FA4E3 for ; Sat, 30 Sep 2006 15:56:03 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k8UItvJu015671; Sat, 30 Sep 2006 14:55:57 -0400 (EDT) To: Michael Paesold cc: Dave Cramer , =?ISO-8859-1?Q?Gr=E9gory_Chazalon?= , pgsql-jdbc@postgresql.org Subject: Re: [pgsql-jdbc] dollar-quoted CREATE FUNCTION statement fails In-reply-to: <451EBBCF.1030902@gmx.at> References: <53F8133C991FEC4BA0872D19BAD9694C3B6A70@ADV-SBS.advestigo.loc> <451BAE61.6070802@gmx.at> <11DE4B3E-F76F-42C8-A5A6-2C63E14458AD@fastcrypt.com> <451EBBCF.1030902@gmx.at> Comments: In-reply-to Michael Paesold message dated "Sat, 30 Sep 2006 20:47:43 +0200" Date: Sat, 30 Sep 2006 14:55:57 -0400 Message-ID: <15670.1159642557@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200609/161 X-Sequence-Number: 15879 Michael Paesold writes: > scan.l defines: > dolq_start [A-Za-z\200-\377_] > dolq_cont [A-Za-z\200-\377_0-9] > Some questions here: > - What are the \200-\377 characters? Basically, that's going to cover any non-7-bit-ASCII character (including multibyte characters). I'm not sure if Java has an equivalent of ctype.h's isascii() but that'd probably be what you want to use. Checking if the Unicode code point is > 127 would work too, if Java lets you do that. regards, tom lane