X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1C88C53702 for ; Mon, 11 Apr 2005 13:20:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81977-03 for ; Mon, 11 Apr 2005 16:20:27 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 386CA536CA for ; Mon, 11 Apr 2005 13:20:26 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j3BGKPq0002397; Mon, 11 Apr 2005 12:20:25 -0400 (EDT) To: PFC Cc: pgsql-general@postgresql.org Subject: Re: pg 8.0.1-r3 killls pgadmin3 and phppgadmin In-reply-to: References: <5852.1112819444@sss.pgh.pa.us> <28689.1113150475@sss.pgh.pa.us> <29374.1113228303@sss.pgh.pa.us> Comments: In-reply-to PFC message dated "Mon, 11 Apr 2005 17:25:39 +0200" Date: Mon, 11 Apr 2005 12:20:24 -0400 Message-ID: <2396.1113236424@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/500 X-Sequence-Number: 76413 PFC writes: >> You might try comparing the results of >> select ev_action from pg_rewrite where ev_class = 'pg_user'::regclass; >> from the two builds. > I'll spare your eyes and tell you right away that the results are > identical... they're at the bottom of the email. Hmm. Your data matches mine except for several spots where words are run together: > :colnames ("usename""usesysid" "usecreatedb" "usesuper" "usecatupd" ^^^^^^^^^^^^^^^^^^^ > :resorigcol 5 :resjunk false} :expr {VAR :varno 3 :varattno 5:vartype 16 ^^^^^^^^^ > :resdom{RESDOM :resno 7 :restype 702 :restypmod -1 :resname valuntil ^^^^^^^^^^^^^^ > :ressortgroupref 0 :resorigtbl 1260 :resorigcol 7 :resjunkfalse} :expr ^^^^^^^^^^^^^^ > :varnoold 3 :varoattno 7}} {TARGETENTRY:resdom {RESDOM :resno 8 :restype ^^^^^^^^^^^^^^^^^^^ I suppose that this is just a cut-and-paste issue but you should double check it. > peufeu=> SELECT pdb.datname FROM pg_database pdb, pg_user pu; > ERREUR: unexpected right parenthesis > Which is interesting, as there is no parenthesis in this query ;) Yes, the complaint is about something wrong with the stored form of the view rule for pg_user. > I'm totally perplexed. Have you got any idea ? I'm starting to wonder about compiler bugs breaking the code in read.c and readfuncs.c. If so, it's entirely likely that initdb wouldn't fix it (and more than likely would fail halfway through :-() If you want, you can try building with --enable-debug and getting a gdb traceback from the call to errfinish(). That would at least give us some clue where in the rule text it's getting confused. regards, tom lane