Re: pl/python quoting functions - Mailing list pgsql-hackers

From Jan Urbański
Subject Re: pl/python quoting functions
Date
Msg-id 4D4E6FCB.3030304@wulczer.org
Whole thread Raw
In response to Re: pl/python quoting functions  (Hitoshi Harada <umi.tanuki@gmail.com>)
Responses Re: pl/python quoting functions
List pgsql-hackers
On 04/02/11 18:10, Hitoshi Harada wrote:
> 2011/1/11 Jan Urbański <wulczer@wulczer.org>:
>> Here's a patch that adds a few PL/Python functions for quoting strings.
>> It's an incremental patch on top of the plpython-refactor patch sent in
>> http://archives.postgresql.org/message-id/4D135170.3080705@wulczer.org.
>>
>> Git branch for this patch:
>> https://github.com/wulczer/postgres/tree/functions
>>
>> The new functions are plpy.quote_literal, plpy.quote_nullable and
>> plpy.quote_ident, and work just like their sql or plperl equivalents.
>>
> 
> I reviewed this.
> 
> The patch applies and compiles cleanly and all the tests are passed.
> The patch adds 3 functions which works as the corresponding SQL
> functions. The test is enough, without any additional docs. No
> feature/performance issues found.
> 
> I mark this "Reader for Committer".

Thanks!

I guess a short paragraph in the Utility Functions section of the
PL/Python docs would be in order, I'll try to add it today.

Jan


pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: pl/python explicit subtransactions
Next
From: Noah Misch
Date:
Subject: Re: Re: patch: fix performance problems with repated decomprimation of varlena values in plpgsql