Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vk9m2-0003j4-6r for pgsql-odbc@arkaria.postgresql.org; Sat, 23 Nov 2013 09:45:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vk9m1-0004br-Id for pgsql-odbc@arkaria.postgresql.org; Sat, 23 Nov 2013 09:45:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Vk9lz-0004b5-Nb for pgsql-odbc@postgresql.org; Sat, 23 Nov 2013 09:45:07 +0000 Received: from sd.tpf.co.jp ([210.161.239.34]) by magus.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Vk9ls-00029a-Uf for pgsql-odbc@postgresql.org; Sat, 23 Nov 2013 09:45:05 +0000 Received: (qmail 8197 invoked by uid 512); 23 Nov 2013 09:44:55 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 23 Nov 2013 09:44:55 -0000 Received: from unknown (HELO ?192.168.1.3?) (110.5.29.1) by sd.tpf.co.jp with SMTP; 23 Nov 2013 09:44:55 -0000 Message-ID: <52907911.3080407@tpf.co.jp> Date: Sat, 23 Nov 2013 18:44:49 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Przemyslaw Rzepecki , "pgsql-odbc@postgresql.org" Subject: Re: SQLCopyDesc to copy rows between tables References: <28C0F92D1CDD9C459B4449A93A77D15C1153FAC3@ESESSMB107.ericsson.se> In-Reply-To: <28C0F92D1CDD9C459B4449A93A77D15C1153FAC3@ESESSMB107.ericsson.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org (2013/11/18 1:25), Przemyslaw Rzepecki wrote: > Hi, > > I am trying to use SQLCopyDesc function to copy rows between tables. My > code > follows example given by MS-DN: > http://msdn.microsoft.com/en-us/library/ms715378%28v=vs.85%29.aspx > (tested also with exactly the example code). With pqsql-odbc driver > first call > to SQLCopyDesc fails with error: > SQLCopyDesc: HY000: src descriptor != target type (1) > > Is it possible to copy rows between tables without copying data to > application > level with pgsql-odbc driver? AFAIR SQLCopyDesc has no such functionality. regards, Hiroshi Inoue -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc