Re: "record" datatype - plpgsql

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: "record" datatype - plpgsql
Дата
Msg-id 20030530171238.GL62688@perrin.int.nxad.com
обсуждение исходный текст
Ответ на Re: "record" datatype - plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
> > What I was asking is if there's anyway to use the NEW record to
> > get a list of the columnnames in it without knowing them
> > beforehand.
> 
> Not in plpgsql ... and if you did, you couldn't do anything useful
> with the names (like access the fields) anyway.  I believe you can
> do it in pltcl though.

If you're shopping around for pl languages, pl/ruby fits the bill too.
Reflective language with dynamic execution.  -sc


http://moulon.inra.fr/ruby/plruby.html

-- 
Sean Chittenden


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

Предыдущее
От: Franco Bruno Borghesi
Дата:
Сообщение: Re: SQL Help
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CASE returning multiple values (was SQL Help)