Skip to content

Commit

Permalink
Mention Phil as author and move PGDG copyright up
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
df7cb committed Jul 23, 2017
1 parent 668923f commit d9ed0ca
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 25 deletions.
32 changes: 32 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -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.
29 changes: 16 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) │ 1484148500 │ t │ 01Delete
Expand All @@ -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

Expand All @@ -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
Expand Down
22 changes: 11 additions & 11 deletions debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pg_dirtyread.c
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down

1 comment on commit d9ed0ca

@PSUdaemon
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the mention!

Please sign in to comment.