using postgresql for session

From: "john(dot)tiger" <john(dot)tigernassau(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: using postgresql for session
Date: 2015-10-07 15:58:04
Message-ID: 5615410C.4030206@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

has anyone used postgres jsonb for holding session ? Since server side
session is really just a piece of data, why bother with special
"session" plugins and just use postgres to hold the data and retrieve it
with psycopg2 ? Maybe use some trigger if session changes? We are
using python Bottle with psycopg2 (super simple, powerful combo) - are
we missing something magical about session plugins ?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2015-10-07 16:23:02 Re: How to drop user if objects depend on it
Previous Message Karsten Hilbert 2015-10-07 15:34:39 Re: md5(large_object_id)