[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-db-sig
Subject:    [DB-SIG] DB-API and 'COPY table FROM STDIN'
From:       fog () initd ! org (Federico Di Gregorio)
Date:       2005-11-12 13:41:17
Message-ID: 1131802877.5272.1.camel () localhost
[Download RAW message or body]

Il giorno sab, 12/11/2005 alle 04.09 -0800, Braden ha scritto:
> Hello,
> 
>    I'm a bit new to database stuff, so I'm sorry if this question has  
> an easily discoverable answer.
> 
>    Basically I wanted to know, when using the DB API, is it possible  
> to execute a 'COPY table FROM STDIN' command?  If so, where would  
> stdin be in this case?  I.e., where would one send the data?

COPY is not part of the DBAPI. Some drivers, like psycopg, offer some
kind of support for it but it is driver-dependent.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                fog at debian.org
INIT.D Developer                                           fog at initd.org
  You should use @literal, but you should have the grace to be
   embarrassed.                                         -- Norman Ramsey
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/db-sig/attachments/20051112/01393675/attachment.pgp

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic