Re: COPY TO order - Mailing list pgsql-general

From Clodoaldo Pinto Neto
Subject Re: COPY TO order
Date
Msg-id 20040412171530.54259.qmail@web40911.mail.yahoo.com
Whole thread Raw
In response to COPY TO order  (Clodoaldo Pinto Neto <clodoaldo_pinto@yahoo.com.br>)
List pgsql-general
>If you need to maintain data in some order, then you need to add a key
>field that indicates that ordering, and use ORDER BY in order to
>select the data in that order.

>That will involve not using COPY TO.

I absolutely need to write to a file.

Solved it writing all the html page to a single table line so COPY TO has no
way now to write one only line out of order.

Regards,
Clodoaldo


______________________________________________________________________

Yahoo! Messenger - Fale com seus amigos online. Instale agora!
http://br.download.yahoo.com/messenger/

pgsql-general by date:

Previous
From: Guy Fraser
Date:
Subject: Re: COPY TO order
Next
From: Igor Shevchenko
Date:
Subject: db schema diff