Permalink
Switch branches/tags
Nothing to show
Commits on Sep 21, 2009
  1. DBScript: Simplify looping and docstring handling

    markokr committed Sep 21, 2009
    - looping: remove .do_single_loop and .looping variables, let only .loop_delay
      control looping.  If loop_delay is missing from confing or 0, then
      instead sleep, the script will exit.
    
    - docstr: print docstring fragments recursively, so each class
      needs to only document its own parameters.
    
    - londiste.py: use Replicator class to print default config as it has
      proper class inheritance.
  2. sqltools: make mk_update_sql()/mk_delete_sql() use ONLY

    markokr committed Sep 21, 2009
    This will make urlencoded events behave same as sql events.
  3. sql/pgq: trigger fixes

    markokr committed Sep 21, 2009
    - pgq.logutriga() did not put custom pkey= value into events.
    
    - pgq.logutriga() and pgq.sqltriga() did allow UPDATE and DELETE
      on tables without pkey, running into SQL errors downstream.
      They should throw error in such case.
Commits on Sep 17, 2009
  1. pgq.maint_retry_events(): lock table to allow only single mover

    markokr committed Sep 17, 2009
    Use SHARE UPDATE EXCLUSIVE lock, which will not conflict with inserts.
Commits on Sep 11, 2009
  1. pgq.Consumer: use next_batch_custom()

    markokr committed Sep 11, 2009
    This brings new configurable params:
    
      pgq_min_delay, pgq_min_count, pgq_min_lag
    
    make them also reloadable via SIGHUP.
  2. pgq.Consumer: use lazy_fetch by default

    markokr committed Sep 11, 2009
    New default_lazy_fetch class var to allow subclasses to turn it off.
  3. pgq.next_batch_custom(): extended next_batch

    markokr committed Sep 11, 2009
    Supports create batch of several ticks and also forced lag.
Commits on Sep 10, 2009
  1. refresh libusual

    markokr committed Sep 10, 2009
  2. todo update

    markokr committed Sep 10, 2009
  3. DBScript: exception_hook

    markokr committed Sep 10, 2009
  4. python/: clean up imports

    markokr committed Sep 10, 2009
    - Remove unused imports
    - Remove relative imports
  5. run.lint: check all packages

    markokr committed Sep 10, 2009
    Also tune down style warnings
  6. londiste: on error, apply sql on-by-one

    markokr committed Sep 9, 2009
    Check whether last loop got error (work_state = -1)
    and apply sql one-by-one if thats true.
    
    Also, apply TRUNCATE separately from other SQL.
Commits on Sep 9, 2009
  1. skytools.DBScript: make work_state = -1 signal exception

    markokr committed Sep 9, 2009
    If exception was thrown, set work_state = -1, to let consumer
    handle next work differently.
  2. pgq.CoopConsumer for Python

    markokr committed Sep 9, 2009
    Simply wrapper around Consumer which redirects few calls to pgq_coop schema.
Commits on Sep 2, 2009
  1. doc: fix html generation

    markokr committed Sep 2, 2009
  2. refresh libusual

    markokr committed Sep 2, 2009
Commits on Aug 27, 2009
  1. londiste.local_add_table: use information_schema to get trigger info

    markokr committed Aug 27, 2009
    This allows to filter out only AFTER triggers without
    depending on low-level details of pg_catalog.
  2. Fetch libusual fix

    markokr committed Aug 27, 2009
Commits on Jul 21, 2009
  1. Merge commit 'martin/master'

    markokr committed Jul 21, 2009
  2. Create pg_xlog/archive_status directory for slave restore.

    mpihlak committed Jul 21, 2009
    Patch by Mark Kirkwood.
Commits on Jul 8, 2009
  1. libusual: refresh

    markokr committed Jul 8, 2009