pl/python quoting functions - Mailing list pgsql-hackers

From Jan Urbański
Subject pl/python quoting functions
Date
Msg-id 4D2B7EC8.4020500@wulczer.org
Whole thread Raw
Responses Re: pl/python quoting functions  (Hitoshi Harada <umi.tanuki@gmail.com>)
List pgsql-hackers
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.

Cheers,
Jan

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug in pg_describe_object (was: Re: [HACKERS] obj_unique_identifier(oid))
Next
From: Joel Jacobson
Date:
Subject: Re: Bug in pg_describe_object (was: Re: [HACKERS] obj_unique_identifier(oid))