X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D5C184758F1 for ; Thu, 17 Apr 2003 13:01:11 -0400 (EDT) Received: from britannicaviation.com (britannicaviation.com [207.3.150.150]) by postgresql.org (Postfix) with SMTP id E76E3475458 for ; Thu, 17 Apr 2003 13:01:10 -0400 (EDT) Received: (qmail 6278 invoked from network); 17 Apr 2003 17:09:48 -0000 Received: from unknown (HELO greg) (192.168.1.53) by britannicaviation.com with SMTP; 17 Apr 2003 17:09:48 -0000 Message-ID: <03cb01c30502$eef960e0$3501a8c0@greg> Reply-To: "Greg Kelley" From: "Greg Kelley" To: "Tom Lane" Cc: References: <01e501c304d4$28732b00$3501a8c0@greg> <11492.1050598388@sss.pgh.pa.us> Subject: Re: Require Assistance Solving Problem - erroneous pg_hba.conf Date: Thu, 17 Apr 2003 13:01:05 -0400 Organization: Britannic Aviation MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=-41.1 required=5.0 tests=BAYES_10,EMAIL_ATTRIBUTION,ORIGINAL_MESSAGE, PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/251 X-Sequence-Number: 8406 Never had them that I can tell - created a new .conf file using vi so I know it was clean as I was testing. Uninstall/reinstall RPMs worked - sort of. Now I'm getting pgadmin-II to blow up saying: 2003-04-17 12:27:17 - Error in pgAdmin II:frmConnect.cmdConnect_Click: -2147417848 - Automation error The object invoked has disconnected from its clients. and my php-pgsql is showing: pg_exec() query failed: ERROR: Bad date external representation (but this may be a version out of sync as I just installed the php-pgsql DSO) ...so all still isn't well in dodge... I can run psql, connect to the scheduler database, do a SELECT, etc. ----- Original Message ----- From: "Tom Lane" To: "Greg Kelley" Cc: ; "Bruce Momjian" ; "Joe Conway" Sent: 17 April, 2003 12:53 PM Subject: Re: [ADMIN] Require Assistance Solving Problem - erroneous pg_hba.conf "Greg Kelley" writes: > A RedHat Upgrade Saturday from 8.0 to 9.0 just did a 'minor' version > upgrade from 7.3.1 to 7.3.2. > [ and broke his pg_hba.conf ] Ah-hah, I now know where the behavioral change came from: the Red Hat RPMs contain this patch: --- postgresql-7.3.2/src/backend/libpq/hba.c.sopwith 2003-01-09 09:09:01.000000000 -0500 +++ postgresql-7.3.2/src/backend/libpq/hba.c 2003-01-09 09:09:09.000000000 -0500 @@ -72,11 +72,13 @@ * Some standard C libraries, including GNU, have an isblank() function. * Others, including Solaris, do not. So we have our own. */ +#ifndef isblank static bool isblank(const char c) { return c == ' ' || c == '\t' || c == '\r'; } +#endif /* which on RHL 9 causes the system definition of isblank() to be substituted for Postgres'. That means \r is no longer treated as whitespace, as it was in prior versions. There is a fix in our CVS tree that prevents this problem and restores the old treatment of \r, but for now you gotta get rid of the Windows- style newlines. regards, tom lane