Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: pg_prep_view_regtype-1.patch
Description: text/x-patch (36.8 KB)

In response to

pgsql-patches by date

Next:From: Neil ConwayDate: 2006-01-16 05:13:11
Subject: Re: Uninstall scripts for contrib
Previous:From: David FetterDate: 2006-01-16 04:08:57
Subject: Uninstall scripts for contrib

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group