Re: how to index a numeric(12,2) column?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Forest Wilkinson <fspam(at)home(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: how to index a numeric(12,2) column?
Date: 2000-11-08 19:06:26
Message-ID: 3133.973710386@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Forest Wilkinson <fspam(at)home(dot)com> writes:
> Sorry; I hit send before adding that information. I'm using postgres
> 6.5.3 on i386 Red Hat 6.1.

Time to update, then.

> It allows me to create an index on a NUMERIC(12,2) field using the
> int8_ops class, but I'm wondering if this might have some undesirable
> hidden side effects.

Yes, and they won't be too hidden either: it won't work :-(

Current sources check for that sort of type mismatch, but 6.5 failed to
do so.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message rocael 2000-11-08 19:17:53 shared memory problem
Previous Message Forest Wilkinson 2000-11-08 18:49:33 Re: how to index a numeric(12,2) column?