pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Muise <JMuise@esri.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14662: 'has_table_privilege()' function fails with error, "invalid name syntax" when using Japanese symbols
Date: Mon, 22 May 2017 21:12:20 +0000
Message-ID: <a275f08a973349e58dbf34000a77038c@RED-INF-MXMB-P1.esri.com> (raw)
In-Reply-To: <5408.1495215868@sss.pgh.pa.us>
References: <20170519162316.29945.5021@wrigleys.postgresql.org>
	<3637.1495213367@sss.pgh.pa.us>
	<446a18e20f0f4fb89880a32c4c664e4c@RED-INF-MXMB-P1.esri.com>
	<5408.1495215868@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi Tom,

Just wanted to see if here was any additional information/testing you required from me, and if you are still reviewing this issue.

Thanks,

Justin

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
Sent: Friday, May 19, 2017 10:44 AM
To: Justin Muise <JMuise@esri.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #14662: 'has_table_privilege()' function fails with error, "invalid name syntax" when using Japanese symbols

Justin Muise <JMuise@esri.com> writes:
> Thank you for your quick response! Please see the attached image.

Hm.  If I'm reading that correctly, you've got encoding set to UTF8 but the OS is going to think the encoding is WIN1252, which will likely affect the behavior of isspace(), which'd successfully break this function.  I'm not sure how the system allowed you to do that.

I wonder though whether it wouldn't be better for SplitIdentifierString to use scanner_isspace() rather than isspace().  That would cause it to not treat things like &nbsp; as whitespace, but maybe that's OK.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (13+ messages)  latest in thread

Message-ID: <a275f08a973349e58dbf34000a77038c@RED-INF-MXMB-P1.esri.com>
Permalink:  ../a275f08a973349e58dbf34000a77038c@RED-INF-MXMB-P1.esri.com/
Also on:    postgresql.org/message-id/a275f08a973349e58dbf34000a77038c@RED-INF-MXMB-P1.esri.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 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-bugs@postgresql.org
  Cc: JMuise@esri.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #14662: 'has_table_privilege()' function fails with error, "invalid name syntax" when using Japanese symbols
  In-Reply-To: <a275f08a973349e58dbf34000a77038c@RED-INF-MXMB-P1.esri.com>
  References: <20170519162316.29945.5021@wrigleys.postgresql.org> <3637.1495213367@sss.pgh.pa.us> <446a18e20f0f4fb89880a32c4c664e4c@RED-INF-MXMB-P1.esri.com> <5408.1495215868@sss.pgh.pa.us> <a275f08a973349e58dbf34000a77038c@RED-INF-MXMB-P1.esri.com>

* 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