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

Re: inferred param types for PREPARE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: inferred param types for PREPARE
Date: 2006-01-15 17:17:35
Message-ID: 8821.1137345455@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Neil Conway <neilc(at)samurai(dot)com> writes:
> The only trickiness was allowing "UNKNOWN" to be specified in the list
> of type names in the PREPARE statement. Since UNKNOWN was previously an
> unreserved_keyword, this caused reduce/reduce conflicts:

You're doing it wrong.  There is no need for any special case whatever
in gram.y --- ordinary lookup of the type name will do fine.

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Magnus HaganderDate: 2006-01-15 17:45:48
Subject: Re: pgxs/windows
Previous:From: Tom LaneDate: 2006-01-15 17:08:16
Subject: Re: TupleDesc refcounting

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