pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah. <mallah@trade-india.com>
To: Subhashini Karthikeyan <subhaksekar@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: sequence chages after firing update
Date: Wed, 26 Jun 2002 20:48:05 +0530
Message-ID: <200206262048.05168.mallah@trade-india.com> (raw)
In-Reply-To: <20020626114724.36949.qmail@web13108.mail.yahoo.com>
References: <20020626114724.36949.qmail@web13108.mail.yahoo.com>

dear subha,

Use explicit ORDER BY if u want to order the records
by some column.

otherwise the order of output from a select stmt is undefined.

bu generally it is found the the last updated record comes last.

On Wednesday 26 June 2002 17:17, Subhashini Karthikeyan wrote:
> hi all
>
>
> 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
>
> thankz in advance
>
> regards
> subha
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.







view thread (3+ messages)

Message-ID: <200206262048.05168.mallah@trade-india.com>
Permalink:  ../200206262048.05168.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200206262048.05168.mallah@trade-india.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: mallah@trade-india.com, subhaksekar@yahoo.com
  Subject: Re: sequence chages after firing update
  In-Reply-To: <200206262048.05168.mallah@trade-india.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