public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54213] New: please help to determine wether it is an PostgreSQL error or GCC error (combobox and SQL data sorting)
@ 2012-08-09 19:51 lirex.software at gmail dot com
  2012-08-09 19:56 ` [Bug c++/54213] please help to determine whether " lirex.software at gmail dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: lirex.software at gmail dot com @ 2012-08-09 19:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54213

             Bug #: 54213
           Summary: please help to determine wether it is an PostgreSQL
                    error or GCC error (combobox and SQL data sorting)
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lirex.software@gmail.com


Created attachment 27968
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27968
a c++ source file

hello,

Windows XP (I guess, that it is an OEM version) Home edition, service pack 3
installed.

I use a PostgreSQL database and manipulate data from an GCC c++ application
under Windows XP.
I use libpq-fe.h library.

and I noticed, that if I use an SQL string "... order by..." - then it could
represent data normally in an combobox element, but if I use a
second SQL query to find one field using almost the same query
then some ids from 1 and 2 queries are not equal.

I found a solution by excluding "... order by...". But it is not convient to
see surnames unsorted...

Is it a PostgreSQL error's side or GCC?
please help to determine, because I'm not professional on it.

My normal compiler options:

c++ -I"D:\Program Files\PostgreSQL\9.1\include" -L"D:\Program
Files\PostgreSQL\9.1\lib" -lpq -o %application_file% %application_file%.cpp
-Wl,--subsystem,windows -lgdi32 -lcomctl32 -D_WIN32_IE=0x0300

Compiler options to generate extra debug files:
c++ -I"D:\Program Files\PostgreSQL\9.1\include" -L"D:\Program
Files\PostgreSQL\9.1\lib" -lpq -o %application_file% %application_file%.cpp
-Wl,--subsystem,windows -lgdi32 -lcomctl32 -D_WIN32_IE=0x0300 -save-temps

Regards,
Denis Kolesnik.


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

end of thread, other threads:[~2012-08-20 15:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-09 19:51 [Bug c++/54213] New: please help to determine wether it is an PostgreSQL error or GCC error (combobox and SQL data sorting) lirex.software at gmail dot com
2012-08-09 19:56 ` [Bug c++/54213] please help to determine whether " lirex.software at gmail dot com
2012-08-09 19:57 ` lirex.software at gmail dot com
2012-08-09 19:59 ` lirex.software at gmail dot com
2012-08-09 20:01 ` pinskia at gcc dot gnu.org
2012-08-09 20:05 ` lirex.software at gmail dot com
2012-08-09 23:37 ` lirex.software at gmail dot com
2012-08-16 22:38 ` lirex.software at gmail dot com
2012-08-20 15:12 ` lirex.software at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).