From: Erik Rijkers <er@xs4all.nl>
To: Teodor Sigaev <teodor@sigaev.ru>
Cc: pgsql-committers@postgresql.org
Cc: pgsql-committers-owner@postgresql.org
Subject: Re: pgsql: Introduce parse_ident()
Date: Fri, 18 Mar 2016 16:37:23 +0100
Message-ID: <6c8ece1e07193c45625f8d036f9b97b4@xs4all.nl> (raw)
In-Reply-To: <E1agwHW-0004BV-IT@gemulon.postgresql.org>
References: <E1agwHW-0004BV-IT@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2016-03-18 16:25, Teodor Sigaev wrote:
> Introduce parse_ident()
>
> SQL-layer function to split qualified identifier into array parts.
>
[...]
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/3187d6de0e5a9e805b27c48437897e8c39071d45
>
> Modified Files
> --------------
> doc/src/sgml/func.sgml | 26 ++++
Fixed a typo and added 'the' a few times.
Erik Rijkers
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committersAttachments:func.sgml.diff (text/x-diff, 1.4K) download--- doc/src/sgml/func.sgml.orig 2016-03-18 16:31:02.896878016 +0100+++ doc/src/sgml/func.sgml 2016-03-18 16:33:19.727724710 +0100@@ -1832,12 +1832,12 @@
false, extra characters after the identifier are ignored. This is useful
for parsing identifiers for objects like functions and arrays that may
have trailing characters. By default, extra characters after the last
- identifier are considered an error, but if second parameter is false,- then chararacters after last identifier are ignored. Note that this+ identifier are considered an error, but if the second parameter is false,+ then the characters after the last identifier are ignored. Note that this
function does not truncate quoted identifiers. If you care about that
- you should cast the result of this function to name[]. A non-printable- chararacters (like 0 to 31) are displayed as hexadecimal codes always,- what can be different from PostgreSQL internal SQL identifiers+ you should cast the result of this function to name[]. Non-printable+ characters (like 0 to 31) are always displayed as hexadecimal codes,+ which can be different from PostgreSQL internal SQL identifiers
processing, when the original escaped value is displayed.
</entry>
<entry><literal>parse_ident('"SomeSchema".someTable')</literal></entry>
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-committers@postgresql.org
Cc: er@xs4all.nl, teodor@sigaev.ru, pgsql-committers-owner@postgresql.org
Subject: Re: pgsql: Introduce parse_ident()
In-Reply-To: <6c8ece1e07193c45625f8d036f9b97b4@xs4all.nl>
References: <E1agwHW-0004BV-IT@gemulon.postgresql.org> <6c8ece1e07193c45625f8d036f9b97b4@xs4all.nl>
* 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