From 94fe9c0f4e1672ccd830cb0aa7fd5ccce97d14ae Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 12 Mar 2011 09:38:56 -0500 Subject: [PATCH] Use "backend process" rather than "backend server", where appropriate. --- doc/src/sgml/libpq.sgml | 2 +- doc/src/sgml/problems.sgml | 6 +++--- doc/src/sgml/query.sgml | 4 ++-- doc/src/sgml/ref/pg_ctl-ref.sgml | 2 +- src/backend/libpq/pqsignal.c | 2 +- src/backend/main/main.c | 2 +- src/test/examples/testlibpq4.c | 6 +++--- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 195d83ba68..eddc65e3b4 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1612,7 +1612,7 @@ int PQsocket(const PGconn *conn); Returns the process ID (PID)PIDdetermining PID of - server processin libpq of the backend server + server processin libpq of the backend process handling this connection. diff --git a/doc/src/sgml/problems.sgml b/doc/src/sgml/problems.sgml index a65baa3157..3f79c6ef90 100644 --- a/doc/src/sgml/problems.sgml +++ b/doc/src/sgml/problems.sgml @@ -78,7 +78,7 @@ - Here program refers to any executable, not only the backend server. + Here program refers to any executable, not only the backend process. @@ -280,9 +280,9 @@ When writing a bug report, please avoid confusing terminology. The software package in total is called PostgreSQL, sometimes Postgres for short. If you - are specifically talking about the backend server, mention that, do not + are specifically talking about the backend process, mention that, do not just say PostgreSQL crashes. A crash of a single - backend server process is quite different from crash of the parent + 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 diff --git a/doc/src/sgml/query.sgml b/doc/src/sgml/query.sgml index 681d08abed..f4fbf11a8d 100644 --- a/doc/src/sgml/query.sgml +++ b/doc/src/sgml/query.sgml @@ -264,8 +264,8 @@ INSERT INTO weather (date, city, temp_hi, temp_lo) COPY weather FROM '/home/user/weather.txt'; - where the file name for the source file must be available to the - backend server machine, not the client, since the backend server + where the file name for the source file must be available on the + machine running the backend process, not the client, since the backend process reads the file directly. You can read more about the COPY command in . diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 608749f4c6..626ed1f8eb 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -134,7 +134,7 @@ PostgreSQL documentation pg_ctl is a utility for initializing a PostgreSQL database cluster, starting, stopping, or restarting the PostgreSQL - backend server (), or displaying the + database server (), or displaying the status of a running server. Although the server can be started manually, pg_ctl encapsulates tasks such as redirecting log output and properly detaching from the terminal diff --git a/src/backend/libpq/pqsignal.c b/src/backend/libpq/pqsignal.c index 31e37e9a2b..0fee280ae3 100644 --- a/src/backend/libpq/pqsignal.c +++ b/src/backend/libpq/pqsignal.c @@ -22,7 +22,7 @@ * how to handle signalling. * * signal(2) handling - this is here because it affects some of - * the frontend commands as well as the backend server. + * the frontend commands as well as the backend processes. * * Ultrix and SunOS provide BSD signal(2) semantics by default. * diff --git a/src/backend/main/main.c b/src/backend/main/main.c index 5d077888c9..43d182b4db 100644 --- a/src/backend/main/main.c +++ b/src/backend/main/main.c @@ -310,7 +310,7 @@ help(const char *progname) printf(_(" -O allow system table structure changes\n")); printf(_(" -P disable system indexes\n")); printf(_(" -t pa|pl|ex show timings after each query\n")); - printf(_(" -T send SIGSTOP to all backend servers if one dies\n")); + printf(_(" -T send SIGSTOP to all backend processes if one dies\n")); printf(_(" -W NUM wait NUM seconds to allow attach from a debugger\n")); printf(_("\nOptions for single-user mode:\n")); diff --git a/src/test/examples/testlibpq4.c b/src/test/examples/testlibpq4.c index dafc6aecb1..0ec04313c0 100644 --- a/src/test/examples/testlibpq4.c +++ b/src/test/examples/testlibpq4.c @@ -72,11 +72,11 @@ main(int argc, char **argv) * defaults by looking up environment variables or, failing that, using * hardwired constants */ - pghost = NULL; /* host name of the backend server */ - pgport = NULL; /* port of the backend server */ + pghost = NULL; /* host name of the backend */ + pgport = NULL; /* port of the backend */ pgoptions = NULL; /* special options to start up the backend * server */ - pgtty = NULL; /* debugging tty for the backend server */ + pgtty = NULL; /* debugging tty for the backend */ /* make a connection to the database */ conn1 = PQsetdb(pghost, pgport, pgoptions, pgtty, dbName1); -- 2.11.0