Re: Composite types as parameters - Mailing list pgsql-hackers

From Elijah Stone
Subject Re: Composite types as parameters
Date
Msg-id 3aa4e6e-5fb8-f9e-aa8b-a8d6c57e699b@elronnd.net
Whole thread Raw
In response to Re: Composite types as parameters  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_indent instructions
Next
From: Daniel Gustafsson
Date:
Subject: Re: [PATCH] Make jsonapi usable from libpq