From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Petr Jelinek <pjmodos(at)pjmodos(dot)net> |
Subject: | Re: Proposal: USING clause for DO statement |
Date: | 2009-11-21 15:41:02 |
Message-ID: | 4B080A0E.1030406@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Pavel Stehule wrote:
> p.s. Maybe it is premature - We had to live with EXECUTE (without
> USING clause) twelve years. But an life should be comfortable. I don't
> would to wait twelve years :)
>
I think you should take heed of Tom's words:
> I think adding onto DO capabilities is something we could do later
> if demand warrants. I'd prefer to underdesign it for starters than
> to encrust it with features that might not be needed.
That doesn't mean waiting 12 years, but it does mean taking it a step at
a time. This feature hasn't even had one release in the field yet.
Perhaps part of the problem is that psql can't interpolate its variable
into strings. Solving that might lessen the impetus for this, and have
other uses besides.
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-11-21 15:48:59 | Re: Proposal: USING clause for DO statement |
Previous Message | Pavel Stehule | 2009-11-21 14:00:31 | Re: Proposal: USING clause for DO statement |