Re: Implementing SQL/PSM for PG 8.2 - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Implementing SQL/PSM for PG 8.2
Date
Msg-id 200506281155.49920.peter_e@gmx.net
Whole thread Raw
In response to Re: Implementing SQL/PSM for PG 8.2  (Neil Conway <neilc@samurai.com>)
Responses Re: Implementing SQL/PSM for PG 8.2
List pgsql-hackers
Neil Conway wrote:
> I agree the current parser is a hack, but it's difficult to see how
> else it could be implemented.

Since the lexical structure of SQL/PSM seems to be about the same as the 
main SQL, maybe you could get away with having the main parser just 
accepting any tokens at the point where the function body belongs and 
make it count BEGIN's and END's or whatever nesting elements there 
might be.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: For review: Server instrumentation patch
Next
From: Peter Eisentraut
Date:
Subject: Occupied port warning