pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Forest Wilkinson <fspam@home.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: how to index a numeric(12,2) column?
Date: Wed, 08 Nov 2000 14:06:26 -0500
Message-ID: <3133.973710386@sss.pgh.pa.us> (raw)
In-Reply-To: <nn7j0tgcfkl8k1mdraoq6mhvvlhvhof14a@4ax.com>
References: <h22h0tcl0au01o1c0oed7dinlc7n8kqasj@4ax.com>
	<22500.973640915@sss.pgh.pa.us>
	<nn7j0tgcfkl8k1mdraoq6mhvvlhvhof14a@4ax.com>

Forest Wilkinson <fspam@home.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



view thread (4+ messages)

Message-ID: <3133.973710386@sss.pgh.pa.us>
Permalink:  ../3133.973710386@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3133.973710386@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, fspam@home.com
  Subject: Re: how to index a numeric(12,2) column?
  In-Reply-To: <3133.973710386@sss.pgh.pa.us>
  References: <h22h0tcl0au01o1c0oed7dinlc7n8kqasj@4ax.com> <22500.973640915@sss.pgh.pa.us> <nn7j0tgcfkl8k1mdraoq6mhvvlhvhof14a@4ax.com> <3133.973710386@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox