views:

85

answers:

2

Is there a way to execute unbuffered queries against PostgresSQL from PHP, or at least limit the size of the local buffer that a driver uses?

A: 

Hmmm... I found a PHP class belonging to the Flourish (un-)framework, that seems to have a function that could suit your needs.

Franz
A: 

Unfortunately there is not an unbuffered mode for the PHP pgsql extension or the pdo_pgsql extension. Flourish has an unbufferedQuery() method for fDatabase, but for PostgreSQL databases it uses the normal query functionality of the extensions.

wbond