Re: Re: Outstanding patches - Mailing list pgsql-hackers

From Richard Poole
Subject Re: Re: Outstanding patches
Date
Msg-id 20010508231553.A30581@office.vi.net
Whole thread Raw
In response to Re: Outstanding patches  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: Outstanding patches  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, May 08, 2001 at 05:49:16PM -0400, Tom Lane wrote:
> I presume that Ian is not thinking about such a scenario, but only about
> using %type in a schema file that he will reload into a freshly created
> database each time he edits it.  That avoids the issue of whether %type
> declarations can or should track changes on the fly, but I think he's
> still going to run into problems with function naming: do
> fooey(foo.bar%type) and fooey(foo.baz%type) conflict, or not?  Maybe
> today the schema works and tomorrow you get an error.

How about a feature in psql which would read something like '%type' and
convert it to the appropriate thing before it passed it to the backend?
Then you could use it without thinking about it in a script which you
would \i into psql. That would do what's wanted here without having
any backend nasties. I'm not offering to implement it myself - at least
not right now - but does it seem like a sensible idea?

Richard


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Outstanding patches
Next
From: Tom Lane
Date:
Subject: Re: Re: Outstanding patches