pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedERROR: ORDER BY is not allowed in INSERT/SELECT
2+ messages / 2 participants
[nested] [flat]
* ERROR: ORDER BY is not allowed in INSERT/SELECT
@ 2000-10-12 12:35 Loïc TREGOUËT <loic@cri74.org>
0 siblings, 1 reply; 2+ messages in thread
From: Loïc TREGOUËT @ 2000-10-12 12:35 UTC (permalink / raw)
To: ; +Cc: pgsql-admin
Hie,
Why the folowing is not accepted on PostgreSQL 7.0 but accepted on
PostgreSQL 6.5.3 ?
insert into tempo select id, name from topics order by name;
ERROR: ORDER BY is not allowed in INSERT/SELECT
Thanks
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ERROR: ORDER BY is not allowed in INSERT/SELECT
@ 2000-10-12 14:59 Peter Eisentraut <peter_e@gmx.net>
parent: Loïc TREGOUËT <loic@cri74.org>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2000-10-12 14:59 UTC (permalink / raw)
To: Loïc TREGOUËT <loic@cri74.org>; +Cc: pgsql-admin
Loïc TREGOUËT writes:
> insert into tempo select id, name from topics order by name;
> ERROR: ORDER BY is not allowed in INSERT/SELECT
What's the point of this command? The values in "tempo" are going to end
up in random order anyway.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2000-10-12 14:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-10-12 12:35 ERROR: ORDER BY is not allowed in INSERT/SELECT Loïc TREGOUËT <loic@cri74.org>
2000-10-12 14:59 ` Peter Eisentraut <peter_e@gmx.net>
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