python - be: Add interfaces to secure_read and secure_write.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Add interfaces to secure_read and secure_write.
Date: 2006-04-02 22:29:18
Message-ID: 20060402222918.E57CC1033871@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add interfaces to secure_read and secure_write.

These functions provide adventurous stored procedure authors with the ability to
read and write strings directly to and from the wire. The intent is to provide
the capacity to create custom subprotocols--such as that used by the remote
console, rc/slithe.

Additionally, refactor the linecache code to include the trailing newline with
each line in the list. pdb, sadly, appears to depend on each item having a
trailing newline. Also, prefix "procedure files" with a "/" so pdb doesn't get
"smart" and resolve the filename prior to handing it to the linecache.

Add client_host and client_port attributes to the Postgres module.

Modified Files:
--------------
be/src:
module.c (r1.28 -> r1.29)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/module.c.diff?r1=1.28&r2=1.29)
pl.c (r1.38 -> r1.39)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.38&r2=1.39)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2006-04-02 23:33:32 python - rc: Imported Sources
Previous Message James William Pye 2006-04-02 21:53:44 python - fe: Use Transactor attribute for Function execution.