| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: auto-casting a bit more intelligent in 8.0 ... ? |
| Date: | 2004-08-24 03:21:28 |
| Message-ID: | 27438.1093317688@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
> so, its trying bigint = int, and not picking up the index ...
> the database server is 7.4.3 ... is this something that has been made a
> bit more intelligent in 8.0? other then casting 0 to bigint, is there
> something else I should be looking at doing? Having them go through all
> of their code and casting all ints to bigint for this sounds a bit extreme
> :(
Yes, no, and no kidding ;-). We've been getting beat on for *years*
about this behavior, but it took the proverbial Good Idea to find a
workable solution. Can't generate those on a schedule I'm afraid...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2004-08-24 03:27:48 | Re: New warning in pg_dump |
| Previous Message | Tom Lane | 2004-08-24 03:02:01 | Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling as |