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>)
Список pgsql-php
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
Дата:
Сообщение: checking select query syntax and semantics via php without executing
Следующее
От: Bill Moran
Дата:
Сообщение: Re: checking select query syntax and semantics via php without executing