Re: [BUGS] BUG #14853: Parameter type is required even when the querydoes not need to know the type - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: [BUGS] BUG #14853: Parameter type is required even when the querydoes not need to know the type
Date
Msg-id CAKFQuwawYCkJ+WH1NoGTnn1OEB-4jLE93ktOpeO94xEHPtJNhw@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] BUG #14853: Parameter type is required even when the querydoes not need to know the type  (Eduardo Pérez Ureta <edpeur@gmail.com>)
Responses Re: [BUGS] BUG #14853: Parameter type is required even when the querydoes not need to know the type
List pgsql-bugs
On Sun, Oct 15, 2017 at 10:40 PM, Eduardo Pérez Ureta <edpeur@gmail.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.

pgsql-bugs by date:

Previous
From: lelegaifax@gmail.com
Date:
Subject: [BUGS] BUG #14857: Typo in pg_dump italian translation
Next
From: stanislaw.skonieczny@gmail.com
Date:
Subject: [BUGS] BUG #14858: Inaccurate estimations after bulk delete and bulk insert