Re: pg_execute_from_file review
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, Itagaki Takahiro <itagaki.takahiro@gmail.com>, Joshua Tolley <eggyknap@gmail.com>, pgsql-hackers@postgresql.org
Date: 2010-11-29T16:48:06Z
Lists: 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