Re: [GENERAL] default ordering of query result - are they always guarantee

2010-05-20 Thread Scott Marlowe
On Thu, May 20, 2010 at 8:11 AM, Igor Neyman wrote: > > >> -Original Message- >> From: Scott Marlowe [mailto:scott.marl...@gmail.com] >> Sent: Wednesday, May 19, 2010 4:15 AM >> To: A. Kretschmer >> Cc: pgsql-general@postgresql.org >> Subject: Re: default ordering of query result - are the

Re: [GENERAL] default ordering of query result - are they always guarantee

2010-05-20 Thread Igor Neyman
> -Original Message- > From: Scott Marlowe [mailto:scott.marl...@gmail.com] > Sent: Wednesday, May 19, 2010 4:15 AM > To: A. Kretschmer > Cc: pgsql-general@postgresql.org > Subject: Re: default ordering of query result - are they > always guarantee > >

Re: [GENERAL] default ordering of query result - are they always guarantee

2010-05-19 Thread Scott Marlowe
On Wed, May 19, 2010 at 1:38 AM, A. Kretschmer wrote: > In response to Guillaume Lelarge : >> > This is the default behavior I want. However, I am not sure whether this >> > is always guarantee? Or shall I explicitly make the query in the following >> > form? >> >> An you're right. It's not guar

Re: [GENERAL] default ordering of query result - are they always guarantee

2010-05-19 Thread A. Kretschmer
In response to Guillaume Lelarge : > > This is the default behavior I want. However, I am not sure whether this is > > always guarantee? Or shall I explicitly make the query in the following > > form? > > An you're right. It's not guaranted. The only guaranted way is to use > ORDER BY your_colum

Re: [GENERAL] default ordering of query result - are they always guarantee

2010-05-18 Thread Guillaume Lelarge
Le 19/05/2010 05:06, Yan Cheng CHEOK a écrit : > I have the following table : > > CREATE TABLE measurement_1 > ( > measurement_id serial NOT NULL, > fk_unit_id int NOT NULL, > "value" double precision, > measurement_type text NOT NULL, >

[GENERAL] default ordering of query result - are they always guarantee

2010-05-18 Thread Yan Cheng CHEOK
I have the following table : CREATE TABLE measurement_1 ( measurement_id serial NOT NULL, fk_unit_id int NOT NULL, "value" double precision, measurement_type text NOT NULL, measurement_unit text NOT NULL ); When I want to r