aboutsummaryrefslogtreecommitdiff
path: root/doc/FAQ_DEV
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-11-03 04:02:32 +0000
committerBruce Momjian <bruce@momjian.us>2002-11-03 04:02:32 +0000
commit659df79e45471025ff4052eaab3cb693fbfc694b (patch)
tree515779cf57c70f1752f71295e399f3d242e6ba9b /doc/FAQ_DEV
parent24135fbf09cd63067bdd897f168e1783257ad536 (diff)
downloadpostgresql-659df79e45471025ff4052eaab3cb693fbfc694b.tar.gz
postgresql-659df79e45471025ff4052eaab3cb693fbfc694b.zip
Update FAQ_DEV.
Diffstat (limited to 'doc/FAQ_DEV')
-rw-r--r--doc/FAQ_DEV27
1 files changed, 23 insertions, 4 deletions
diff --git a/doc/FAQ_DEV b/doc/FAQ_DEV
index 948132f539b..7ab83083208 100644
--- a/doc/FAQ_DEV
+++ b/doc/FAQ_DEV
@@ -1,7 +1,7 @@
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
- Last updated: Tue Aug 13 16:41:02 EDT 2002
+ Last updated: Sat Nov 2 23:02:16 EST 2002
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
@@ -19,7 +19,8 @@
1.6) What books are good for developers?
1.7) What is configure all about?
1.8) How do I add a new port?
- 1.9) Why don't we use threads in the backend?
+ 1.9) Why don't you use threads/raw devices/async-I/O, &insert your
+ favorite wizz-bang feature here&?
1.10) How are RPM's packaged?
1.11) How are CVS branches handled?
1.12) Where can I get a copy of the SQL standards?
@@ -316,15 +317,33 @@
src/makefiles directory for port-specific Makefile handling. There is
a backend/port directory if you need special files for your OS.
- 1.9) Why don't we use threads in the backend?
+ 1.9) Why don't you use threads/raw devices/async-I/O, &insert your favorite
+ wizz-bang feature here&?
- There are several reasons threads are not used:
+ There is always a temptation to use the newest operating system
+ features as soon as they arrive. We resist that temptation.
+
+ First, we support 15+ operating systems, so any new feature has to be
+ well established before we will consider it. Second, most new
+ wizz-bang features don't provide dramatic improvements. Third, the
+ usually have some downside, such as decreased reliability or
+ additional code required. Therefore, we don't rush to use new features
+ but rather wait for the feature to be established, then ask for
+ testing to show that a measurable improvement is possible.
+
+ As an example, threads are not currently used in the backend code
+ because:
* Historically, threads were unsupported and buggy.
* An error in one backend can corrupt other backends.
* Speed improvements using threads are small compared to the
remaining backend startup time.
* The backend code would be more complex.
+ So, we are not "asleep at the switch" as they say with regard to new
+ features, it is just that we are cautious about their adoption. The
+ TODO list often contains links to discussions showing our reasoning in
+ these areas.
+
1.10) How are RPM's packaged?
This was written by Lamar Owen: