From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-performance@postgresql.org
Cc: Hassan Adekoya <hechy_man@yahoo.com>
Subject: Re: increment Rows in an SQL Result Set postgresql
Date: Sun, 16 Jul 2006 01:53:30 +0200
Message-ID: <200607160153.31333.peter_e@gmx.net> (raw)
In-Reply-To: <loom.20060715T194555-176@post.gmane.org>
References: <loom.20060715T194555-176@post.gmane.org>
Hassan Adekoya wrote:
> I will like to preserve ordering....
Tables are inherently unordered. If you want a particular order, you
need to use the ORDER BY clause. And you will need to have a column to
sort by. If you don't have one, the generate_series() function may
help.
This has nothing to do with performance, I gather, so it might be more
appropriate for the pgsql-sql list.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: peter_e@gmx.net, hechy_man@yahoo.com
Subject: Re: increment Rows in an SQL Result Set postgresql
In-Reply-To: <200607160153.31333.peter_e@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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