Skip site navigation (1) Skip section navigation (2)

Re: Stuff for 2.4.1

From: Harald Armin Massa <harald(at)2ndQuadrant(dot)com>
To: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: psycopg(at)postgresql(dot)org
Subject: Re: Stuff for 2.4.1
Date: 2011-03-27 11:51:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: psycopg

> own parser for the bytea hex format, so that clients are no more >dependant on libpq 9 to talk with a 9 server.
>By the way the best way to make  this patch
>was to have our own parser for the "escape" format as well:
> this has generally improved performance in receiving bytea

compliments for doing performance improvements!

Are you really sure that psycopg2 should go the road of having own
parsers in addition to libpq-s routines? As much as I am happy about
the robustness when having other libpqs, and about the performance
benefit, as much I fear to have some new areas for possible bugs -
especially security-relevant things like SQL-injections.


Harald Armin Massa
PostgreSQL  Training, Services  and Support

2ndQuadrant Deutschland GmbH
GF: Harald Armin Massa
Amtsgericht Stuttgart, HRB 736399

In response to


psycopg by date

Next:From: Daniele VarrazzoDate: 2011-03-27 13:46:39
Subject: Re: Stuff for 2.4.1
Previous:From: Daniele VarrazzoDate: 2011-03-27 10:33:28
Subject: Stuff for 2.4.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group