From: Josh Close <narshe@gmail.com>
To: POSTGRES-PERFORMANCE <pgsql-performance@postgresql.org>
Subject: Re: [Npgsql-general] index out of range
Date: Thu, 9 Jun 2005 08:35:29 -0500
Message-ID: <4a0cafe2050609063557b4dcce@mail.gmail.com> (raw)
In-Reply-To: <20050608204401.18205.qmail@web60713.mail.yahoo.com>
References: <4a0cafe20506080631124b3162@mail.gmail.com>
<20050608204401.18205.qmail@web60713.mail.yahoo.com>
On 6/8/05, Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br> wrote:
>
> --- Josh Close <narshe@gmail.com> escreveu:
>
> > Well, that would make total sense. I was kinda curious how the data
> > provider differentianted between :a and casting like now()::text.
> >
>
> Hi Josh!
>
> Npgsql uses the info found in NpgsqlCommand.Parameters collection. We do check
> if a parameter in Parameters collection isn't found in query string. The other
> way around isn't done yet. So, you can safely put something like: :a::text and
> it will send the text 5::text for example.
>
> I hope it helps.
Yes, that does help. Thanks.
-Josh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: narshe@gmail.com
Subject: Re: [Npgsql-general] index out of range
In-Reply-To: <4a0cafe2050609063557b4dcce@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox