Re: help with dynamic table name

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: help with dynamic table name
Дата
Msg-id 20070306061908.GA57364@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: help with dynamic table name  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
On Mon, Mar 05, 2007 at 11:48:49PM -0500, Tom Lane wrote:
> but in this particular case there's no point in double-quoting those
> target-column names; it'd be the same to write
>
>   sql := 'INSERT INTO '+ $3 +' (id,body) VALUES ('+ $1 +','+ $2 +')';

And shouldn't the + operators be || ?  I'm not seeing + defined for
any character types.

--
Michael Fuhr

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: help with dynamic table name
Следующее
От: "Lukas"
Дата:
Сообщение: Pg_dump and bytaA