[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)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/fe/src/tracenull.py.diff?r1=1.8&r2=1.9)

---(end of broadcast)---
TIP 6: explain analyze is your friend


[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/fe/src/tracenull.py.diff?r1=1.9&r2=1.10)

---(end of broadcast)---
TIP 2: Don't 'kill -9' the postmaster


[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/parser/scan.l.diff?r1=1.128&r2=1.129)

---(end of broadcast)---
TIP 5: don't forget to increase your free space map settings