6. Bug Reporting Guidelines
When you find a bug inPostgres Pro we want to hear about it. Your bug reports play an important part in makingPostgres Pro more reliable because even the utmost care cannot guarantee that every part ofPostgres Pro will work on every platform under every circumstance.
The following suggestions are intended to assist you in forming bug reports that can be handled in an effective fashion. No one is required to follow them but doing so tends to be to everyone's advantage.
We cannot promise to fix every bug right away. If the bug is obvious, critical, or affects a lot of users, chances are good that someone will look into it. It could also happen that we tell you to update to a newer version to see if the bug happens there. Or we might decide that the bug cannot be fixed before some major rewrite we might be planning is done. Or perhaps it is simply too hard and there are more important things on the agenda. If you need help immediately, consider obtaining a commercial support contract.
6.1. Identifying Bugs
Before you report a bug, please read and re-read the documentation to verify that you can really do whatever it is you are trying. If it is not clear from the documentation whether you can do something or not, please report that too; it is a bug in the documentation. If it turns out that a program does something different from what the documentation says, that is a bug. That might include, but is not limited to, the following circumstances:
A program terminates with a fatal signal or an operating system error message that would point to a problem in the program. (A counterexample might be a“disk full” message, since you have to fix that yourself.)
A program produces the wrong output for any given input.
A program refuses to accept valid input (as defined in the documentation).
A program accepts invalid input without a notice or error message. But keep in mind that your idea of invalid input might be our idea of an extension or compatibility with traditional practice.
Postgres Pro fails to compile, build, or install according to the instructions on supported platforms.
Here“program” refers to any executable, not only the backend process.
Being slow or resource-hogging is not necessarily a bug. Read the documentation or ask on one of the mailing lists for help in tuning your applications. Failing to comply to theSQL standard is not necessarily a bug either, unless compliance for the specific feature is explicitly claimed.
The following items should be contained in every bug report:
Note
If you are reporting an error message, please obtain the most verbose form of the message. Inpsql, say
\set VERBOSITY verbose
beforehand. If you are extracting the message from the server log, set the run-time parameterlog_error_verbosity toverbose
so that all details are logged.Note
In case of fatal errors, the error message reported by the client might not contain all the information available. Please also look at the log output of the database server. If you do not keep your server's log output, this would be a good time to start doing so.
The output you expected is very important to state. If you just write“This command gives me that output.” or“This is not what I expected.”, we might run it ourselves, scan the output, and think it looks OK and is exactly what we expected. We should not have to spend the time to decode the exact semantics behind your commands. Especially refrain from merely saying that“This is not what SQL says/Oracle does.” Digging out the correct behavior fromSQL is not a fun undertaking, nor do we all know how all the other relational databases out there behave. (If your problem is a program crash, you can obviously omit this item.)
Anything you did at all differently from the installation instructions.
Do not be afraid if your bug report becomes rather lengthy. That is a fact of life. It is better to report everything the first time than us having to squeeze the facts out of you. On the other hand, if your input files are huge, it is fair to ask first whether somebody is interested in looking into it. Here is anarticle that outlines some more tips on reporting bugs.
Do not spend all your time to figure out which changes in the input make the problem go away. This will probably not help solving it. If it turns out that the bug cannot be fixed right away, you will still have time to find and share your work-around. Also, once again, do not waste your time guessing why the bug exists. We will find that out soon enough.
When writing a bug report, please avoid confusing terminology. The software package in total is called“Postgres Pro”, sometimes“Postgres” for short. If you are specifically talking about the backend process, mention that, do not just say“Postgres Pro crashes”. A crash of a single backend process is quite different from crash of the parent“postgres” process; please don't say“the server crashed” when you mean a single backend process went down, nor vice versa. Also, client programs such as the interactive frontend“psql” are completely separate from the backend. Please try to be specific about whether the problem is on the client or server side.
6.3. Where to Report Bugs
In general, send bug reports to our support email address at<bugs@postgrespro.ru>
. You are requested to use a descriptive subject for your email message, perhaps parts of the error message.
Do not send bug reports specific toPostgres Pro to thePostgreSQL support email address, asPostgres Pro is not supported by thePostgreSQL community. But you can send reports to<psql-bugs@lists.postgresql.org>
for any bugs related toPostgreSQL.
Even if your bug is not specific toPostgres Pro, do not send bug reports to any of the user mailing lists, such as<pgsql-sql@lists.postgresql.org>
or<pgsql-general@lists.postgresql.org>
. These mailing lists are for answering user questions, and their subscribers normally do not wish to receive bug reports. More importantly, they are unlikely to fix them.
Also, please donot send reports to the developers' mailing list<pgsql-hackers@lists.postgresql.org>
. This list is for discussing the development ofPostgreSQL, and it would be nice if the community could keep the bug reports separate. The community might choose to take up a discussion about your bug report onpgsql-hackers
, if thePostgreSQL-related problem needs more review.