Re: INSERT/SELECT with ORDER BY and LIMIT in 7.1?

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Dirk Lutzebaeck <lutzeb(at)aeccom(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: INSERT/SELECT with ORDER BY and LIMIT in 7.1?
Date: 2001-03-29 21:47:13
Message-ID: 200103292147.f2TLlE304677@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dirk Lutzebaeck wrote:
>
>INSERT INTO t1 SELECT a FROM t2 ORDER BY a LIMIT 10;
>
>Is it possible in 7.1?

Yes (I tried it).

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Trust in the Lord with all your heart and lean not on
your own understanding; in all your ways acknowledge
him, and he will direct your paths." Proverbs 3:5,6

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Shevland 2001-03-29 22:05:48 RE: [JDBC] Possible large object bug?
Previous Message Nathan Myers 2001-03-29 20:46:47 Re: Re: Changing the default value of an inherited column