On Mar 4, 8:13 am, Siddhant <[EMAIL PROTECTED]> wrote:
> Hi people.
> I was just wondering if a tab-completion feature in python command
> line interface would be helpful?
> If yes, then how can I implement it?
> Thanks,
> Siddhant
Is this what you are looking for?
http://docs.python.org/lib/m
On Feb 20, 9:27 am, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Up to now I am happy with psycopg2.
Yeah. psyco is good.
> Why do you develop pg_proboscis?
[Good or bad as they may be]
1. Alternate interface ("greentrunk")
2. Non-libpq implementation yields better control over the wire that
a
On Feb 21, 9:33 am, imageguy <[EMAIL PROTECTED]> wrote:
> I have the setup script working, however, when I run the install, it
> places the module in the root of site-packages.
>
> The following is the deatils from the script
> setup (
> name = "mymodule",
> version = "0.1",
> description = "
On Feb 19, 9:23 am, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Yes, you can use "pg_dump production ... | psql testdb", but
> this can lead to dead locks, if you call this during
> a python script which is in the middle of a transaction. The python
> script locks a table, so that psql can't write
On Feb 19, 12:11 am, zaley <[EMAIL PROTECTED]> wrote:
> Py_Finalize ERROR!
>
> In my C++ program ,python is embeded . I create one win thread to run
> embedded Python code .
> So at the begin of thread function I call "Py_Initialize" and at the
> end of thread function call "Py_Finalize" .
> But af
On Feb 19, 8:06 am, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Any suggestions?
If you don't mind trying out some beta quality software, you can try
my pg_proboscis driver. It has a DBAPI2 interface, but for you to use
COPY, you'll need to use the GreenTrunk interface:
import postgresql.interfa
> Doesn't PostGres come with Export/Import apps ? That would be easiest
> (and faster).
Yes, PostgreSQL core has import/export apps, but they tend to target
general administration rather than transactional loading/moving of
data. ie, dump and restore a database or schema. There is a pgfoundry
proj
On Jan 22, 6:20 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> For a simple greenlet/tasklet/microthreading experiment I found myself in
> the need to ask the question
>
> isgenerator(v)
>
> but didn't find any implementation in the usual suspects - builtins or
> inspect.
types.GeneratorType