plpgsql question

Поиск
Список
Период
Сортировка
От Andrew Bartley
Тема plpgsql question
Дата
Msg-id 001301c24262$1a6b67f0$3200a8c0@abartleypc
обсуждение исходный текст
Ответ на question about upper limit on TEXT size  (Cindy <ctmoore@uci.edu>)
Ответы Re: plpgsql question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi all.

I am trying to do the following in plpgsql.

Can someone advise

create table test
(
"Test Column"    varchar(10)
);

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;

ERROR: unterminated " in name "Test

(State:S1000, Native Code: 1)


It works fine if the column name is "TestColumn" but not "Test Column".


Thanks

Andrew


В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: when to use index, and when not to us index - *the* answer :)
Следующее
От: "Luiz Rafael Culik Guimaraes"
Дата:
Сообщение: list tables