[COMMITTERS] pgsql: Mark unescape_single_char() "static": as far as I can see this

2006-02-17 Thread Neil Conway
Log Message: --- Mark unescape_single_char() "static": as far as I can see this function is only used by scan.l/scan.c Modified Files: -- pgsql/src/backend/parser: scan.l (r1.128 -> r1.129) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parse

[COMMITTERS] python - fe: Implement more mapping interfaces.

2006-02-17 Thread James William Pye
Log Message: --- Implement more mapping interfaces. Nice for '%(foo)s' % dict(htup) Alas, '%' doesn't seem to accept my "mapping", but dict() does. Modified Files: -- fe/src: tracenull.py (r1.9 -> r1.10) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python

[COMMITTERS] python - fe: Make __iter__ be an implicit __call__.

2006-02-17 Thread James William Pye
Log Message: --- Make __iter__ be an implicit __call__. GreenTrunk specifies this, so implement it. Allows for the rather nice 'for x in C.Query("..."): dostuffwith(x)' where that query takes no arguments. Modified Files: -- fe/src: tracenull.py (r1.8 -> r1.9)