August 20th, 2009 by depesz | Tags: configuration, plpgsql, postgresql, sessions, sql, stackoverflow, variables | 6 comments »
This post has been updated with new code that uses temporary table - the code is at the end of post! There was this question on Stack Overflow. For future reference: guy asked how to do session variables - i.e. something he ...
