|
|
@ -32,7 +32,7 @@ |
|
|
|
User Client Questions |
|
|
|
User Client Questions |
|
|
|
|
|
|
|
|
|
|
|
2.1) Are there ODBC drivers for PostgreSQL? |
|
|
|
2.1) Are there ODBC drivers for PostgreSQL? |
|
|
|
2.2) What tools are available for hooking PostgreSQL to Web pages? |
|
|
|
2.2) What tools are available for use PostgreSQL with Web pages? |
|
|
|
2.3) Does PostgreSQL have a graphical user interface? A report |
|
|
|
2.3) Does PostgreSQL have a graphical user interface? A report |
|
|
|
generator? An embedded query language interface? |
|
|
|
generator? An embedded query language interface? |
|
|
|
2.4) What languages are available to communicate with PostgreSQL? |
|
|
|
2.4) What languages are available to communicate with PostgreSQL? |
|
|
@ -50,11 +50,10 @@ |
|
|
|
3.5) How do I prevent other hosts from accessing my PostgreSQL |
|
|
|
3.5) How do I prevent other hosts from accessing my PostgreSQL |
|
|
|
database? |
|
|
|
database? |
|
|
|
3.6) Why can't I connect to my database from another machine? |
|
|
|
3.6) Why can't I connect to my database from another machine? |
|
|
|
3.7) All my servers crash under concurrent table access. Why? |
|
|
|
3.7) How do I tune the database engine for better performance? |
|
|
|
3.8) How do I tune the database engine for better performance? |
|
|
|
3.8) What debugging features are available? |
|
|
|
3.9) What debugging features are available? |
|
|
|
3.9) I get "Sorry, too many clients" when trying to connect. Why? |
|
|
|
3.10) I get "Sorry, too many clients" when trying to connect. Why? |
|
|
|
3.10) What are the pg_sorttempNNN.NN files in my database directory? |
|
|
|
3.11) What are the pg_sorttempNNN.NN files in my database directory? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Operational Questions |
|
|
|
Operational Questions |
|
|
|
|
|
|
|
|
|
|
@ -197,9 +196,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
1.6) Where can I get support? |
|
|
|
1.6) Where can I get support? |
|
|
|
|
|
|
|
|
|
|
|
There is no support for PostgreSQL from the University of California, |
|
|
|
|
|
|
|
Berkeley. It is maintained through volunteer effort. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The main mailing list is: pgsql-general@PostgreSQL.org. It is |
|
|
|
The main mailing list is: pgsql-general@PostgreSQL.org. It is |
|
|
|
available for discussion of matters pertaining to PostgreSQL. To |
|
|
|
available for discussion of matters pertaining to PostgreSQL. To |
|
|
|
subscribe, send mail with the following lines in the body (not the |
|
|
|
subscribe, send mail with the following lines in the body (not the |
|
|
@ -236,7 +232,7 @@ |
|
|
|
There is also an IRC channel on EFNet, channel #PostgreSQL. I use the |
|
|
|
There is also an IRC channel on EFNet, channel #PostgreSQL. I use the |
|
|
|
unix command irc -c '#PostgreSQL' "$USER" irc.phoenix.net. |
|
|
|
unix command irc -c '#PostgreSQL' "$USER" irc.phoenix.net. |
|
|
|
|
|
|
|
|
|
|
|
A list of commercial PostgreSQL support is available at |
|
|
|
A list of commercial support companies is available at |
|
|
|
http://www.postgresql.org/users-lounge/commercial-support.html. |
|
|
|
http://www.postgresql.org/users-lounge/commercial-support.html. |
|
|
|
|
|
|
|
|
|
|
|
1.7) What is the latest release? |
|
|
|
1.7) What is the latest release? |
|
|
@ -385,7 +381,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
See also the ODBC chapter of the Programmer's Guide. |
|
|
|
See also the ODBC chapter of the Programmer's Guide. |
|
|
|
|
|
|
|
|
|
|
|
2.2) What tools are available for hooking PostgreSQL to Web pages? |
|
|
|
2.2) What tools are available for using PostgreSQL with Web pages? |
|
|
|
|
|
|
|
|
|
|
|
A nice introduction to Database-backed Web pages can be seen at: |
|
|
|
A nice introduction to Database-backed Web pages can be seen at: |
|
|
|
http://www.webtools.com |
|
|
|
http://www.webtools.com |
|
|
@ -469,6 +465,9 @@ |
|
|
|
authentication by modifying the file $PGDATA/pg_hba.conf accordingly. |
|
|
|
authentication by modifying the file $PGDATA/pg_hba.conf accordingly. |
|
|
|
This will allow TCP/IP connections. |
|
|
|
This will allow TCP/IP connections. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inoperative semaphores can also cause crashes during heavy database |
|
|
|
|
|
|
|
access. |
|
|
|
|
|
|
|
|
|
|
|
3.6) Why can't I connect to my database from another machine? |
|
|
|
3.6) Why can't I connect to my database from another machine? |
|
|
|
|
|
|
|
|
|
|
|
The default configuration allows only unix domain socket connections |
|
|
|
The default configuration allows only unix domain socket connections |
|
|
@ -476,12 +475,7 @@ |
|
|
|
postmaster has been started with the -i option, and add an appropriate |
|
|
|
postmaster has been started with the -i option, and add an appropriate |
|
|
|
host entry to the file pgsql/data/pg_hba.conf. |
|
|
|
host entry to the file pgsql/data/pg_hba.conf. |
|
|
|
|
|
|
|
|
|
|
|
3.7) All my servers crash under concurrent table access. Why? |
|
|
|
3.7) How do I tune the database engine for better performance? |
|
|
|
|
|
|
|
|
|
|
|
This problem can be caused by a kernel that is not configured to |
|
|
|
|
|
|
|
support semaphores. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.8) How do I tune the database engine for better performance? |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Certainly, indices can speed up queries. The EXPLAIN command allows |
|
|
|
Certainly, indices can speed up queries. The EXPLAIN command allows |
|
|
|
you to see how PostgreSQL is interpreting your query, and which |
|
|
|
you to see how PostgreSQL is interpreting your query, and which |
|
|
@ -512,7 +506,7 @@ |
|
|
|
You can also use the CLUSTER command to group data in tables to match |
|
|
|
You can also use the CLUSTER command to group data in tables to match |
|
|
|
an index. See the CLUSTER manual page for more details. |
|
|
|
an index. See the CLUSTER manual page for more details. |
|
|
|
|
|
|
|
|
|
|
|
3.9) What debugging features are available? |
|
|
|
3.8) What debugging features are available? |
|
|
|
|
|
|
|
|
|
|
|
PostgreSQL has several features that report status information that |
|
|
|
PostgreSQL has several features that report status information that |
|
|
|
can be valuable for debugging purposes. |
|
|
|
can be valuable for debugging purposes. |
|
|
@ -559,7 +553,7 @@ |
|
|
|
pgsql/data/base/dbname directory. The client profile file will be put |
|
|
|
pgsql/data/base/dbname directory. The client profile file will be put |
|
|
|
in the client's current directory. |
|
|
|
in the client's current directory. |
|
|
|
|
|
|
|
|
|
|
|
3.10) I get 'Sorry, too many clients' when trying to connect. Why? |
|
|
|
3.9) I get 'Sorry, too many clients' when trying to connect. Why? |
|
|
|
|
|
|
|
|
|
|
|
You need to increase the postmaster's limit on how many concurrent |
|
|
|
You need to increase the postmaster's limit on how many concurrent |
|
|
|
backend processes it can start. |
|
|
|
backend processes it can start. |
|
|
@ -587,7 +581,7 @@ |
|
|
|
was 64, and changing it required a rebuild after altering the |
|
|
|
was 64, and changing it required a rebuild after altering the |
|
|
|
MaxBackendId constant in include/storage/sinvaladt.h. |
|
|
|
MaxBackendId constant in include/storage/sinvaladt.h. |
|
|
|
|
|
|
|
|
|
|
|
3.11) What are the pg_sorttempNNN.NN files in my database directory? |
|
|
|
3.10) What are the pg_sorttempNNN.NN files in my database directory? |
|
|
|
|
|
|
|
|
|
|
|
They are temporary files generated by the query executor. For example, |
|
|
|
They are temporary files generated by the query executor. For example, |
|
|
|
if a sort needs to be done to satisfy an ORDER BY, and the sort |
|
|
|
if a sort needs to be done to satisfy an ORDER BY, and the sort |
|
|
|