Обсуждение: pgsql: Don't use OidIsValid to check the return value of

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

pgsql: Don't use OidIsValid to check the return value of

От
heikki@postgresql.org (Heikki Linnakangas)
Дата:
Log Message:
-----------
Don't use OidIsValid to check the return value of transformGenericOptions,
because transformGenericOptions returns an array, not an Oid. I'm not
sure if this fixes the crashes seen in buildfarm, but it should be fixed
anyway.

Modified Files:
--------------
    pgsql/src/backend/commands:
        foreigncmds.c (r1.1 -> r1.2)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/foreigncmds.c?r1=1.1&r2=1.2)