Обсуждение: pgsql: Clean up a few places where Datums were being treated as pointers

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

pgsql: Clean up a few places where Datums were being treated as pointers

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Clean up a few places where Datums were being treated as pointers without
going through DatumGetPointer or some other "official" conversion macro.
Not actually a bug, since Datum the same size as pointer is the only
supported case at the moment, but good cleanup for the future.

Gavin Sherry

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        varlena.c (r1.164 -> r1.165)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/varlena.c?r1=1.164&r2=1.165)
    pgsql/src/backend/utils/mb:
        mbutils.c (r1.69 -> r1.70)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c?r1=1.69&r2=1.70)