Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Config options that hold size in bytes can now be specified in human readable format.
Examples: 1, 2 B, 3K, 4 MB
|
|
extract code from .print_ini and make usable elsewhere too.
|
|
|
|
|
|
Always use
import skytools
def xx():
skytools.foo
this allows maximum laziness when importing.
|
|
|
|
- drop the use_qident param, wrong place for it
- support multi-symbol operators
- support >2 parts in names
- drop the magic escaping in pynew,pyold. it does not make sense
- let all unknown symbols count as error
|
|
|
|
|
|
It's easier to merge name parts here than to do it in upper layers.
The merging does not support some crazier parts of sql syntax
like comments between name parts, so it defaults to off.
|
|
|
|
|
|
|
|
Seems to be better testing method than ad-hoc scripts. They will
serve as examples too.
Also fix few minor problems found in the process:
- parse_pgarray: check if str ends with }
- parse_pgarray: support NULL
- quote_fqident: add 'public.' schema to idents without schema
- fq_name_parts: return always list
|
|
|
|
- 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
|
|
|
|
|
|
|
|
|