Re: [SQL] array_in: '{}}'::text[]

From: Joe Conway <mail(at)joeconway(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Markus Bertheau <twanger(at)bluetwanger(dot)de>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [SQL] array_in: '{}}'::text[]
Date: 2004-08-28 19:33:35
Message-ID: 4130DE0F.7030207@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches pgsql-sql

Tom Lane wrote:
>
> actually, why isn't this just a pstrdup?

> Why not just if (strcmp(str, "{}") == 0)
>

Good points. Changes made, and attached committed.

Joe

Attachment Content-Type Size
current.80.diff text/x-patch 6.2 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-08-28 19:50:44 Re: log_filename_prefix --> log_filename + strftime()
Previous Message Tom Lane 2004-08-28 17:58:19 Re: log_filename_prefix --> log_filename + strftime()

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Bertheau 2004-08-28 20:09:20 Re: [SQL] array_in: '{}}'::text[]
Previous Message Scott Gerhardt 2004-08-28 18:08:58 Re: Aggregate query for multiple records