Eduardo == Eduardo Vázquez Rodríguez writes:
Eduardo $sth10 = $dbh-prepare (COPY dummy FROM
/home/postgres/dummy/dummyfile);
The filename needs to be quoted. You can use placeholders if you wish.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
Hello
Does anybody has already programmed the way of using the COPY FROM
function from postgres, I try producing the following code:
my ($dbh, $sth10);
$dbh = DBI-connect(dbi:Pg:dbname=$database, $username, $password)
or die Error: $DBI::errstr \n;
$sth10 = $dbh-prepare (COPY