From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Mac OS X Mavericks does not play nice with PostgreSQL 9.3.4 Date: Tue, 25 Mar 2014 09:24:26 +0000 Organization: A noiseless patient Spider Message-ID: References: <97e4ba0b-58a0-453f-8738-2c7de5c5286f@googlegroups.com> <44f22205-00a8-46bf-b0d3-1b070240b8e9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="22d720de31fa36ffc68ccbe08d1f0c55"; logging-data="20585"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/c0+VzIVjbCSzegpOM3T9/xOslFVajbQw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:bKhCxebIVPSa+gIH7QREV5LSd2E= sha1:KEzTXQ8s1NW0pRhXxqaJ/35Qn7M= Xref: news.eternal-september.org comp.lang.ada:18966 Date: 2014-03-25T09:24:26+00:00 List-Id: ake.ragnar.dahlgren@gmail.com writes: > For anyone reading this at comp.lang.ada I would also like to share > that using "localhost" worked fine on a Windows XP computer. It was > when using it in Mac OS X that it did not work. Yesterday I followed > Alans suggestion to try out Wmware's Fusion. I did that and installed > Debian in a virtual machine, installed gnat by "aptitudu install > gnat", installed postgresql using aptitude followed by downloading > gnatcoll from the Libre AdaCore website, compiling it successfully and > then getting the same error "Transaction failed: BEGIN > PGRES_BAD_RESPONSE" when trying to create the tables. When specifying > 127.0.0.1 instead of localhost it was possible to create the tables > both in Debian and Mac OS X. GNATCOLL uses PQconnectdb[1], which does its own magic with host/hostaddr. [1] http://www.postgresql.org/docs/8.3/static/libpq-connect.html