Re: Composite types as parameters

From: Elijah Stone <elronnd(at)elronnd(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Composite types as parameters
Date: 2021-06-28 19:55:33
Message-ID: 3aa4e6e-5fb8-f9e-aa8b-a8d6c57e699b@elronnd.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 27 Jun 2021, Tom Lane wrote:

> You should let the server infer its type, instead, which it can easily
> do from context in this example. That is, pass zero as the type OID, or
> leave out the paramTypes

Ah, thank you, that works brilliantly. Sorry for the noise!

-E

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-06-28 20:08:10 Re: [PATCH] Make jsonapi usable from libpq
Previous Message Tom Lane 2021-06-28 19:29:27 Re: pg_indent instructions