PostgreSQL 8.3.4 reproducible crash

From: "Dmitry Koterov" <dmitry(at)koterov(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: PostgreSQL 8.3.4 reproducible crash
Date: 2008-12-10 11:45:59
Message-ID: d7df81620812100345u6b50145ci84ecbd1582589e0a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello.

Here is the SQL to reproduce the server crash:

CREATE SCHEMA bug1 AUTHORIZATION postgres;

SET search_path = bug1, pg_catalog;

CREATE FUNCTION bug1.domain_check (integer) RETURNS boolean
AS
$body$
SELECT $1 <> 0
$body$
LANGUAGE sql IMMUTABLE STRICT;

CREATE DOMAIN bug1."domain" AS integer
CONSTRAINT "check" CHECK (bug1.domain_check(VALUE));

CREATE TYPE bug1.composite AS (
id domain
);

select '(1)'::bug1.composite;

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message KaiGai Kohei 2008-12-10 12:13:15 Re: Updates of SE-PostgreSQL 8.4devel patches (r1268)
Previous Message Bruce Momjian 2008-12-10 11:41:18 Re: cvs head initdb hangs on unixware