pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
 [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State
5+ messages / 1 participants
[nested] [flat]

*  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State
@ 2005-12-21 07:27  noreply@pgfoundry.org
  0 siblings, 0 replies; 5+ messages in thread

From: noreply@pgfoundry.org @ 2005-12-21 07:27 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000495, was opened at 2005-12-21 07:27
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Tom Zschockelt (toz)
Assigned to: Nobody (None)
Summary: duplicate key causes HY000 SQL-State

Initial Comment:
while inserting a row into an table with primary key 
the current snapshot ( 8.01.01.05 ) returns a wrong sqlstate HY000
instead of 
the 8.01.01.02 driver which returns a 23005 sqlstate (which is correct)

e.g. 

create table test1 (
 field1 int2 primary key,
 field2 varchar(10) null
);

insert into test1 (field1, field2) values ( 1, 'test');
insert into test1 (field1, field2) values ( 1, 'another test');

AFAIK the second insert should return with SQL_ERROR and sqlstate 23000 or 23005.




----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

*  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State
@ 2005-12-21 12:36  noreply@pgfoundry.org
  0 siblings, 0 replies; 5+ messages in thread

From: noreply@pgfoundry.org @ 2005-12-21 12:36 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000495, was opened at 2005-12-21 08:27
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125

Category: None
Group: None
Status: Open
>Resolution: Accepted
Priority: 3
Submitted By: Tom Zschockelt (toz)
>Assigned to: Ludek Finstrle (luf)
Summary: duplicate key causes HY000 SQL-State

Initial Comment:
while inserting a row into an table with primary key 
the current snapshot ( 8.01.01.05 ) returns a wrong sqlstate HY000
instead of 
the 8.01.01.02 driver which returns a 23005 sqlstate (which is correct)

e.g. 

create table test1 (
 field1 int2 primary key,
 field2 varchar(10) null
);

insert into test1 (field1, field2) values ( 1, 'test');
insert into test1 (field1, field2) values ( 1, 'another test');

AFAIK the second insert should return with SQL_ERROR and sqlstate 23000 or 23005.




----------------------------------------------------------------------

>Comment By: Ludek Finstrle (luf)
Date: 2005-12-21 13:36

Message:
The 8.01.0102 driver returns 23505 sqlstate.
I fix the problem in 8.01.0105. I attach working DLLs.

Please try and report if it's ok or not ok.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

*  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State
@ 2005-12-21 12:37  noreply@pgfoundry.org
  0 siblings, 0 replies; 5+ messages in thread

From: noreply@pgfoundry.org @ 2005-12-21 12:37 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000495, was opened at 2005-12-21 08:27
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 3
Submitted By: Tom Zschockelt (toz)
Assigned to: Ludek Finstrle (luf)
Summary: duplicate key causes HY000 SQL-State

Initial Comment:
while inserting a row into an table with primary key 
the current snapshot ( 8.01.01.05 ) returns a wrong sqlstate HY000
instead of 
the 8.01.01.02 driver which returns a 23005 sqlstate (which is correct)

e.g. 

create table test1 (
 field1 int2 primary key,
 field2 varchar(10) null
);

insert into test1 (field1, field2) values ( 1, 'test');
insert into test1 (field1, field2) values ( 1, 'another test');

AFAIK the second insert should return with SQL_ERROR and sqlstate 23000 or 23005.




----------------------------------------------------------------------

Comment By: Ludek Finstrle (luf)
Date: 2005-12-21 13:36

Message:
The 8.01.0102 driver returns 23505 sqlstate.
I fix the problem in 8.01.0105. I attach working DLLs.

Please try and report if it's ok or not ok.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

*  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State
@ 2005-12-21 13:56  noreply@pgfoundry.org
  0 siblings, 0 replies; 5+ messages in thread

From: noreply@pgfoundry.org @ 2005-12-21 13:56 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000495, was opened at 2005-12-21 07:27
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125

Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 3
Submitted By: Tom Zschockelt (toz)
Assigned to: Ludek Finstrle (luf)
Summary: duplicate key causes HY000 SQL-State

Initial Comment:
while inserting a row into an table with primary key 
the current snapshot ( 8.01.01.05 ) returns a wrong sqlstate HY000
instead of 
the 8.01.01.02 driver which returns a 23005 sqlstate (which is correct)

e.g. 

create table test1 (
 field1 int2 primary key,
 field2 varchar(10) null
);

insert into test1 (field1, field2) values ( 1, 'test');
insert into test1 (field1, field2) values ( 1, 'another test');

AFAIK the second insert should return with SQL_ERROR and sqlstate 23000 or 23005.




----------------------------------------------------------------------

>Comment By: Tom Zschockelt (toz)
Date: 2005-12-21 13:56

Message:
Your fix works well for my needs.

Thanks


----------------------------------------------------------------------

Comment By: Ludek Finstrle (luf)
Date: 2005-12-21 12:36

Message:
The 8.01.0102 driver returns 23505 sqlstate.
I fix the problem in 8.01.0105. I attach working DLLs.

Please try and report if it's ok or not ok.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

*  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State
@ 2005-12-21 14:17  noreply@pgfoundry.org
  0 siblings, 0 replies; 5+ messages in thread

From: noreply@pgfoundry.org @ 2005-12-21 14:17 UTC (permalink / raw)
  To: noreply@pgfoundry.org

Bugs item #1000495, was opened at 2005-12-21 08:27
You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125

Category: None
Group: None
>Status: Closed
Resolution: Accepted
Priority: 3
Submitted By: Tom Zschockelt (toz)
Assigned to: Ludek Finstrle (luf)
Summary: duplicate key causes HY000 SQL-State

Initial Comment:
while inserting a row into an table with primary key 
the current snapshot ( 8.01.01.05 ) returns a wrong sqlstate HY000
instead of 
the 8.01.01.02 driver which returns a 23005 sqlstate (which is correct)

e.g. 

create table test1 (
 field1 int2 primary key,
 field2 varchar(10) null
);

insert into test1 (field1, field2) values ( 1, 'test');
insert into test1 (field1, field2) values ( 1, 'another test');

AFAIK the second insert should return with SQL_ERROR and sqlstate 23000 or 23005.




----------------------------------------------------------------------

Comment By: Tom Zschockelt (toz)
Date: 2005-12-21 14:56

Message:
Your fix works well for my needs.

Thanks


----------------------------------------------------------------------

Comment By: Ludek Finstrle (luf)
Date: 2005-12-21 13:36

Message:
The 8.01.0102 driver returns 23505 sqlstate.
I fix the problem in 8.01.0105. I attach working DLLs.

Please try and report if it's ok or not ok.

----------------------------------------------------------------------

You can respond by visiting: 
http://pgfoundry.org/tracker/?func=detail&atid=538&aid=1000495&group_id=1000125



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2005-12-21 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-12-21 07:27  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State noreply@pgfoundry.org
2005-12-21 12:36  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State noreply@pgfoundry.org
2005-12-21 12:37  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State noreply@pgfoundry.org
2005-12-21 13:56  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State noreply@pgfoundry.org
2005-12-21 14:17  [ psqlodbc-Bugs-1000495 ] duplicate key causes HY000 SQL-State noreply@pgfoundry.org

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox