prevent possible race condition when storing a session value
TableRecord recognizes Postgresql's bigint datatype
Merge pull request #39 from mysutka/master

prevent possible race condition when storing a session value