pgsql: Rewrite uuid input and output routines to avoid dependency on the

Поиск
Список
Период
Сортировка
От neilc@postgresql.org (Neil Conway)
Тема pgsql: Rewrite uuid input and output routines to avoid dependency on the
Дата
Msg-id 20070131193355.01F159FAD5A@postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Rewrite uuid input and output routines to avoid dependency on the
Список pgsql-committers
Log Message:
-----------
Rewrite uuid input and output routines to avoid dependency on the
nonportable "hh" sprintf(3) length modifier. Instead, do the parsing
and output by hand. The code to do this isn't ideal, but this is
an interim measure anyway: the uuid type should probably use the
in-memory struct layout specified by RFC 4122. For now, this patch
should hopefully rectify the buildfarm failures for the uuid test.

Along the way, re-add pg_cast entries for uuid <-> varchar, which
I mistakenly removed earlier, and bump the catversion.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        uuid.c (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/uuid.c.diff?r1=1.2&r2=1.3)
    pgsql/src/include/catalog:
        catversion.h (r1.377 -> r1.378)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h.diff?r1=1.377&r2=1.378)
        pg_cast.h (r1.29 -> r1.30)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_cast.h.diff?r1=1.29&r2=1.30)
    pgsql/src/test/regress/expected:
        uuid.out (r1.1 -> r1.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/uuid.out.diff?r1=1.1&r2=1.2)
    pgsql/src/test/regress/sql:
        uuid.sql (r1.1 -> r1.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/uuid.sql.diff?r1=1.1&r2=1.2)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix initdb to not generate misleading error messages when
Следующее
От: neilc@postgresql.org (Neil Conway)
Дата:
Сообщение: pgsql: Add missing Makefile dependencies for the "bigtest" and