From: Bruce Momjian Date: Sun, 18 Feb 2001 18:34:02 +0000 (+0000) Subject: Add copyright mentions, per Tom Lane. X-Git-Tag: REL7_1~358 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=da84545d616bf2d2162fceeea29c752cf6a4b0b4;p=postgresql Add copyright mentions, per Tom Lane. --- diff --git a/doc/FAQ_BSDI b/doc/FAQ_BSDI deleted file mode 100644 index 030beb6fe8..0000000000 --- a/doc/FAQ_BSDI +++ /dev/null @@ -1,81 +0,0 @@ -This outlines modifications to BSD/OS for running PostgreSQL: - -1) How to increase resource limits -2) How to increase the number of shared memory buffers -3) How to increasing the number of semaphores - -Bruce Momjian (pgman@candle.pha.pa.us) 2000-07-7 - ---------------------------------------------------------------------------- - -1) To increase the amount of malloc'ed memory and files opened by -PostgreSQL, add this: - - :datasize-cur=256M:\ - :openfiles-cur=256: - -to your /etc/login.conf file. - ---------------------------------------------------------------------------- - -2a) By default, only 4MB of shared memory is supported by BSDI. Keep in -mind that shared memory is not pageable. It is locked in RAM. - -The shared memory parameters are: - -#define SHMMAX /* max shared memory segment size (bytes) */ -#define SHMMIN /* min shared memory segment size (bytes) */ -#define SHMMNI /* max number of shared memory identifiers */ -#define SHMSEG /* max shared memory segments per process */ -#define SHMALL /* max amount of shared memory (pages) */ - -To increase the number of buffers supported by the postmaseter, add the -following to your kernel config file. A SHMALL value of 1024 -represents 4MB of shared memory. Increase it accordingly: - -options "SHMALL=4096" -options "SHMMAX=\(SHMALL*PAGE_SIZE\)" - -For those running 4.1 or later, just recompile the kernel and reboot. -For those running earlier releases, see step 2b. - ---------------------------------------------------------------------------- - -2b) For 4.01 and earlier, use bpatch to find the sysptsize value for -the current kernel. This is computed dynamically at bootup. - - $ bpatch -r sysptsize - 0x9 = 9 - -Next, change SYSPTSIZE to a hard-coded value. Use the bpatch value, -plus add 1 for every additional 4MB of shared memory you desire. - -options "SYSPTSIZE=13" - -sysptsize can not be changed by sysctl on the fly. - ---------------------------------------------------------------------------- - -3) How to increasing the number of semaphores. - -You may need to increase the number of sysv semaphores. By default, -PostgreSQL allocates 32 semaphores, one for each backend connection. -This is just over half the default system total of 60. - -The defaults are in /sys/sys/sem.h: - -#define SEMMNI 10 /* # of semaphore identifiers */ - -#define SEMMNS 60 /* # of semaphores in system */ - -#define SEMUME 10 /* max # of undo entries per process */ - -#define SEMMNU 30 /* # of undo structures in system */ - -Set the values you want in your kernel config file, e.g.: - -options "SEMMNI=40" -options "SEMMNS=240" -options "SEMUME=40" -options "SEMMNU=120" - diff --git a/src/bin/Makefile b/src/bin/Makefile index e88dff2ab6..a1d4b1e8fc 100644 --- a/src/bin/Makefile +++ b/src/bin/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin (client programs) # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.33 2000/10/10 22:01:52 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/Makefile,v 1.34 2001/02/18 18:33:59 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/initdb/Makefile b/src/bin/initdb/Makefile index 754d984342..8e1fc19c71 100644 --- a/src/bin/initdb/Makefile +++ b/src/bin/initdb/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin/initdb # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.24 2000/09/17 13:02:31 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Makefile,v 1.25 2001/02/18 18:33:59 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/initdb/initdb.sh b/src/bin/initdb/initdb.sh index b52e655f7f..c526b0b8fe 100644 --- a/src/bin/initdb/initdb.sh +++ b/src/bin/initdb/initdb.sh @@ -20,9 +20,10 @@ # made just by copying the completed template1. # # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.120 2001/01/20 22:09:24 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.121 2001/02/18 18:33:59 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/initlocation/Makefile b/src/bin/initlocation/Makefile index 7c1f3e4930..a7e65eed7f 100644 --- a/src/bin/initlocation/Makefile +++ b/src/bin/initlocation/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin/initlocation # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.12 2000/09/17 13:02:32 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/Makefile,v 1.13 2001/02/18 18:33:59 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/initlocation/initlocation.sh b/src/bin/initlocation/initlocation.sh index 10c802c228..5bd6468c1e 100644 --- a/src/bin/initlocation/initlocation.sh +++ b/src/bin/initlocation/initlocation.sh @@ -4,11 +4,12 @@ # initlocation.sh-- # Create a secondary PostgreSQL database storage area. # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/initlocation.sh,v 1.10 2000/11/25 19:05:43 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/initlocation/Attic/initlocation.sh,v 1.11 2001/02/18 18:33:59 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/ipcclean/Makefile b/src/bin/ipcclean/Makefile index 043f9cc855..de7bcfe0ed 100644 --- a/src/bin/ipcclean/Makefile +++ b/src/bin/ipcclean/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin/ipcclean # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.14 2000/09/17 13:02:33 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/ipcclean/Attic/Makefile,v 1.15 2001/02/18 18:33:59 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/pg_dump/Makefile b/src/bin/pg_dump/Makefile index 38a2cf2946..9506173087 100644 --- a/src/bin/pg_dump/Makefile +++ b/src/bin/pg_dump/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin/pg_dump # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.27 2000/11/30 20:36:11 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.28 2001/02/18 18:33:59 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index c038798318..1cc3e0dd3c 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -2,7 +2,10 @@ * * pg_dump.c * pg_dump is an utility for dumping out a postgres database - * into a script file. + * into a script file. + * + * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California * * pg_dump will read the system catalogs in a database and * dump out a script that reproduces @@ -17,12 +20,9 @@ * * the output script is SQL that is understood by PostgreSQL * - * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group - * Portions Copyright (c) 1994, Regents of the University of California - * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.192 2001/02/13 01:31:54 pjw Exp $ + * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.193 2001/02/18 18:33:59 momjian Exp $ * * Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb * diff --git a/src/bin/pgaccess/Makefile b/src/bin/pgaccess/Makefile index 24fdae5802..8a38bcc13a 100644 --- a/src/bin/pgaccess/Makefile +++ b/src/bin/pgaccess/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin/pgaccess # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile,v 1.15 2001/02/07 20:30:20 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/pgaccess/Attic/Makefile,v 1.16 2001/02/18 18:34:01 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/pgaccess/README b/src/bin/pgaccess/README index 818116ff44..aa7e2744b4 100644 --- a/src/bin/pgaccess/README +++ b/src/bin/pgaccess/README @@ -1,6 +1,7 @@ --------------------------------------------------------------------------- -Copyright (c) 1994-7 Regents of the University of California +Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +Portions Copyright (c) 1994, Regents of the University of California Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement diff --git a/src/bin/pgaccess/copyright.html b/src/bin/pgaccess/copyright.html index d67654b88e..6af94bd5b0 100644 --- a/src/bin/pgaccess/copyright.html +++ b/src/bin/pgaccess/copyright.html @@ -9,7 +9,8 @@
 
  -

Copyright (c) 1994-7 Regents of the University of California +

Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +

Portions Copyright (c) 1994, Regents of the University of California

Permission to use, copy, modify, and distribute this software and its @@ -17,7 +18,7 @@ its agreement
is hereby granted, provided that the above copyright notice and this -
paragraph and the following two paragraphs appear in all copies. +
paragraph and the following two paragraphs appear in all copies.

IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR @@ -26,7 +27,7 @@ INCLUDING
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE -
POSSIBILITY OF SUCH DAMAGE. +
POSSIBILITY OF SUCH DAMAGE.

THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY diff --git a/src/bin/pgaccess/doc/html/copyright.html b/src/bin/pgaccess/doc/html/copyright.html index d67654b88e..b624786e1a 100644 --- a/src/bin/pgaccess/doc/html/copyright.html +++ b/src/bin/pgaccess/doc/html/copyright.html @@ -9,7 +9,8 @@
 
  -

Copyright (c) 1994-7 Regents of the University of California +

Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +

Portions Copyright (c) 1994, Regents of the University of California

Permission to use, copy, modify, and distribute this software and its diff --git a/src/bin/pgaccess/lib/help/copyrights.hlp b/src/bin/pgaccess/lib/help/copyrights.hlp index d81fd160a8..ffa49c7b2c 100644 --- a/src/bin/pgaccess/lib/help/copyrights.hlp +++ b/src/bin/pgaccess/lib/help/copyrights.hlp @@ -1,9 +1,11 @@ .pgaw:Help.f.t insert end \ "Copyrights\n\n" {title} \ " -PostgreSQL is Copyright © 1996-9 by the PostgreSQL Global Development Group, and is distributed under the terms of the Berkeley license. +PostgreSQL is Copyright © 1996-2001, PostgreSQL Global Development Group. -Postgres95 is Copyright © 1994-5 by the Regents of the University of California. Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. +Postgres95 is Copyright © 1994, Regents of the University of California. + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. In no event shall the University of California be liable to any party for direct, indirect, special, incidental, or consequential damages, including lost profits, arising out of the use of this software and its documentation, even if the University of California has been advised of the possibility of such damage. diff --git a/src/bin/pgtclsh/Makefile b/src/bin/pgtclsh/Makefile index 7891eab4f2..6ac3ebefff 100644 --- a/src/bin/pgtclsh/Makefile +++ b/src/bin/pgtclsh/Makefile @@ -3,9 +3,10 @@ # Makefile for src/bin/pgtclsh # (a tclsh workalike with pgtcl commands installed) # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.35 2000/11/30 20:36:12 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.36 2001/02/18 18:34:01 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/pgtclsh/pgtclAppInit.c b/src/bin/pgtclsh/pgtclAppInit.c index 8967a4a5c2..487e11eaf5 100644 --- a/src/bin/pgtclsh/pgtclAppInit.c +++ b/src/bin/pgtclsh/pgtclAppInit.c @@ -1,6 +1,5 @@ /* * pgtclAppInit.c - * * a skeletal Tcl_AppInit that provides pgtcl initialization * to create a tclsh that can talk to pglite backends * diff --git a/src/bin/psql/Makefile b/src/bin/psql/Makefile index 3b54c44da8..82333e5001 100644 --- a/src/bin/psql/Makefile +++ b/src/bin/psql/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin/psql # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.27 2000/11/30 20:36:12 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.28 2001/02/18 18:34:01 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/scripts/Makefile b/src/bin/scripts/Makefile index a891c1bcda..3fdbdd93b1 100644 --- a/src/bin/scripts/Makefile +++ b/src/bin/scripts/Makefile @@ -2,9 +2,10 @@ # # Makefile for src/bin/scripts # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # -# $Header: /cvsroot/pgsql/src/bin/scripts/Makefile,v 1.11 2000/10/20 21:04:03 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Makefile,v 1.12 2001/02/18 18:34:01 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/scripts/createlang.sh b/src/bin/scripts/createlang.sh index 20ec9cd4b3..c9b4178fda 100644 --- a/src/bin/scripts/createlang.sh +++ b/src/bin/scripts/createlang.sh @@ -4,11 +4,12 @@ # createlang.sh-- # Install a procedural language in a database # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.22 2001/01/21 05:16:45 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createlang.sh,v 1.23 2001/02/18 18:34:01 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/scripts/createuser b/src/bin/scripts/createuser index 8705c53340..359e18df2a 100644 --- a/src/bin/scripts/createuser +++ b/src/bin/scripts/createuser @@ -4,11 +4,12 @@ # createuser-- # Utility for creating a user in the PostgreSQL database # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.16 2001/01/21 05:16:45 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/createuser,v 1.17 2001/02/18 18:34:01 momjian Exp $ # # Note - this should NOT be setuid. # diff --git a/src/bin/scripts/dropdb b/src/bin/scripts/dropdb index a3db4babe3..60e1647abd 100644 --- a/src/bin/scripts/dropdb +++ b/src/bin/scripts/dropdb @@ -6,11 +6,12 @@ # # this program runs psql to drop the requested database. # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.10 2000/11/25 19:05:44 petere Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropdb,v 1.11 2001/02/18 18:34:01 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/scripts/droplang b/src/bin/scripts/droplang index ea4a00f9f6..e06051d5d0 100644 --- a/src/bin/scripts/droplang +++ b/src/bin/scripts/droplang @@ -4,11 +4,12 @@ # createlang-- # Remove a procedural language from a database # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.12 2001/01/21 05:16:45 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/droplang,v 1.13 2001/02/18 18:34:01 momjian Exp $ # #------------------------------------------------------------------------- diff --git a/src/bin/scripts/dropuser b/src/bin/scripts/dropuser index fc7f66af43..814c7221b9 100644 --- a/src/bin/scripts/dropuser +++ b/src/bin/scripts/dropuser @@ -4,11 +4,12 @@ # dropuser-- # Utility for removing a user from the PostgreSQL database. # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.11 2001/01/21 05:16:45 momjian Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/dropuser,v 1.12 2001/02/18 18:34:02 momjian Exp $ # # Note - this should NOT be setuid. # diff --git a/src/bin/scripts/vacuumdb b/src/bin/scripts/vacuumdb index 78d310edd8..214c995ee2 100644 --- a/src/bin/scripts/vacuumdb +++ b/src/bin/scripts/vacuumdb @@ -7,11 +7,12 @@ # This script runs psql with the "-c" option to vacuum # the requested database. # -# Copyright (c) 1994, Regents of the University of California +# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group +# Portions Copyright (c) 1994, Regents of the University of California # # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.15 2001/01/08 23:02:36 tgl Exp $ +# $Header: /cvsroot/pgsql/src/bin/scripts/Attic/vacuumdb,v 1.16 2001/02/18 18:34:02 momjian Exp $ # #-------------------------------------------------------------------------