dbTalk Databases Forums  

[BUGS] BUG #1322: Bug while Insert into TempResult Select cols ..... statement

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #1322: Bug while Insert into TempResult Select cols ..... statement in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PostgreSQL Bugs List
 
Posts: n/a

Default [BUGS] BUG #1322: Bug while Insert into TempResult Select cols ..... statement - 11-16-2004 , 11:59 AM







The following bug has been logged online:

Bug reference: 1322
Logged by: Bahadur Singh

Email address: bahadursingh (AT) yahoo (DOT) com

PostgreSQL version: 8.0 Beta

Operating system: Windows 2000 server

Description: Bug while Insert into TempResult Select cols .....
statement

Details:

PostgreSQL Version : PostgreSQL 8.0.0 Beta 4
OS : Windows Server 2000


I found a bug on Beta 4 release for Windows 2000 when inserting a large
amount of data from Select statement using pgdev-306-JDBC2 driver.

The Select returns 480,384 rows if executed on pgAdmin III SQL tool.

SQL :
INSERT INTO TEMPRESULT Select cols ...... with some consitions

When I call

stmt.execute()
it inserts onyl 192 rows to result table.

More problematic ??

on calling
int n = stmt.executeUpdate ()
it inserts 480,384 rows but returns 239,199 as value of n.

Less problematic: Rows in DB are correct.

It is working well, if result amount is less (less means about 10,000).


Best Wishes
Bahadur








---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.