Re: plpgsql question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Bartley" <abartley(at)evolvosystems(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plpgsql question
Date: 2002-08-13 01:58:47
Message-ID: 20864.1029203927@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Andrew Bartley" <abartley(at)evolvosystems(dot)com> writes:
> In the plpgsql function I am trying to update this column.

> update test
> set "Test Column" = ''test data'';

> The function fails with
> Error: Error while executing the query;

plpgsql doesn't cope with embedded spaces in identifiers, even
when double-quoted :-(

This is fixed as of a couple days ago in development sources, but
until 7.3 comes out you'll have to avoid such names. Sorry.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Edmund Dengler 2002-08-13 02:21:48 Slow deletes
Previous Message Tom Lane 2002-08-13 01:54:36 Re: question about upper limit on TEXT size