note 94672 added to function.pg-copy-to

From: Date: Tue, 17 Nov 2009 19:14:42 +0000
Subject: note 94672 added to function.pg-copy-to
Groups: php.notes 
Request: Send a blank email to php-notes+get-163001@lists.php.net to get a copy of this message
You cannot specify the schema name in this command. You can change the search path for just one query by using the following code: pg_query($conn, "SET search_path TO myschema;"); $copy_to = pg_copy_to($conn, 'tablename'); pg_query("RESET search_path;"); ---- Server IP: 69.147.83.197 Probable Submitter: 66.117.143.148 ---- Manual Page -- http://www.php.net/manual/en/function.pg-copy-to.php Edit -- https://master.php.net/note/edit/94672 Del: integrated -- https://master.php.net/note/delete/94672/integrated Del: useless -- https://master.php.net/note/delete/94672/useless Del: bad code -- https://master.php.net/note/delete/94672/bad+code Del: spam -- https://master.php.net/note/delete/94672/spam Del: non-english -- https://master.php.net/note/delete/94672/non-english Del: in docs -- https://master.php.net/note/delete/94672/in+docs Del: other reasons-- https://master.php.net/note/delete/94672 Reject -- https://master.php.net/note/reject/94672 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#163001) next »