Re: pg_execute_from_file review - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_execute_from_file review
Date
Msg-id 28523.1291049286@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_execute_from_file review  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: pg_execute_from_file review
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> pg_execute_file() could be read to mean you are going to execute the
> file itself (i.e. it's a program).

Well, if that's what it suggests to you, I don't see how adding "from"
disambiguates anything.  You could be executing machine code "from"
a file, too.

What did you think of "pg_execute_sql_file"?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_execute_from_file review
Next
From: Robert Haas
Date:
Subject: Re: pg_execute_from_file review