lp:~niemeyer/storm/postgres-local-paths

Created by Gustavo Niemeyer and last modified
Get this branch:
bzr branch lp:~niemeyer/storm/postgres-local-paths
Only Gustavo Niemeyer can upload to this branch. If you are Gustavo Niemeyer please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Gustavo Niemeyer
Project:
Storm
Status:
Development

Recent revisions

195. By Gustavo Niemeyer

Updated NEWS file.

194. By Gustavo Niemeyer

Allow local paths to postgres databases to be provided in the path
part of the URI. The last element of the path is the database name.
This won't be used if a hostname is provided in the URI.

193. By Gustavo Niemeyer

Updating NEWS file.

192. By Gustavo Niemeyer

Added TimeDelta to locals. [trivial]

191. By Gustavo Niemeyer

Merged insert-returning branch [r=radix,jkakar]

This branch implements three important changes:

- It changes the flushing mechanism to not load values inserted
  in the database at flush time. Instead, undefined variables are
  set to AutoReload, and resolved once first accessed.

- It implements support in the postgres backend to use the RETURNING
  extension of the INSERT statement to retrieve the primary key on
  inserts for object identity mapping (for versions >= 8.2)

- It prevents a pathological case which happens when a statement like
  "SELECT ... WHERE table.id = currval(...)" is executed in postgres.
  In these cases, the index of "table.id" isn't used (now used in
  versions < 8.2 only).

190. By Gustavo Niemeyer

Fixed compilation of currval() in the postgres backend when using
escaped schemas, tables, and/or column names, and also added one
more test using the public schema to verify that it basically works
end-to-end. [r=radix,bigkevmcd]

189. By Gustavo Niemeyer

A couple of fixes: [r=jkakar,oubiwann] [f=146580]

- Schema names are accepted in __storm_table__ when using
  PostgreSQL as the database (e.g. "schema.table"). (#146580,
  reported by James Mayfield)
- Tables named with reserved keywords are properly escaped.

188. By Gustavo Niemeyer

Changed PostgresDisconnectionTest to use the STORM_POSTGRES_HOST_URI
environment variable, if set, and use STORM_POSTGRES_URI as a fallback,
if it actually has a host set. STORM_POSTGRES_URI without the host
will disable the test class. STORM_POSTGRES_HOST_URI without a host
is an error. [trivial]

187. By Jamu Kakar

- Replaced iteritems with items in ZStorm.iterstores to avoid the
  problem where (because a WeakKeyDictionary is used) a store is
  de-allocated during iteration resulting in a RuntimeError [trivial].

186. By James Henstridge

Detect and handle database disconnections. [r=jamu,niemeyer] [f=94986]

This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.