Phil Longstaff <plongst...@rogers.com> writes: >> Turns out port 0 is hard coded. >> >> I changed src/backend/dbi/gnc-backend-dbi.c line 438 from this: >> >> result = dbi_conn_set_option_numeric( be->conn, "port", 0 ); >> >> to this: >> >> result = dbi_conn_set_option_numeric( be->conn, "port", 5432 ); >> >> and things are working now. Perhaps if the port is going to be hard >> coded it should at least be the default port for postgres? > > I can't remember why I hard-coded it to 0. I should probably add another > field > to the form so that you can specify port and set that default to 5432.
Maybe you hard-coded it because you were assuming a local database, and '0' is okay for a unix domain socket? (just guessing) > Phil -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warl...@mit.edu PGP key available _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel