Re: BUG #14853: Parameter type is required even when the query does not need to know the type

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Eduardo Pérez Ureta <edpeur(at)gmail(dot)com>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14853: Parameter type is required even when the query does not need to know the type
Date: 2017-10-16 14:03:19
Message-ID: CAKFQuwawYCkJ+WH1NoGTnn1OEB-4jLE93ktOpeO94xEHPtJNhw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Oct 15, 2017 at 10:40 PM, Eduardo Pérez Ureta <edpeur(at)gmail(dot)com>
wrote:

> My example is even better!
> There is no need to infer the type as it is not needed!
> PostgreSQL should be able to infer that no type is needed.
>

​It could - but since SQL is a strongly typed language it doesn't have that
luxury.

The original thread you pointed to complained about the regression from
protocol v2 to protocol v3. Is that your complaint too or do you have some
other use case?

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message stanislaw.skonieczny 2017-10-16 14:06:34 BUG #14858: Inaccurate estimations after bulk delete and bulk insert
Previous Message lelegaifax 2017-10-16 12:14:25 BUG #14857: Typo in pg_dump italian translation