Re: Array of tuples as a parameter, with type casts

From: Vladimir Ryabtsev <greatvovan(at)gmail(dot)com>
To: David Raymond <David(dot)Raymond(at)tomtom(dot)com>
Cc: "psycopg(at)lists(dot)postgresql(dot)org" <psycopg(at)lists(dot)postgresql(dot)org>
Subject: Re: Array of tuples as a parameter, with type casts
Date: 2019-12-05 17:43:52
Message-ID: CAMqTPqm-DWqKg4q8mJgMz0p9KBR6KDsv0X5gtSiacCMD4kcmog@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

> Isn’t every table its own type? So could you do this?

Wow, you are right! I completely forgot about it!
I even don't need "as t(...)" column list.
Thanks!

--
Regards
Vladimir

In response to

Browse psycopg by date

  From Date Subject
Next Message Anthony Waye 2020-01-15 06:36:26 Executing stored procs
Previous Message David Raymond 2019-12-05 14:41:00 RE: Array of tuples as a parameter, with type casts