Re: PQexecParams question

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
Cc: "Postgres General List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: PQexecParams question
Date: 2008-10-12 17:05:35
Message-ID: 162867790810121005y6e33cdc3oae76801a2f59d250@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

2008/10/12 Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>:
> I don't see that working using arrays here. Can you elaborate please ?
>

select * from foo where a = any ($1)

postgres=# select 1 = any(array[1,2,3]);
?column?
----------
t
(1 row)

regards
Pavel Stehule

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message James Hitz 2008-10-12 17:16:20 Chart of Accounts
Previous Message Martin Gainty 2008-10-12 15:41:13 Re: Need schema design advice