Re: optimiser problem - Mailing list pgsql-hackers

From Tom Lane
Subject Re: optimiser problem
Date
Msg-id 29873.989904680@sss.pgh.pa.us
Whole thread Raw
In response to optimiser problem  (Gavin Sherry <swm@linuxworld.com.au>)
Responses Re: optimiser problem
List pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:
> CREATE TABLE "b" (
>         "id" bigint,
>         "string" text
> );

> SELECT * FROM b WHERE id=1;

Try "WHERE id = 1::bigint".

(Hey Bruce, is there anything about this in the FAQ?)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: optimiser problem
Next
From: Stephan Szabo
Date:
Subject: Re: optimiser problem