Re: PL/PGSQL: Dynamic Record Introspection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/PGSQL: Dynamic Record Introspection
Дата
Msg-id 18889.1121742637@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PL/PGSQL: Dynamic Record Introspection  ("Titus von Boxberg" <ut@bhi-hamburg.de>)
Ответы Re: PL/PGSQL: Dynamic Record Introspection
Список pgsql-patches
"Titus von Boxberg" <ut@bhi-hamburg.de> writes:
> Questions:
> - could anyone who knows Oracle better than me confirm
>   that with Oracle there are no RECORD variables of varying
>   dynamically assigned type?

Anyone?

> - is the syntax RECORD.(identifier), RECORD.(*), RECORD.(#)
>   still acceptable?

It works for me if we want to have an "NFIELDS" construct.  Personally
I'm still not convinced that we need one --- what's the use-case?

> - do you agree with my approach that "identifier"
>   is restricted to be a variable and cannot be an arbitrary
>   expression evaluating to a string?

I'd prefer arbitrary expression, but I suppose there's no harm in doing
the simple case first and generalizing if there's demand.

            regards, tom lane

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

Предыдущее
От: Mark Wong
Дата:
Сообщение: Re: A couple of patches for PostgreSQL 64bit support
Следующее
От: Neil Conway
Дата:
Сообщение: Re: PL/PGSQL: Dynamic Record Introspection