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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Quan Zongliang | 2009-02-13 09:36:15 | Re: Import: I need help |
Previous Message | Quan Zongliang | 2009-02-13 09:06:51 | Re: [pgadmin-support] about bit varying |