Lists: | pgsql-bugs |
---|
From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Bug #779: query 'SELECT '{1,2}' *= NULL' crash backend |
Date: | 2002-09-23 16:14:40 |
Message-ID: | 20020923161440.5E42B475CC4@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
Vadim Passynkov (Vadim(dot)Passynkov(at)pathcom(dot)com) reports a bug with a severity of 1
The lower the number the more severe it is.
Short Description
query 'SELECT '{1,2}' *= NULL' crash backend
Long Description
SELECT version();
version
---------------------------------------------------------------------
PostgreSQL 7.2.2 on i386-portbld-freebsd4.7, compiled by GCC 2.95.4
(1 row)
SELECT '{1,2}' *= NULL;
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: Failed.
Sample Code
SELECT '{1,2}' *= NULL;
No file was uploaded with this report
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Vadim(dot)Passynkov(at)pathcom(dot)com, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: Bug #779: query 'SELECT '{1,2}' *= NULL' crash backend |
Date: | 2002-09-23 16:33:50 |
Message-ID: | 22530.1032798830@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
pgsql-bugs(at)postgresql(dot)org writes:
> query 'SELECT '{1,2}' *= NULL' crash backend
The functions defined by the contrib/array module should all be marked
strict. But they were not in 7.2 :-(.
Current sources have, for example,
create or replace function array_texteq(_text, text) returns bool
as 'MODULE_PATHNAME'
language C with (isStrict);
in array_iterator.sql.in.
regards, tom lane