how's postgres support going?

87 views
Skip to first unread message

Josh

unread,
Jun 24, 2012, 2:21:19 PM6/24/12
to railsmachin...@googlegroups.com
I noticed postgres support has been added, and I've been trying it, but having a bunch of issues with it.

Manually starting postgresql:

$ sudo /etc/init.d/postgresql-8.4 start
 * Starting PostgreSQL 8.4 database server                                                                                                                                            * The PostgreSQL server failed to start. Please check the log output:
FATAL:  unrecognized configuration parameter "max_fsm_pages"
                                                                                                                                                                              [fail]
Okay, so, comment out that line (whatever it is):

$ sudo vim /etc/postgresql/8.4/main/postgresql.conf 
(06:20 PM) rails@sel-db1:~ $ sudo /etc/init.d/postgresql-8.4 start
 * Starting PostgreSQL 8.4 database server                                                                                                                                            * The PostgreSQL server failed to start. Please check the log output:
2012-06-24 18:20:10 GMT FATAL:  "/var/lib/postgresql/8.3/main" is not a valid data directory
2012-06-24 18:20:10 GMT DETAIL:  File "/var/lib/postgresql/8.3/main/PG_VERSION" is missing.
                                                                                                                                                                              [fail]
8.3?  I thought I had 8.4 installed?

Thoughts?

Thanks!
Josh

Josh Sharpe

unread,
Jun 24, 2012, 8:22:12 PM6/24/12
to railsmachin...@googlegroups.com
Le version number!  It's hard coded!

4 instances of '8.3' starting here:


Should be <%= postgresql_version %> or something?

I'm just changing it to 8.4, hardcoded, for my purposes.



Josh

--
You received this message because you are subscribed to the Google Groups "Moonshine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/railsmachine-moonshine/-/AipPabVZpWMJ.
To post to this group, send email to railsmachin...@googlegroups.com.
To unsubscribe from this group, send email to railsmachine-moon...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/railsmachine-moonshine?hl=en.

Reply all
Reply to author
Forward
0 new messages