Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
860d507b
Commit
860d507b
authored
20 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Updates from Ian Barwick.
Update FAQ with new URL's for site.
parent
8a10119b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/FAQ
+1
-1
1 addition, 1 deletion
doc/FAQ
doc/src/FAQ/FAQ.html
+28
-30
28 additions, 30 deletions
doc/src/FAQ/FAQ.html
with
29 additions
and
31 deletions
doc/FAQ
+
1
−
1
View file @
860d507b
Frequently Asked Questions (FAQ) for PostgreSQL
Frequently Asked Questions (FAQ) for PostgreSQL
Last updated: Fri Dec 24 12:1
3
:4
1
EST 2004
Last updated: Fri Dec 24 12:1
8
:4
9
EST 2004
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
...
...
This diff is collapsed.
Click to expand it.
doc/src/FAQ/FAQ.html
+
28
−
30
View file @
860d507b
...
@@ -10,17 +10,19 @@
...
@@ -10,17 +10,19 @@
alink=
"#0000ff"
>
alink=
"#0000ff"
>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<H1>
Frequently Asked Questions (FAQ) for PostgreSQL
</H1>
<P>
Last updated:
Wed
Dec
15 20:06:34
EST 2004
</P>
<P>
Last updated:
Fri
Dec
24 12:18:49
EST 2004
</P>
<P>
Current maintainer: Bruce Momjian (
<A
href=
<P>
Current maintainer: Bruce Momjian (
<A
href=
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
"mailto:pgman@candle.pha.pa.us"
>
pgman@candle.pha.pa.us
</A>
)
<BR>
</P>
</P>
<P>
The most recent version of this document can be viewed at
<A
href=
<P>
The most recent version of this document can be viewed at
<A
href=
"http://www.PostgreSQL.org/docs/faqs/FAQ.html"
>
http://www.PostgreSQL.org/docs/faqs/FAQ.html
</A>
.
</P>
"http://www.postgresql.org/files/documentation/faqs/FAQ.html"
>
http://www.postgresql.org/files/documentation/faqs/FAQ.html
</A>
.
</P>
<P>
Platform-specific questions are answered at
<A
href=
<P>
Platform-specific questions are answered at
<A
href=
"http://www.PostgreSQL.org/docs/index.html"
>
http://www.PostgreSQL.org/docs/index.html
</A>
.
</P>
"http://www.postgresql.org/docs/faq/"
>
http://www.postgresql.org/docs/faq/
</A>
.
</P>
<HR>
<HR>
<H2
align=
"center"
>
General Questions
</H2>
<H2
align=
"center"
>
General Questions
</H2>
...
@@ -177,7 +179,8 @@
...
@@ -177,7 +179,8 @@
responsible for all development of PostgreSQL. It is a community
responsible for all development of PostgreSQL. It is a community
project and is not controlled by any company. To get involved, see
project and is not controlled by any company. To get involved, see
the developer's FAQ at
<A
href=
the developer's FAQ at
<A
href=
"http://www.PostgreSQL.org/docs/faqs/FAQ_DEV.html"
>
http://www.PostgreSQL.org/docs/faqs/FAQ_DEV.html
</A>
"http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html"
>
http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html
</A>
</P>
</P>
<P>
The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen.
<P>
The authors of PostgreSQL 1.01 were Andrew Yu and Jolly Chen.
...
@@ -339,8 +342,9 @@
...
@@ -339,8 +342,9 @@
href=
href=
"http://techdocs.PostgreSQL.org/"
>
http://techdocs.PostgreSQL.org/
</A>
.
</P>
"http://techdocs.PostgreSQL.org/"
>
http://techdocs.PostgreSQL.org/
</A>
.
</P>
<P><I>
psql
</I>
has some nice \d commands to show information about
<P>
The command line client program
<I>
psql
</I>
has some \d commands to show
types, operators, functions, aggregates, etc.
</P>
information about types, operators, functions, aggregates, etc. - use \? to
display the available commands.
</P>
<P>
Our web site contains even more documentation.
</P>
<P>
Our web site contains even more documentation.
</P>
...
@@ -398,8 +402,8 @@
...
@@ -398,8 +402,8 @@
<H4><A
name=
"1.13"
>
1.13
</A>
) How do I submit a bug report?
</H4>
<H4><A
name=
"1.13"
>
1.13
</A>
) How do I submit a bug report?
</H4>
<P>
Visit the PostgreSQL bug form at
<A
href=
<P>
Visit the PostgreSQL bug form at
<A
href=
"http://www.postgresql.org/
bugform.html
"
>
"http://www.postgresql.org/
support/submitbug
"
>
http://www.postgresql.org/
bugform.html
</A>
.
</P>
http://www.postgresql.org/
support/submitbug
</A>
.
</P>
<P>
Also check out our ftp site
<A
href=
<P>
Also check out our ftp site
<A
href=
"ftp://ftp.PostgreSQL.org/pub"
>
ftp://ftp.PostgreSQL.org/pub
</A>
to
"ftp://ftp.PostgreSQL.org/pub"
>
ftp://ftp.PostgreSQL.org/pub
</A>
to
...
@@ -425,21 +429,15 @@
...
@@ -425,21 +429,15 @@
<DT><B>
Performance
</B></DT>
<DT><B>
Performance
</B></DT>
<DD>
PostgreSQL
ha
s performance
similar
to other commercial and
<DD>
PostgreSQL
'
s performance
is comparable
to other commercial and
open source databases.
i
t is faster for some things, slower for
open source databases.
I
t is faster for some things, slower for
others. In comparison to MySQL or leaner database systems, we are
others. In comparison to MySQL or leaner database systems, we are
faster for multiple users, complex queries, and a read/write query
faster for multiple users, complex queries, and a read/write query
load. MySQL is faster for simple SELECT queries done by a few users.
load. MySQL is faster for simple SELECT queries done by a few users.
Of course, MySQL does not have most of the features mentioned in the
Of course, MySQL does not have most of the features mentioned in the
<I>
Features
</I>
section above. We are built for reliability and
<I>
Features
</I>
section above. We are built for reliability and
features, and we continue to improve performance in every
features, and we continue to improve performance in every
release. There is an interesting Web page comparing PostgreSQL to
release.
<BR>
MySQL at
<A
href=
"http://openacs.org/philosophy/why-not-mysql.html"
>
http://openacs.org/philosophy/why-not-mysql.html
</A>
Also, MySQL is
is a company that distributes its products via open source, and requires
a commercial license for close-source software, not an
open source development community like PostgreSQL.
<BR>
<BR>
<BR>
</DD>
</DD>
...
@@ -498,12 +496,12 @@
...
@@ -498,12 +496,12 @@
"contributions" item is solely to support the PostgreSQL project
"contributions" item is solely to support the PostgreSQL project
and does not fund any specific company. If you prefer, you can also
and does not fund any specific company. If you prefer, you can also
send a check to the contact address.
</P>
send a check to the contact address.
</P>
<HR>
<P>
Also, if you have a success story about PostgreSQL, please
submit
<P>
Also, if you have a success story about PostgreSQL, please
email
it to our advocacy
site
at
<a
href=
"
http://
advocacy
.
postgresql.org"
>
it to our advocacy
list
at
<a
href=
"
mailto:pgsql-
advocacy
@
postgresql.org"
>
http://
advocacy
.
postgresql.org
</a>
.
</P>
pgsql-
advocacy
@
postgresql.org
</a>
.
</P>
<HR>
<H2
align=
"center"
>
User Client Questions
</H2>
<H2
align=
"center"
>
User Client Questions
</H2>
...
@@ -544,7 +542,7 @@
...
@@ -544,7 +542,7 @@
<P>
Yes, there are several graphical interfaces to PostgreSQL available.
<P>
Yes, there are several graphical interfaces to PostgreSQL available.
These include PgAccess
<a
href=
"http://www.pgaccess.org"
>
These include PgAccess
<a
href=
"http://www.pgaccess.org"
>
http://www.pgaccess.org
</a>
),
P
gAdmin III (
<a
http://www.pgaccess.org
</a>
),
p
gAdmin III (
<a
href=
"http://www.pgadmin.org"
>
http://www.pgadmin.org
</a>
, RHDB Admin (
<a
href=
"http://www.pgadmin.org"
>
http://www.pgadmin.org
</a>
, RHDB Admin (
<a
href=
"http://sources.redhat.com/rhdb/"
>
http://sources.redhat.com/rhdb/
href=
"http://sources.redhat.com/rhdb/"
>
http://sources.redhat.com/rhdb/
</a>
), TORA (
<a
href=
"http://www.globecom.net/tora/"
>
http://www.globecom.net/tora/
</a>
), TORA (
<a
href=
"http://www.globecom.net/tora/"
>
http://www.globecom.net/tora/
...
@@ -674,9 +672,9 @@
...
@@ -674,9 +672,9 @@
kernel's limit on shared memory space. Each buffer is 8K and the
kernel's limit on shared memory space. Each buffer is 8K and the
default is 1000 buffers.
</P>
default is 1000 buffers.
</P>
<P>
You can also use the
<I>
sort_mem
</I>
and
<I>
work_mem
</I>
options
<P>
You can also use the
<I>
sort_mem
</I>
(from PostgreSQL 8.0:
<I>
work_mem
</I>
)
to increase the maximum amount of memory used by the backend
processes
options
to increase the maximum amount of memory used by the backend
for each temporary sort. The default is 1024 (i.e. 1MB).
</P>
processes
for each temporary sort. The default is 1024 (i.e. 1MB).
</P>
<P>
You can also use the
<SMALL>
CLUSTER
</SMALL>
command to group
<P>
You can also use the
<SMALL>
CLUSTER
</SMALL>
command to group
data in tables to match an index. See the
<SMALL>
CLUSTER
</SMALL>
data in tables to match an index. See the
<SMALL>
CLUSTER
</SMALL>
...
@@ -1170,14 +1168,14 @@ BYTEA bytea variable-length byte array (null-byte safe)
...
@@ -1170,14 +1168,14 @@ BYTEA bytea variable-length byte array (null-byte safe)
execute("INSERT INTO person (name) VALUES ('Blaise Pascal')");
execute("INSERT INTO person (name) VALUES ('Blaise Pascal')");
new_id = execute("SELECT currval('person_id_seq')");
new_id = execute("SELECT currval('person_id_seq')");
</PRE>
</PRE>
Finally, you could use the
<A
href=
"#4.16"
><SMALL>
OID
</SMALL></A>
<P>
Finally, you could use the
<A
href=
"#4.16"
><SMALL>
OID
</SMALL></A>
returned from the
<SMALL>
INSERT
</SMALL>
statement to look up the
returned from the
<SMALL>
INSERT
</SMALL>
statement to look up the
default value, though this is probably the least portable approach,
default value, though this is probably the least portable approach,
and the oid value will wrap around when it reaches 4 billion.
and the oid value will wrap around when it reaches 4 billion.
In Perl, using DBI with
Edmund Mergl's
DBD::Pg module, the oid
In Perl, using DBI with
the
DBD::Pg module, the oid
value is made
value is made
available via
<I>
$sth-
>
{pg_oid_status}
</I>
after
available via
<I>
$sth-
>
{pg_oid_status}
</I>
after
<I>
$sth-
>
execute()
</I>
.
<I>
$sth-
>
execute()
</I>
.
</P>
<H4><A
name=
"4.15.3"
>
4.15.3
</A>
) Doesn't
<I>
currval()
</I>
<H4><A
name=
"4.15.3"
>
4.15.3
</A>
) Doesn't
<I>
currval()
</I>
lead to a race condition with other users?
</H4>
lead to a race condition with other users?
</H4>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment