Skip site navigation (1) Skip section navigation (2)

where is the output

From: ohp(at)pyrenet(dot)fr
To: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: where is the output
Date: 2005-12-21 18:16:28
Message-ID: Pine.UW2.4.53.0512211911050.135@sun.pyrenet (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
hi all,

Not sure it's the right group, but I've spent the afternoon googling and
trying on this.

In PHP (Apache Module)

I try pg_exec("COPY blah TO STDOUT WITH blah");
It runs  for ever...

How can I get the output of COPY in PHP?

Copy_from is not an option because the goal is to get a CSV file.
Writing and re-reading a file doesn't seem to be an option either because
of safe_mode.

Any php gurus out there?


Olivier PRENANT        	        Tel: +33-5-61-50-97-00 (Work)
15, Chemin des Monges                +33-5-61-50-97-01 (Fax)
31190 AUTERIVE                       +33-6-07-63-80-64 (GSM)
FRANCE                          Email: ohp(at)pyrenet(dot)fr
Make your life a dream, make your dream a reality. (St Exupery)


pgsql-hackers by date

Next:From: Martijn van OosterhoutDate: 2005-12-21 18:32:35
Subject: Re: where is the output
Previous:From: Andrew DunstanDate: 2005-12-21 18:01:41
Subject: pgxs/windows

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group