The following bug has been logged online:
Bug reference: 2168
Logged by: Steven Mooij
Email address: steven@mooij.name
PostgreSQL version: 8.1
Operating system: Linux
Description: 45.000.000 records too much?
Details:
Tried to copy the result of a join into another table, about 45.000.000
(small) records. This is the result:
testsearch=> insert into t_documentword2 (SELECT document_id, t_word2.id,
frequency from t_documentword, t_word2 where t_documentword.word =
t_word2.word);
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
I got the same result in version 7.5.15.