Skip site navigation (1) Skip section navigation (2)

Re: Import: I need help

From: Quan Zongliang <quanzongliang(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>, Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers(at)postgresql(dot)org(dot)
Subject: Re: Import: I need help
Date: 2009-02-13 09:21:55
Message-ID: 20090213181055.732B.4125B4E5@gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
> The second way is to use SAVEPOINT.

> You can use savepoints:
> http://www.postgresql.org/docs/8.3/interactive/sql-savepoint.html

This a good idea. I forgot it.

> I think you should take a look at pgloader:
>   http://pgfoundry.org/projects/pgloader/
Ok, before the work go on, I study from them.


And more one question:
I think the import work should get a new PGconn instance before it starts.
in document: http://www.postgresql.org/docs/8.3/static/libpq-copy.html said:
It is not possible to execute other SQL commands using the same connection
while the COPY operation is in progress.

How about the INSERT command?
When them start work within a new transaction. It seems to fall into same situation.

-----------------------------------------------
Quan Zongliang
quanzongliang(at)gmail(dot)com
CIT Japan:  http://www.cit.co.jp
CIT China:  http://www.citbj.com.cn


In response to

Responses

pgadmin-hackers by date

Next:From: Quan ZongliangDate: 2009-02-13 09:36:15
Subject: Re: Import: I need help
Previous:From: Quan ZongliangDate: 2009-02-13 09:06:51
Subject: Re: [pgadmin-support] about bit varying

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group