pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Return code for bad command 3+ messages / 2 participants [nested] [flat]
* Return code for bad command @ 2006-06-03 23:08 Jonathan Blitz <jb@anykey.co.il> 2006-06-04 16:04 ` Re: Return code for bad command Ludek Finstrle <luf@pzkagis.cz> 0 siblings, 1 reply; 3+ messages in thread From: Jonathan Blitz @ 2006-06-03 23:08 UTC (permalink / raw) To: pgsql-odbc I am using PostgreSQL version 8.0 with VC++ 2005. I use the native VC++ ODBC classes to access the PostgreSQL ODBC driver. When I issue an SQL command with an error I always get the same error code: 7 The message is ok but the code would be kinda useful dont really want to start parsing the message. I tried it with the 8.02.00.02 driver and the ANSI version of the 8.01.02.00 Both give the same result. Is this a bug or am I doing something wrong? Jonathan Blitz -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 06/02/2006 ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Return code for bad command 2006-06-03 23:08 Return code for bad command Jonathan Blitz <jb@anykey.co.il> @ 2006-06-04 16:04 ` Ludek Finstrle <luf@pzkagis.cz> 2006-06-04 17:06 ` Re: Return code for bad command Jonathan Blitz <jb@anykey.co.il> 0 siblings, 1 reply; 3+ messages in thread From: Ludek Finstrle @ 2006-06-04 16:04 UTC (permalink / raw) To: Jonathan Blitz <jb@anykey.co.il>; +Cc: pgsql-odbc > I am using PostgreSQL version 8.0 with VC++ 2005. > > I use the native VC++ ODBC classes to access the PostgreSQL ODBC driver. > > When I issue an SQL command with an error I always get the same error code: > 7 ... > Is this a bug or am I doing something wrong? It's normal behaviour. Let's try read sqlstate (I don't know how it is accessed through VC++ ODBC classes. Regards, Luf ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Return code for bad command 2006-06-03 23:08 Return code for bad command Jonathan Blitz <jb@anykey.co.il> 2006-06-04 16:04 ` Re: Return code for bad command Ludek Finstrle <luf@pzkagis.cz> @ 2006-06-04 17:06 ` Jonathan Blitz <jb@anykey.co.il> 0 siblings, 0 replies; 3+ messages in thread From: Jonathan Blitz @ 2006-06-04 17:06 UTC (permalink / raw) To: 'Ludek Finstrle' <luf@pzkagis.cz>; +Cc: pgsql-odbc Ok - I'll give it a try and see what I get. > -----Original Message----- > From: Ludek Finstrle [mailto:luf@pzkagis.cz] > Sent: Sunday, June 04, 2006 6:05 PM > To: Jonathan Blitz > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Return code for bad command > > > I am using PostgreSQL version 8.0 with VC++ 2005. > > > > I use the native VC++ ODBC classes to access the PostgreSQL ODBC driver. > > > > When I issue an SQL command with an error I always get the same error code: > > 7 > > ... > > > Is this a bug or am I doing something wrong? > > It's normal behaviour. Let's try read sqlstate (I don't know how it is > accessed through VC++ ODBC classes. > > Regards, > > Luf > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org > > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 6/2/2006 > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 06/02/2006 > -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.1/355 - Release Date: 06/02/2006 ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-06-04 17:06 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2006-06-03 23:08 Return code for bad command Jonathan Blitz <jb@anykey.co.il> 2006-06-04 16:04 ` Ludek Finstrle <luf@pzkagis.cz> 2006-06-04 17:06 ` Jonathan Blitz <jb@anykey.co.il>
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