Re: FW: PLPGSQL

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: FW: PLPGSQL
Дата
Msg-id 42417AE9.1090707@archonet.com
обсуждение исходный текст
Ответ на FW: PLPGSQL  (Shaun Clements <ShaunC@relyant.co.za>)
Список pgsql-general
Shaun Clements wrote:
> Hi Sean
>
> Ive chosen the table structure on purpose.
> Im transforming data from one table to another. The problem is still there.
> I receive the column name from a query in one table, and then need to update
> the table with that column name in another.
> This needs to be done dynamically as part of a loop. So the column name
> needs to be called as a variable.
> Im stuck.
>
> Any suggestions

Use pl/tcl/perl/python or similar rather than plpgsql - it's not good
for this sort of thing. Pick whichever language you are most familiar
with, they should all cope fine with this sort of problem.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: josue
Дата:
Сообщение: Table audit system
Следующее
От: Sean Davis
Дата:
Сообщение: Re: PLPGSQL