Re: BUG #4908: escaping and dollar quotes: "ERROR: unterminated string"

From: Jack Douglas <jackpdouglas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4908: escaping and dollar quotes: "ERROR: unterminated string"
Date: 2009-07-09 15:51:59
Message-ID: 6a9af8810907090851k114ff793ya96bc7279162c31f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> The function body contains
>        return '\';
>
> and that string literal causes a syntax error when we come to parse the
> RETURN statement.

Thanks for the explanation - very clear.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-07-09 16:18:39 Re: BUG #4910: pg_restore fails on linux but success on win, buffer dirty
Previous Message wstrzalka 2009-07-09 15:08:41 Re: Unknown winsock error 10061