Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8049: postgresql_config.diff

File postgresql_config.diff, 1.6 kB (added by FooBarWidget, 1 year ago)

Changes in the PostgreSQL default configuration file

  • railties/configs/databases/postgresql.yml

    old new  
    1 # PostgreSQL versions 7.4 - 8.1 
     1# PostgreSQL. Versions 7.4 and 8.x are supported. 
    22# 
    3 # Get the C bindings: 
    4 #   gem install postgres 
    5 # or use the pure-Ruby bindings on Windows: 
    6 #   gem install postgres-pr 
     3# Install the ruby-postgres driver: 
     4#   gem install ruby-postgres 
     5# On MacOS X: 
     6#   gem install ruby-postgres -- --include=/usr/local/pgsql 
     7# On Windows: 
     8#   gem install ruby-postgres 
     9#       Choose the win32 build. 
     10#       Install PostgreSQL and put its /bin directory on your path. 
    711development: 
    812  adapter: postgresql 
    913  database: <%= app_name %>_development 
    1014  username: <%= app_name %> 
    1115  password: 
    1216 
    13   # Connect on a TCP socket.  Omitted by default since the client uses a 
    14   # domain socket that doesn't need configuration.  Windows does not have 
     17  # Connect on a TCP socket. Omitted by default since the client uses a 
     18  # domain socket that doesn't need configuration. Windows does not have 
    1519  # domain sockets, so uncomment these lines. 
    1620  #host: localhost 
    1721  #port: 5432 
    1822 
    19   # Schema search path.  The server defaults to $user,public 
     23  # Schema search path. The server defaults to $user,public. 
    2024  #schema_search_path: myapp,sharedapp,public 
    2125 
    22   # Character set encoding.  The server defaults to sql_ascii
     26  # Character set encoding. The server defaults to SQL_ASCII
    2327  #encoding: UTF8 
    2428 
    2529  # Minimum log levels, in increasing order: