summaryrefslogtreecommitdiff
path: root/python/skytools/dbservice.py
AgeCommit message (Collapse)Author
2012-12-20skytools: fix submodule __all__ listsMarko Kreen
dbservice: TableAPI was missing from __all__ but was available on top-level. Fix. natsort.py, skylog.py: __all__ was missing, add. Add only items that already were under top-level.
2012-10-19white noisemartinko
2012-05-23dbservice.get_record_list: do not use parse_pgarray on python listsTarvi Pillessaar
2011-12-29dbservice: another cleanupMarko Kreen
2011-12-29dbservice: clean unused imports, make rest available on top-levelMarko Kreen
2011-12-29dbservice.TableAPI: cast id to int8Marko Kreen
This makes possible to use prepared plans with tapi.
2011-12-22dbservice.make_record: convert list to pgarrayMarko Kreen
This makes the behaviour compatible with 8.3 plpython, with did not know arrays and returned text strings. More general solution would be to use urlenc arrays (same key repeats), except that not general enough - there is no transparent way to encode lists with 0 and 1 elements. So caller must always be aware whether a key is list or not. Thus no advantages over this pgarray solution and disadvantaga is incompatibility.
2011-04-06Avoid direct symbol importsMarko Kreen
Always use import skytools def xx(): skytools.foo this allows maximum laziness when importing.
2010-11-02dbservice: use txid_current() instead of old nameMarko Kreen
2010-10-06new dbservice module, for pl/python funcsMarko Kreen