Skip to content

DBAL-169: PostgreSQL Session init #1328

doctrinebot opened this Issue Sep 24, 2011 · 2 comments

2 participants


Jira issue originally created by user @beberlei:

During PostgreSQL Session init it may be interesting to set the search path to a different value than the default.


Comment created by @beberlei:

Implemented a generic SQLSessionInit listener that executes a single sql command after connection initializtion.

Example usage:

$evm->addEventListener(new SQLSessionInit("SET SEARCH_PATH TO foo, public, TIMEZONE TO 'Europe/Berlin'"));
$conn = DriverManager::getConnection($params, $config $evm);

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot added this to the 2.2 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.