Re: Bug #779: query 'SELECT '{1,2}' *= NULL' crash backend

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
Thread:
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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ruslan A Dautkhanov 2002-09-24 04:39:08 numeric type conversions
Previous Message pgsql-bugs 2002-09-23 16:14:40 Bug #779: query 'SELECT '{1,2}' *= NULL' crash backend