Re: inferred param types for PREPARE

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: inferred param types for PREPARE
Date: 2006-01-16 04:33:21
Message-ID: 1137386001.9145.65.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Sun, 2006-01-15 at 17:33 -0500, Tom Lane wrote:
> BTW, I wonder whether it wouldn't be a better idea to declare the
> pg_prepared_statement view's parameter_types column as regtype[]
> instead of oid[].

Yeah, good point -- I had thought that using type names would be
ambiguous in the presence of schemas, but of course regtype solves that
problem. Attached is a patch that implements this -- barring any
objections I'll apply this tomorrow.

-Neil

Attachment Content-Type Size
pg_prep_view_regtype-1.patch text/x-patch 36.8 KB

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2006-01-16 05:13:11 Re: Uninstall scripts for contrib
Previous Message David Fetter 2006-01-16 04:08:57 Uninstall scripts for contrib