473,624 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Any real known bugs about wrong selects?

Hi,

we are currently using another database product but besides some
licensing issues we are finding more and more problems with the
database. We are evaluating PostgreSQL and it looks quite handy.
Interesting features paired with good performance and a lot of users
seems to be a prove for the quality.

I wonder if people encountered bugs like 'a select returns a wrong
number of rows' or any other very serious bugs. We do not have problems
with things like database crashes (because we already needed to check
and fix such things with the other database product) or with slow
execution time in some cases but we take it very serious if a bug
results in -wrong- result sets because we are calculating bills and
other things which is very sensible to wrong results from select
statements.

As PostgeSQL is not a commercial product i hope that we are getting
real, more reliable answers about bugs than from the database producer
whose product we are using since now.

Regards David
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org

Nov 22 '05 #1
9 1459
Hello David,
I was relay on postgresql for years and now got trouble like you are
talking about, but i did not solve it yet to be sure that this in not
a matter of my hands but a problem of PG.
See [GENERAL] insertion with trigger failed unexpectedly
Discussion. Many people trying to help me so if it is not a PG problem i
could tell you that i'm using PG for 4 years at least in a some
number of sites (low traffic huge bases, very high traffic sites,
combined) and have had no problems.

Regards,
Anton Nikiforov
DT> Hi,

DT> we are currently using another database product but besides some
DT> licensing issues we are finding more and more problems with the
DT> database. We are evaluating PostgreSQL and it looks quite handy.
DT> Interesting features paired with good performance and a lot of users
DT> seems to be a prove for the quality.

DT> I wonder if people encountered bugs like 'a select returns a wrong
DT> number of rows' or any other very serious bugs. We do not have problems
DT> with things like database crashes (because we already needed to check
DT> and fix such things with the other database product) or with slow
DT> execution time in some cases but we take it very serious if a bug
DT> results in -wrong- result sets because we are calculating bills and
DT> other things which is very sensible to wrong results from select
DT> statements.

DT> As PostgeSQL is not a commercial product i hope that we are getting
DT> real, more reliable answers about bugs than from the database producer
DT> whose product we are using since now.

DT> Regards David
DT> ---------------------------(end of broadcast)---------------------------
DT> TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #2

--- David Teran <da*********@cl uster9.com> wrote:
Hi,

we are currently using another database product but
besides some
licensing issues we are finding more and more
problems with the
database. We are evaluating PostgreSQL and it looks
quite handy.
Interesting features paired with good performance
and a lot of users
seems to be a prove for the quality.

I wonder if people encountered bugs like 'a select
returns a wrong
number of rows' or any other very serious bugs. We
do not have problems
with things like database crashes (because we
already needed to check
and fix such things with the other database product)
or with slow
execution time in some cases but we take it very
serious if a bug
results in -wrong- result sets because we are
calculating bills and
other things which is very sensible to wrong results
from select
statements.

As PostgeSQL is not a commercial product i hope that
we are getting
real, more reliable answers about bugs than from the
database producer
whose product we are using since now.


You appear to be asking "Does it work?" ???
PostgreSQL has been used in many real business
applications for a number of years, and in recent
times, more and more large, mission critical systems.
Check http://advocacy.postgresql.org for more on that.

I have been reading the PostgreSQL mailing lists for
several years now, and have seen many bug reports.
Few of these turn out to be actual bugs, usually they
are due to error or misunderstandin g by the user, or
else hardware failures. In those few cases where the
bugs are genuine, there is usually a patch released
within hours of the report. Try and match that
anywhere else.

_______________ _______________ ____
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #3
> You appear to be asking "Does it work?" ???
Yes ;-)
PostgreSQL has been used in many real business
applications for a number of years, and in recent
times, more and more large, mission critical systems.
Check http://advocacy.postgresql.org for more on that.
Checked that, sounds great.
I have been reading the PostgreSQL mailing lists for
several years now, and have seen many bug reports.
Few of these turn out to be actual bugs, usually they
are due to error or misunderstandin g by the user, or
else hardware failures. In those few cases where the
bugs are genuine, there is usually a patch released
within hours of the report. Try and match that
anywhere else.

The real question was: are there open known bugs where a select
statement does not return a correct result, meaning a wrong number of
rows? Were there a lot of errors like this?
We are asking this because this makes trouble with the database we are
currently using. Of course we know that there is no guarantee that
pgsql works 100% bugfree but we are only asking for user experience.

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

Nov 22 '05 #4
The real question was: are there open known bugs where a select
statement does not return a correct result, meaning a wrong number of
rows? Were there a lot of errors like this?
We are asking this because this makes trouble with the database we are
currently using. Of course we know that there is no guarantee that
pgsql works 100% bugfree but we are only asking for user experience.

I do not know of any bug such as the one that you are describing. We
have customers doing 240,000 transactaions
and hour with PostgreSQL and have no issues.

Sincerely,

Joshua D. Drake

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandpromp t.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)

Nov 22 '05 #5
David Teran wrote:

The real question was: are there open known bugs where a select
statement does not return a correct result, meaning a wrong number of
rows? Were there a lot of errors like this?
We are asking this because this makes trouble with the database we are
currently using. Of course we know that there is no guarantee that pgsql
works 100% bugfree but we are only asking for user experience.


An error of this nature in any database is a very serious problem and
you should really take it up with the vendor. If you can reproduce it I
am sure they would try and supply a patch as soon as feasibly possible.

I have seen databases return the wrong number of rows to queries loads
of times or at least that is what it appears to be. On further
investigation these apparent bugs turn out to be user errors in
complicated sql statements. To date I have never seen a database return
the anything other than what I have asked it for and Postgres is in this
list.

h

Nov 22 '05 #6
On Tuesday 13 January 2004 15:08, Jeff Eckermann wrote:

I have been reading the PostgreSQL mailing lists for
several years now, and have seen many bug reports.
Few of these turn out to be actual bugs, usually they
are due to error or misunderstandin g by the user, or
else hardware failures. In those few cases where the
bugs are genuine, there is usually a patch released
within hours of the report. Try and match that
anywhere else.


And if you want read them too, the archive is publicly available at the
following URL:
http://www.postgresql.org/lists.html
You can see into our kitchens before sitting down to your meal...
Oh - another place to get a feel for what sort of bugs get found/fixed in a
live release, have a look in the online docs at the release notes.

The only bug that's bitten me was one where a backup/restore didn't set the
search_path correctly. It meant I had to intervene in a restore -
inconvenient, nothing more.

I think the most serious bug of recent times is probably the one fixed in
7.3.4 - search for server startup/WAL. As I recall, if some boundary
condition was met the server would refuse to start. I don't believe it caused
any damage to data.

PS - Jeff's right about the response time. For actual bugs, it's often
breathtakingly fast to get a patch.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)

Nov 22 '05 #7
On Tue, 13 Jan 2004, David Teran wrote:
I wonder if people encountered bugs like 'a select returns a wrong
number of rows' or any other very serious bugs. We do not have problems


It's happened on rare occasion in the past in my recollection for things
that are basically bugs. It generally gets resolved quickly and usually
someone can suggest workaround SQL while waiting.

Nominally speaking, some of the case folding issues with identifiers might
be considered to be such a problem: Select * from FOO, "foo" meaning
something different when two tables were created as "FOO" and "foo" from
what the spec would want. This is currently considered a don't do it sort
of situation.

Umm, there are some things that aren't really done yet, for example IIRC
upper()/lower() really only work on single byte encodings. There are
probably other things of this sort that one might need to watch out for.

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to ma*******@postg resql.org so that your
message can get through to the mailing list cleanly

Nov 22 '05 #8
On Tue, 13 Jan 2004, Joshua D. Drake wrote:
The real question was: are there open known bugs where a select
statement does not return a correct result, meaning a wrong number of
rows? Were there a lot of errors like this?
We are asking this because this makes trouble with the database we are
currently using. Of course we know that there is no guarantee that
pgsql works 100% bugfree but we are only asking for user experience.

I do not know of any bug such as the one that you are describing. We
have customers doing 240,000 transactaions
and hour with PostgreSQL and have no issues.


IIRC Tom found a bug in the hash indexing that MAY have resulted in short
selects in certain race conditions, but there was no test case to prove
it, and the likelyhood of it happening was really really low.

The last data loss bugs I know of were in the 7.2.x branch and have long
since been stamped out.
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to ma*******@postg resql.org)

Nov 22 '05 #9
On Tue, 13 Jan 2004, Harry Jackson wrote:
David Teran wrote:

The real question was: are there open known bugs where a select
statement does not return a correct result, meaning a wrong number of
rows? Were there a lot of errors like this?
We are asking this because this makes trouble with the database we are
currently using. Of course we know that there is no guarantee that pgsql
works 100% bugfree but we are only asking for user experience.


An error of this nature in any database is a very serious problem and
you should really take it up with the vendor. If you can reproduce it I
am sure they would try and supply a patch as soon as feasibly possible.

I have seen databases return the wrong number of rows to queries loads
of times or at least that is what it appears to be. On further
investigation these apparent bugs turn out to be user errors in
complicated sql statements. To date I have never seen a database return
the anything other than what I have asked it for and Postgres is in this
list.


Just an FYI, MSSQL server, in an older flavor from several years ago, had
a bug where a statement like:

select * into newtable from oldtable

would return the right number of rows, as would

select * from oldtable order by somefield

however,

select * into newtable from oldtable order by somefield

would, under heavy load, return fewer rows than it should. With no error.

Seeing as how the third query is often viewed as a "poor man's cluster"
and wrapped in a begin;end; as well as rename / drop table script, that's
quite dangerous to your data. MS fixed that one pretty quick, even though
they hemmed and hawwed about how it wasn't very common, etc...

I've seen a few other isolated instances of this kind of thing happening
to other people, but seeing as how I use postgresql, I've never seen it
myself. :-)
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
3294
by: Raymond Hettinger | last post by:
Proposal -------- I am gathering data to evaluate a request for an alternate version of itertools.izip() with a None fill-in feature like that for the built-in map() function: >>> map(None, 'abc', '12345') # demonstrate map's None fill-in feature The motivation is to provide a means for looping over all data elements
2
2215
by: TheSteph | last post by:
Using : Windows 2000 Pro SP4 / VS.NET 2005 / .NET 2.0 / C# - All updates done. I have several bugs when I use the DataGridView : When scrolling (or after scrolling) the grid have these problems :
62
5041
by: Tony Ciconte | last post by:
I have a rather complex commercial Acc2003 application (tab controls, 50K+ lines of VBA code, etc.) that will not run well at all on Windows Vista Ultimate. I have seen posts indicating that Acc2003 MDBs should work on Vista. However, our particular file has too many problems to be viable on a Vista platform. Even converting it to an Acc2007 accdb file has no positive effect. I realize that Vista is new and should be avoided like the...
16
1392
by: Cubanan | last post by:
Hi guys, Actualy I'm facing REALY big problem with program for my M.Sc. For three days I'am looking for a bug, but I'm not able to find it. It is realy disaster for me becouse it is one of them which appears only sometime, on some machines and with some parameters making it IMPOSSIBLE to debug. Not goint into details, let's me tell you that I'am making it on my home machine (Gentoo, AMD64) and trying from time to time on remote big gun...
71
3280
by: Jack | last post by:
I understand that the standard Python distribution is considered the C-Python. Howerver, the current C-Python is really a combination of C and Python implementation. There are about 2000 Python files included in the Windows version of Python distribution. I'm not sure how much of the C-Python is implemented in C but I think the more modules implemented in C, the better performance and lower memory footprint it will get. I wonder if it's...
87
5518
by: CJ | last post by:
Hello: We know that C programs are often vulnerable to buffer overflows which overwrite the stack. But my question is: Why does C insist on storing local variables on the stack in the first place? I can see two definite disadvantages with this: 1) deeply nested recursive calls to a function (especially if it defines
7
2617
by: huili80 | last post by:
Should complex<T>::real() and imag() return a value or a refernce? What does the standard say about this? I just realized that MSVC2008's implementation returns a value, but in GCC reference is returned. I tend to believe that MSVC made a big mistake here!!! But unfortunately I must use it at work, which sucks!!!
40
2660
by: Jukka K. Korpela | last post by:
My basic style sheet has a distinctive background and border for forms, to make the structure clearer and to make it visually evident what belongs to a form. However, as people complained that some forms were odd-looking, I noticed that indeed, fairly often the background is not applied and there is empty space inside a form I didn't ask for. This was rather puzzling until I realized that the observed cases seem to result from one...
0
160
by: Jeff Louie | last post by:
Robert.. You can use interfaces or an abstract base class to abstract out the functionality of the plug ins. You then program to the abstraction. In the case of an interface, you program to the public view, the interface. The interface defines a contract between the user of your plug in class and any concrete implementation of the class. The caller programs to the type. The caller does
0
8174
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8624
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7164
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1786
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1485
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.