Re: Various breakages in new contrib/isn module

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: kronuz(at)hotmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Various breakages in new contrib/isn module
Date: 2007-02-14 04:24:32
Message-ID: 200702140424.l1E4OWT14274@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Added to TODO:

* Clean up casting in /contrib/isn

http://archives.postgresql.org/pgsql-hackers/2006-11/msg00245.php

---------------------------------------------------------------------------

Tom Lane wrote:
> It occurred to me to run the regression tests type_sanity and opr_sanity
> over the contrib/isn code. (The easy way to do this is to copy the isn
> install script into the regress/sql directory and then add it to
> serial_schedule just before those two tests.) It turned up a couple
> of moderately serious problems:
>
> * There are a whole bunch of "shell" operators created; try
> select oid::regoperator from pg_operator where oprcode = 0;
> after loading isn. I didn't track it down in detail, but it looked
> like most or all of these come from dangling oprcom links, ie, there's
> an operator that claims to have a commutator but you never supplied one.
> This is very bad, because the planner *will* try to use those operators
> given the right kind of query.
>
> * There are hash opclasses for these datatypes but the corresponding
> equality operators are not marked hashable. This is not quite as bad,
> but should be fixed.
>
> Please submit a patch that fixes these.
>
> Note to hackers: it might be worth trying the same thing with the other
> contrib modules; I don't have time right now though.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-14 04:26:23 Re: Re: [BUGS] BUG #2724: Could not check connection status with "ssl=on"
Previous Message Bruce Momjian 2007-02-14 04:19:52 Re: "recovering prepared transaction" after server restart message