Re: Truncate if exists - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: Truncate if exists
Date
Msg-id m24nlzxy1o.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: Truncate if exists  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Uh, we had an execute() function of sorts in the extensions patch; that
> seems to have been ripped out.  Do we want it back?

It was pretty different from what's being proposed here, as it was the
server-side version of psql \i feature, that is, executing commands read
directly from a SQL file on the server file's system.

I'd much prefer that we spend time making such an hypothetical feature
that irrelevant in all cases. There's still some work here, because the
feature only is hypothetical to end users, that's exactly what we rely
on today in the backend internal code…

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Improving the performance of psql tab completion
Next
From: Pavel Stehule
Date:
Subject: [PATCH] assign result of query to psql variable