Re: Converting Postgres SQL constraint logic to PHP?

From: Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com>
To: Steve Atkins <steve(at)blighty(dot)com>
Cc: PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Converting Postgres SQL constraint logic to PHP?
Date: 2016-06-15 18:34:44
Message-ID: CAD3a31UM8AvVBVcEyK-A0JpNywoGvAZGzjSrthLZVrmwORmLvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 10, 2016 at 2:23 PM, Ken Tanzer <ken(dot)tanzer(at)gmail(dot)com> wrote:

> On Fri, Jun 10, 2016 at 1:47 PM, Steve Atkins <steve(at)blighty(dot)com> wrote:
>
>>

> You could look at one of the existing SQL parsers implemented in PHP, and
>> use those to parse the constraint to a tree from which you could easily
>> pull PHP.
>>
>
>> This one sounds most promising! I took a quick Google, and it looks like
> there are lots of them, and a heavy Mysql focus. Anyone have experience or
> suggestions about which of these might be best, and particularly for
> Postgres?
>
>
> Hi. Just wanted to follow up one more time on this. Best parsers in PHP,
especially for Postgres? Anyone? Thanks!

Ken

--
AGENCY Software
A Free Software data system
By and for non-profits
*http://agency-software.org/ <http://agency-software.org/>*
*https://agency-software.org/demo/client
<https://agency-software.org/demo/client>*
ken(dot)tanzer(at)agency-software(dot)org
(253) 245-3801

Subscribe to the mailing list
<agency-general-request(at)lists(dot)sourceforge(dot)net?body=subscribe> to
learn more about AGENCY or
follow the discussion.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Farber 2016-06-15 19:07:10 Re: Moving from PHP to Java: A result was returned when none was expected.
Previous Message Josh Kupershmidt 2016-06-15 17:35:13 Re: pg_tune replacement