Re: checking select query syntax and semantics via php without executing

Поиск
Список
Период
Сортировка
Искать
От
Raymond O'Donnell
Тема
Re: checking select query syntax and semantics via php without executing
Дата
Msg-id
4ACA6A3B.50005@iol.ie
Ответ на
Список
Дерево обсуждения
checking select query syntax and semantics via php without executing Marco Dieckhoff <dieck@gmx.de>
Re: checking select query syntax and semantics via php without executing Bill Moran <wmoran@potentialtech.com>
Re: checking select query syntax and semantics via php without executing Marco Dieckhoff <dieck@gmx.de>
Re: checking select query syntax and semantics via php without executing Christophe Pettus <xof@thebuild.com>
Re: checking select query syntax and semantics via php without executing Raymond O'Donnell <rod@iol.ie>
On 05/10/2009 22:34, Marco Dieckhoff wrote:

> Is it possible in PHP to give a sql (select) query to Postgres via pg_*
> so that it is NOT executed but merely checked for syntax including
> correct, existing field and table names, and data types?

How about prepending "explain" to the query? Just a wild notion.

Ray.


------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@iol.ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------
В списке pgsql-php по дате отправления
От: Marco Dieckhoff
Дата:
От: Bill Moran
Дата:
FAQ