pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard NAGY <richard@presenceweb.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL request change when upgrade from 7.0.2 to 7.1.3
Date: Fri, 14 Sep 2001 19:31:26 +0200
Message-ID: <3BA23EEE.A5DA284B@presenceweb.com> (raw)
References: <web-119029@davinci.ethosmedia.com>

Josh Berkus a écrit :

> Mr. Nagy,
>
> > Recently, I have upgraded my postgresql server from 7.0.2 to 7.1.3.
> > But,
> > now, one request which was 'good' before, don't want to work any more
> > now.
>
> I'm not sure I understand your question.  What do you mean "doesn't
> work"? Please give a detailed list of all steps taken, including any
> error messages received.
>
> > Now, if I want that my request works well, I have to remove the order
> > by
> > statement. But, of course, it is not ordered any more.
>
> Er, by "request" do you mean "query"?
>
> Using an ORDER BY statement as you appear to use it in that query is
> permitted and correct.  I suspect that your problem is located somewhere
> else.  For example, what interface tool are you using to send queries to
> the database?
>
> -Josh
>
> ______AGLIO DATABASE SOLUTIONS___________________________
>                                        Josh Berkus
>   Complete information technology      josh@agliodbs.com
>    and data management solutions       (415) 565-7293
>   for law firms, small businesses        fax 621-2533
>     and non-profit organizations.      San Francisco
>
>

Hello Josh BERKUS,

Thanks for your answer and sorry for my english. It was a query and not a
request! Well, the query works well on postgresql 7.0.2 but when I upgraded
the RDBS to 7.1.3, it did not work any more. The error was : Relation e does
not exist.
But, in the 'order by' statement, I removed the 'e.'. Now, the query works
well without any error. It is ordered but I think it is certainly due to the
fact that the table was already ordered on disk. So, I have no more errors
but I'm not sure that it is completely good.

PS : The interface tool that I have used to send queries to the database was
psql.

Regards

--
Richard NAGY
Presenceweb

view thread (9+ messages)  latest in thread

Message-ID: <3BA23EEE.A5DA284B@presenceweb.com>
Permalink:  ../3BA23EEE.A5DA284B@presenceweb.com/
Also on:    postgresql.org/message-id/3BA23EEE.A5DA284B@presenceweb.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: richard@presenceweb.com, josh@agliodbs.com
  Subject: Re: SQL request change when upgrade from 7.0.2 to 7.1.3
  In-Reply-To: <3BA23EEE.A5DA284B@presenceweb.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