Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support PostgreSQL schema #48

Merged
merged 1 commit into from
Sep 2, 2012
Merged

Conversation

racklin
Copy link
Contributor

@racklin racklin commented Sep 1, 2012

PostgreSQL adapter will execute "SET search_path TO '???'" statement when connectted if schema is setting in config.

Ex:

$configPostgresql = array(
  'host' => '127.0.0.1',
  'username' => 'postgres',
  'password' => '',
  'dbname' => 'phalcon_test',
  'schema' => 'public'
);

$connection = new Phalcon\Db\Adapter\Pdo\Postgresql($configPostgresql);

Signed-off-by: Rack Lin racklin@gmail.com

… setting in config .

Signed-off-by: Rack Lin <racklin@gmail.com>
@travisbot
Copy link

This pull request passes (merged d730c08 into bade2e9).

phalcon pushed a commit that referenced this pull request Sep 2, 2012
Added support PostgreSQL schema
@phalcon phalcon merged commit 21c0d28 into phalcon:master Sep 2, 2012
@phalcon
Copy link
Collaborator

phalcon commented Sep 2, 2012

Thanks racklin for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature request Planned Feature or New Feature Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants