From d9ed0ca730a723f264eb252fdac249cc538ca228 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Sun, 23 Jul 2017 12:39:34 +0200 Subject: [PATCH] Mention Phil as author and move PGDG copyright up Phil wasn't mentioned yet as original pg_dirtyread author, fix that. Since active pg_dirtyread development is now done under the PGDG umbrella, move the (c) line to the front. While at it, add LICENSE file. --- LICENSE | 32 ++++++++++++++++++++++++++++++++ README.md | 29 ++++++++++++++++------------- debian/copyright | 22 +++++++++++----------- pg_dirtyread.c | 2 +- 4 files changed, 60 insertions(+), 25 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a052b2b --- /dev/null +++ b/LICENSE @@ -0,0 +1,32 @@ +Copyright (c) 1996-2017, PostgreSQL Global Development Group +Copyright (c) 2012, OmniTI Computer Consulting, Inc. +Portions Copyright (c) 1994, The Regents of the University of California + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. +* Neither the name OmniTI Computer Consulting, Inc. nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index 41a5e01..3f534f4 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,8 @@ type boolean is available to report dead rows (as by `HeapTupleIsSurelyDead`). ```sql SELECT * FROM pg_dirtyread('foo'::regclass) - AS t(tableoid oid, ctid tid, xmin xid, xmax xid, cmin cid, cmax cid, dead boolean, oid oid, bar bigint, baz text); + AS t(tableoid oid, ctid tid, xmin xid, xmax xid, cmin cid, cmax cid, dead boolean, + oid oid, bar bigint, baz text); tableoid │ ctid │ xmin │ xmax │ cmin │ cmax │ dead │ oid │ bar │ baz ──────────┼───────┼──────┼──────┼──────┼──────┼──────┼─────┼─────┼─────────────────── 41823 │ (0,1) │ 1484 │ 1485 │ 0 │ 0 │ t │ 0 │ 1 │ Delete @@ -86,9 +87,11 @@ type boolean is available to report dead rows (as by `HeapTupleIsSurelyDead`). License ------- -Copyright (c) 2012, OmniTI Computer Consulting, Inc. +Original author: Phil Sorber + +Copyright (c) 1996-2017, PostgreSQL Global Development Group -Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group +Copyright (c) 2012, OmniTI Computer Consulting, Inc. Portions Copyright (c) 1994, The Regents of the University of California @@ -98,16 +101,16 @@ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name OmniTI Computer Consulting, Inc. nor the names - of its contributors may be used to endorse or promote products - derived from this software without specific prior written - permission. +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. +* Neither the name OmniTI Computer Consulting, Inc. nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT diff --git a/debian/copyright b/debian/copyright index 32a7e9d..4e71bca 100644 --- a/debian/copyright +++ b/debian/copyright @@ -4,8 +4,8 @@ Source: https://github.com/ChristophBerg/pg_dirtyread Files: * Copyright: + Copyright (c) 1996-2017, PostgreSQL Global Development Group Copyright (c) 2012, OmniTI Computer Consulting, Inc. - Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group Portions Copyright (c) 1994, The Regents of the University of California License: BSD-like All rights reserved. @@ -14,16 +14,16 @@ License: BSD-like modification, are permitted provided that the following conditions are met: . - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name OmniTI Computer Consulting, Inc. nor the names - of its contributors may be used to endorse or promote products - derived from this software without specific prior written - permission. + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name OmniTI Computer Consulting, Inc. nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT diff --git a/pg_dirtyread.c b/pg_dirtyread.c index 6511056..8ae9074 100644 --- a/pg_dirtyread.c +++ b/pg_dirtyread.c @@ -1,6 +1,6 @@ /* + * Copyright (c) 1996-2017, PostgreSQL Global Development Group * Copyright (c) 2012, OmniTI Computer Consulting, Inc. - * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group * Portions Copyright (c) 1994, The Regents of the University of California * All rights reserved. *