Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A9FEE1337B92 for ; Wed, 23 Mar 2011 19:47:53 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 06057-10 for ; Wed, 23 Mar 2011 22:47:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id EEF201337B49 for ; Wed, 23 Mar 2011 19:47:42 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p2NMlfvV006598; Wed, 23 Mar 2011 18:47:41 -0400 (EDT) To: "Arthur Nascimento" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #5942: pg_trgm.sql has cyclic dependency on type gtrgm creation In-reply-to: <201103231909.p2NJ9JEc052156@wwwmaster.postgresql.org> References: <201103231909.p2NJ9JEc052156@wwwmaster.postgresql.org> Comments: In-reply-to "Arthur Nascimento" message dated "Wed, 23 Mar 2011 19:09:19 +0000" Date: Wed, 23 Mar 2011 18:47:40 -0400 Message-ID: <6597.1300920460@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201103/299 X-Sequence-Number: 29809 "Arthur Nascimento" writes: > When creating the gtrgm type, it depends on gtrgm_{in,out}. These functions > also depend on the type, so there is a cyclic dependency on creation of the > type. > The command psql -f sharedir/contrib/pg_trgm.sql crashes for me accusing > this error. Crashes how? That script works fine for everybody else. You might get some notices but not a crash. regards, tom lane