Index: doc/src/sgml/ref/copy.sgml =================================================================== RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/ref/copy.sgml,v retrieving revision 1.34 diff -c -r1.34 copy.sgml *** doc/src/sgml/ref/copy.sgml 30 Jul 2002 16:55:05 -0000 1.34 --- doc/src/sgml/ref/copy.sgml 1 Aug 2002 21:30:14 -0000 *************** *** 59,65 **** ! column list An optional list of columns to be copied. If no column list is --- 59,65 ---- ! column An optional list of columns to be copied. If no column list is *************** *** 101,107 **** Changes the behavior of field formatting, forcing all data to be stored or read in binary format rather than as text. You can not ! specify DELIMITER or NULL in binary mode. --- 101,108 ---- Changes the behavior of field formatting, forcing all data to be stored or read in binary format rather than as text. You can not ! specify , , or ! a column list in binary mode. *************** *** 119,125 **** delimiter ! The character that separates fields within each row (line) of the file. --- 120,126 ---- delimiter ! The single character that separates fields within each row (line) of the file. *************** *** 191,199 **** COPY moves data between PostgreSQL tables and standard file-system ! files. ! ! COPY TO copies the entire contents of a table to a file, while COPY FROM copies data from a file to a table (appending the data to whatever is in the table already). --- 192,198 ---- COPY moves data between PostgreSQL tables and standard file-system ! files. COPY TO copies the contents of a table to a file, while COPY FROM copies data from a file to a table (appending the data to whatever is in the table already). *************** *** 202,210 **** If a list of columns is specified, COPY will only copy the data in the specified columns to or from the table. ! If there are any columns in the table that are not in the table, COPY FROM will insert the default value for ! that column. --- 201,209 ---- If a list of columns is specified, COPY will only copy the data in the specified columns to or from the table. ! If there are any columns in the table that are not in the column list, COPY FROM will insert the default value for ! those columns. *************** *** 251,258 **** By default, a text copy uses a tab ("\t") character as a delimiter between fields. The field delimiter may be changed to any other ! single character with the keyword DELIMITER. Characters in data ! fields that happen to match the delimiter character will be backslash quoted. --- 250,257 ---- By default, a text copy uses a tab ("\t") character as a delimiter between fields. The field delimiter may be changed to any other ! single character with the keyword . Characters ! in data fields that happen to match the delimiter character will be backslash quoted. *************** *** 640,654 **** Usage ! The following example copies a table to standard output, ! using a vertical bar (|) as the field ! delimiter: COPY country TO stdout WITH DELIMITER '|'; ! To copy data from a Unix file into a table country: COPY country FROM '/usr1/proj/bray/sql/country_data'; --- 639,652 ---- Usage ! The following example copies a table to standard output, ! using a vertical bar (|) as the field delimiter: COPY country TO stdout WITH DELIMITER '|'; ! To copy data from a Unix file into the country table: COPY country FROM '/usr1/proj/bray/sql/country_data'; Index: doc/src/sgml/ref/set.sgml =================================================================== RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/ref/set.sgml,v retrieving revision 1.62 diff -c -r1.62 set.sgml *** doc/src/sgml/ref/set.sgml 11 Jun 2002 15:41:30 -0000 1.62 --- doc/src/sgml/ref/set.sgml 1 Aug 2002 21:30:14 -0000 *************** *** 404,410 **** ! ERROR: not a valid option name: name The parameter you tried to set does not exist. --- 404,411 ---- ! ERROR: 'name is not a ! valid option name The parameter you tried to set does not exist. *************** *** 413,419 **** ! ERROR: permission denied You must be a superuser to alter certain settings. --- 414,421 ---- ! ERROR: 'name': ! permission denied You must be a superuser to alter certain settings. *************** *** 422,428 **** ! ERROR: name can only be set at start-up Some parameters are fixed once the server is started. --- 424,431 ---- ! ERROR: 'name' cannot ! be changed after server start Some parameters are fixed once the server is started. Index: doc/src/sgml/ref/show.sgml =================================================================== RCS file: /var/lib/cvs/pgsql-server/doc/src/sgml/ref/show.sgml,v retrieving revision 1.17 diff -c -r1.17 show.sgml *** doc/src/sgml/ref/show.sgml 17 May 2002 01:19:16 -0000 1.17 --- doc/src/sgml/ref/show.sgml 1 Aug 2002 21:30:14 -0000 *************** *** 54,60 **** SHOW will display the current setting of a run-time parameter. These variables can be set using the ! SET statement or are determined at session start. --- 54,64 ---- SHOW will display the current setting of a run-time parameter. These variables can be set using the ! SET statement, by editing the ! postgresql.conf, through the ! PGOPTIONS environmental variable, or through a ! command-line flag when starting the ! postmaster. *************** *** 64,73 **** ! ERROR: not a valid option name: name ! Message returned if variable does not stand for an existing parameter. --- 68,78 ---- ! ERROR: Option 'name' ! is not recognized ! Message returned if name does not stand for an existing parameter. *************** *** 80,98 **** Examples Show the current DateStyle setting: ! ! SHOW DateStyle; ! INFO: DateStyle is ISO with US (NonEuropean) conventions ! Show the current genetic optimizer (geqo) setting: ! SHOW GEQO; ! INFO: geqo is on ! --- 85,106 ---- Examples Show the current DateStyle setting: ! SHOW DateStyle; ! DateStyle ! --------------------------------------- ! ISO with US (NonEuropean) conventions ! Show the current genetic optimizer (geqo) setting: ! SHOW GEQO; ! geqo ! ------ ! on ! Index: src/backend/postmaster/pgstat.c =================================================================== RCS file: /var/lib/cvs/pgsql-server/src/backend/postmaster/pgstat.c,v retrieving revision 1.22 diff -c -r1.22 pgstat.c *** src/backend/postmaster/pgstat.c 20 Jul 2002 05:16:58 -0000 1.22 --- src/backend/postmaster/pgstat.c 1 Aug 2002 21:30:14 -0000 *************** *** 382,391 **** if (pgStatSock < 0) return; msg.m_hdr.m_type = PGSTAT_MTYPE_BETERM; - msg.m_hdr.m_backendid = 0; msg.m_hdr.m_procpid = pid; - msg.m_hdr.m_databaseid = 0; pgstat_send(&msg, sizeof(msg)); } --- 382,390 ---- if (pgStatSock < 0) return; + MemSet(&(msg.m_hdr), 0, sizeof(msg.m_hdr)); msg.m_hdr.m_type = PGSTAT_MTYPE_BETERM; msg.m_hdr.m_procpid = pid; pgstat_send(&msg, sizeof(msg)); }