diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-08-16 06:26:30 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-08-16 06:26:30 +0000 |
commit | 29b0707f07f148d98515125dab44b73cfdc0a3d4 (patch) | |
tree | 9566ad90027d1164feb52ab57e5ec109eb1d0c02 /railties | |
parent | f008566d656fb3b86c6421520ffcd05828a2108f (diff) | |
download | rails-29b0707f07f148d98515125dab44b73cfdc0a3d4.tar.gz rails-29b0707f07f148d98515125dab44b73cfdc0a3d4.tar.bz2 rails-29b0707f07f148d98515125dab44b73cfdc0a3d4.zip |
Improve performance and functionality of the postgresql adapter. Closes #8049 [roderickvd]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties')
-rw-r--r-- | railties/configs/databases/postgresql.yml | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/railties/configs/databases/postgresql.yml b/railties/configs/databases/postgresql.yml index ee5a9d117a..0da9e98032 100644 --- a/railties/configs/databases/postgresql.yml +++ b/railties/configs/databases/postgresql.yml @@ -1,9 +1,13 @@ -# PostgreSQL versions 7.4 - 8.1 +# PostgreSQL. Versions 7.4 and 8.x are supported. # -# Get the C bindings: -# gem install postgres -# or use the pure-Ruby bindings on Windows: -# gem install postgres-pr +# Install the ruby-postgres driver: +# gem install ruby-postgres +# On MacOS X: +# gem install ruby-postgres -- --include=/usr/local/pgsql +# On Windows: +# gem install ruby-postgres +# Choose the win32 build. +# Install PostgreSQL and put its /bin directory on your path. development: adapter: postgresql encoding: unicode @@ -11,21 +15,18 @@ development: username: <%= app_name %> password: - # Connect on a TCP socket. Omitted by default since the client uses a - # domain socket that doesn't need configuration. Windows does not have + # Connect on a TCP socket. Omitted by default since the client uses a + # domain socket that doesn't need configuration. Windows does not have # domain sockets, so uncomment these lines. #host: localhost #port: 5432 - # Schema search path. The server defaults to $user,public + # Schema search path. The server defaults to $user,public #schema_search_path: myapp,sharedapp,public - # Character set encoding. The server defaults to sql_ascii. - #encoding: UTF8 - # Minimum log levels, in increasing order: # debug5, debug4, debug3, debug2, debug1, - # info, notice, warning, error, log, fatal, or panic + # log, notice, warning, error, fatal, and panic # The server defaults to notice. #min_messages: warning |