Обсуждение: returns opaque

Поиск
Список
Период
Сортировка

returns opaque

От
Paulina Canas Urrutia
Дата:
    Hi :

       I found the following definition


      CREATE FUNCTION check_primary_key ()
        RETURNS opaque
                              ^^^^^^^
        AS '/home/postgres/postgresql-6.3.2/contrib/spi/refint.so'
        LANGUAGE 'c'
;


        and I didn't know what's the meaning of  opaque. Any suggestion
or definition ???????????

    Bye...


---------------------------------
    Paulina Canas Urrutia
    U. Tecnica Federico Santa Maria, Chile
    paulina@labsd.inf.utfsm.cl


Re: [SQL] returns opaque

От
Vadim Mikheev
Дата:
Paulina Canas Urrutia wrote:
>
>        I found the following definition
>
>       CREATE FUNCTION check_primary_key ()
>         RETURNS opaque
>                 ^^^^^^
>
>         and I didn't know what's the meaning of  opaque. Any suggestion
> or definition ???????????

Meaning: function returns "something" that is not
valid data type (ie - not INT, CHAR, TEXT etc).

Vadim