[PATCHES] dollar quoting for plpgsql

2004-02-25 Thread Andrew Dunstan
Tom Lane wrote: I think plpgsql's lexer also needs to be taught about dollar-quoting. The attached patch appears to do the trick: floobl=# create or replace function testme() returns text language plpgsql as $$ floobl$# begin return $foo$a'\b$bar$foo$; end; floobl$# $$; CREATE

Re: [PATCHES] dollar quoting for plpgsql

2004-02-25 Thread Tom Lane
Andrew Dunstan [EMAIL PROTECTED] writes: I think plpgsql's lexer also needs to be taught about dollar-quoting. The attached patch appears to do the trick: Applied. It needed a little more work to handle RAISE NOTICE reasonably, but I took care of that. regards, tom