Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
659df79e
Commit
659df79e
authored
Nov 03, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update FAQ_DEV.
parent
24135fbf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
9 deletions
+49
-9
doc/FAQ_DEV
doc/FAQ_DEV
+23
-4
doc/src/FAQ/FAQ_DEV.html
doc/src/FAQ/FAQ_DEV.html
+26
-5
No files found.
doc/FAQ_DEV
View file @
659df79e
Developer's Frequently Asked Questions (FAQ) for PostgreSQL
Last updated:
Tue Aug 13 16:41:02 ED
T 2002
Last updated:
Sat Nov 2 23:02:16 ES
T 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:
...
...
doc/src/FAQ/FAQ_DEV.html
View file @
659df79e
...
...
@@ -12,7 +12,7 @@
<H1>
Developer's Frequently Asked Questions (FAQ) for
PostgreSQL
</H1>
<P>
Last updated:
Tue Aug 13 16:41:02 ED
T 2002
</P>
<P>
Last updated:
Sat Nov 2 23:02:16 ES
T 2002
</P>
<P>
Current maintainer: Bruce Momjian (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
...
...
@@ -39,7 +39,9 @@
<A
href=
"#1.6"
>
1.6
</A>
) What books are good for developers?
<BR>
<A
href=
"#1.7"
>
1.7
</A>
) What is configure all about?
<BR>
<A
href=
"#1.8"
>
1.8
</A>
) How do I add a new port?
<BR>
<A
href=
"#1.9"
>
1.9
</A>
) Why don't we use threads in the backend?
<BR>
<A
href=
"#1.9"
>
1.9
</A>
) Why don't you use threads/raw
devices/async-I/O,
&
insert your favorite wizz-bang feature
here
&
?
<BR>
<A
href=
"#1.10"
>
1.10
</A>
) How are RPM's packaged?
<BR>
<A
href=
"#1.11"
>
1.11
</A>
) How are CVS branches handled?
<BR>
<A
href=
"#1.12"
>
1.12
</A>
) Where can I get a copy of the SQL
...
...
@@ -381,10 +383,24 @@
handling. There is a
<I>
backend/port
</I>
directory if you need
special files for your OS.
</P>
<H3><A
name=
"1.9"
>
1.9
</A>
) Why don't we use threads in the
backend?
</H3>
<H3><A
name=
"1.9"
>
1.9
</A>
) Why don't you use threads/raw
devices/async-I/O,
&
insert your favorite wizz-bang feature
here
&
?
</H3>
<P>
There are several reasons threads are not used:
</P>
<P>
There is always a temptation to use the newest operating system
features as soon as they arrive. We resist that temptation.
</P>
<P>
First, we support 15+ operating systems, so any new feature has
to be well established before we will consider it. Second, most new
<I>
wizz-bang
</I>
features don't provide
<I>
dramatic
</I>
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.
</P>
<P>
As an example, threads are not currently used in the backend code
because:
</P>
<UL>
<LI>
Historically, threads were unsupported and buggy.
</LI>
...
...
@@ -397,6 +413,11 @@
<LI>
The backend code would be more complex.
</LI>
</UL>
<P>
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.
</P>
<H3><A
name=
"1.10"
>
1.10
</A>
) How are RPM's packaged?
</H3>
<P>
This was written by Lamar Owen:
</P>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment