Re: [PATCHES] dollar quoting - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: [PATCHES] dollar quoting
Date
Msg-id 40BFD455.1000201@familyhealth.com.au
Whole thread Raw
In response to Re: [PATCHES] dollar quoting  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCHES] dollar quoting
List pgsql-hackers
> Parsing is a whole nother ball of wax besides lexing.  I wasn't planning
> to put *that* into psql.  Remember the only thing psql really wants from
> this is to detect where end-of-statement is ...

OK, I'm not that great at understanding where lexing ands and parsing 
starts.  These are the things that it would be really nice to know about  in phpPgAdmin:

* Start and end of multiline queries, so when executing an SQL script I 
can execute each query separately.

* Knowing how many $n parameters there are in a SELECT statement that is 
to be prepared.

Chris



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Understanding transactions
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: [PATCHES] dollar quoting