pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Subhashini Karthikeyan <subhaksekar@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: sequence chages after firing update
Date: Wed, 26 Jun 2002 07:46:01 -0700 (PDT)
Message-ID: <20020626074448.M91099-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <20020626114724.36949.qmail@web13108.mail.yahoo.com>


On Wed, 26 Jun 2002, Subhashini Karthikeyan wrote:

> In postgresql 7.1.3
>
> i am updateing a row. it is a 4th record.
> after updation if i am firing a select query it is
> coming as a last record ..what shall i do to avoid
> that..
> any help appriciated

If I understand the complaint, use an order by to
force an order on the select.  You can't guarantee the
order rows are returned to you unless you do (different
plans might give you rows in different orders anyway)






view thread (3+ messages)  latest in thread

Message-ID: <20020626074448.M91099-100000@megazone23.bigpanda.com>
Permalink:  ../20020626074448.M91099-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20020626074448.M91099-100000@megazone23.bigpanda.com

 · 

reply

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-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, subhaksekar@yahoo.com
  Subject: Re: sequence chages after firing update
  In-Reply-To: <20020626074448.M91099-100000@megazone23.bigpanda.com>

* 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