Re: pg and number of parameters by insert

From: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
To: Dennis Björklund <db(at)zigo(dot)dhs(dot)org>
Cc: pginfo <pginfo(at)t1(dot)unisoftbg(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg and number of parameters by insert
Date: 2002-12-04 11:21:16
Message-ID: 3DEDE52C.4070407@mega-bucks.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dennis Björklund wrote:
>
> It's the same resom that if you have a C function taking two
arguments and
> you try to call it with one you get an error.

Aaaahhhh, I see the light.

I completely agree with you that it would be nice to get a warning.

What do the SQL specs have to say about this? Maybe it's not an error
because the specs require it not to be an error? (I have no idea, just
asking)

If the specs don't say either way, then a warning would be nice, and an
error better. But I bet that throwing an error would break a lot of apps ;)

Jc

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-12-04 11:44:24 Re: Backend message type 0x50 arrived while idle
Previous Message Martijn van Oosterhout 2002-12-04 11:19:55 Re: Starting postmaster in rc.local/during bootup