Re: Current enums patch

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Current enums patch
Дата
Msg-id 4610BE66.4010708@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Current enums patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Current enums patch
Re: Current enums patch
Список pgsql-patches
Tom Lane wrote:
> Tom Dunstan <pgsql@tomd.cc> writes:
>> Here's the current version of the enums patch.
>
> Applied with revisions --- some cosmetic, some not so much.
> Attached is the patch-as-applied if you care to compare; feel free
> to ask questions about anything not obvious.

There's a little bug:

postgres=#  CREATE TYPE aenum AS ENUM ('a','b','c'); CREATE TYPE
postgres=#  CREATE TABLE t (e aenum); CREATE TABLE postgres=# INSERT
INTO t VALUES

('foooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo');
server closed the connection unexpectedly
         This probably means the server terminated abnormally
         before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.
postgres=#

In the server log:
TRAP: FailedAssertion("!(keylen < 64)", File: "hashfunc.c", Line: 145)


--
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

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

Предыдущее
От: "FAST PostgreSQL"
Дата:
Сообщение: Re: COPY-able sql log outputs
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: COPY-able sql log outputs