At 11:18 AM 20/11/2002 +0100, Roel Rozendaal - IC&S wrote:
SELECT messageblk FROM messageblks WHERE message_idnr = <number>::bigint ORDER BY messageblk_idnr LIMIT 1;

messed up postgresql in such a way that this query took over 3 minutes to complete! Changing this into

SELECT messageblk FROM messageblks WHERE message_idnr = <number>::bigint ORDER BY messageblk_idnr;

Any chance of letting me know the PG version, and doing and EXPLAIN on these? I do not see this behaviour.




----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 03 5330 3172          |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/

Reply via email to