summaryrefslogtreecommitdiff
path: root/python/skytools/adminscript.py
AgeCommit message (Collapse)Author
2013-03-20adminscripts: make info commands not use pidfileMarko Kreen
otherwise they conflict with change operations.
2012-12-04white noisemartinko
2011-11-14skytools.AdminScript: fix typoMarko Kreen
2011-04-06Avoid direct symbol importsMarko Kreen
Always use import skytools def xx(): skytools.foo this allows maximum laziness when importing.
2011-02-11AdminScript.display_table: allow field formatter functionEgon Valdmees
2009-09-10python/: clean up importsMarko Kreen
- Remove unused imports - Remove relative imports
2009-06-09fixed display_table to properly display long table names.Martin Pihlak
2009-02-13python/skytools updateMarko Kreen
- docstrings - some preliminary python 3.0 compat (var names, print()) - sync with 2.1-stable adminscript: - move exec_cmd function to dbscript dbstruct: - support sequnces. SERIAL columns are not automatically created, but the link beteween column and sequence is. psycopgwrapper: - drop support for psycopg1 - beginnings of quick DB-API / DictRow description. quoting: - new unquote_fqident() function, reverse of quote_fqident() - quote_statement() accepts both row and dict dbscript: - catch startup errors - use log.exception for exceptions, will result in nicer logs sqltools: - exists_sequence() _pyquoting: - fix typo in variable name
2008-04-30cascading work:Marko Kreen
- let AdminScript detect number of args by introspection - track event_id_seq downstream - on rename update subscribers too - slightly more fleshed out switchover
2008-04-25pgq_set: pause/resume/change-provider/rename-node work nowMarko Kreen
2008-04-22move common db patterns to skytools.adminscript moduleMarko Kreen