PostgreSQL License
PermissiveSPDX identifier:
PostgreSQLOSI ✓Data updated Sep 26, 2026In plain words
A short permissive license similar to MIT and BSD, used by PostgreSQL and its ecosystem.
Analogy: The PostgreSQL community's own version of the free book.
Pros
- + Short and permissive
- + Familiar to the PostgreSQL ecosystem
Cons
- - No patent grant
- - Closed forks are allowed
Well-known projects using it
5 well-known projects in our map use this license.
Permissions
- Commercial use
- Modification
- Distribution
- Private use
Conditions
- Keep copyright notice
Limitations
- No liability
- No warranty
Extreme scenarios · Code licenses
- A1AllowedA cloud vendor sells your project as a managed service
- A2AllowedSomeone forks it and distributes a closed-source competitor
- A3AllowedEmbedded in a closed-source SaaS backend (not distributed)
- A4AllowedLinked into a closed-source app or firmware and distributed
- A5Not addressedSomeone promotes a modified version with your name or trademark
- A6AllowedSomeone sells unmodified copies
- B1Not addressedA user sues you for patent infringement and keeps using the code
- B2Not addressedA contributor asserts patents on their contributed code
- B3Not addressedA cross-border dispute: governing law and venue
- C1With conditionsYou later relicense or sell commercial licenses (contributors signed no CLA)
- C2AllowedYour code is merged into a GPL-3.0 project
- C3Blocked by licenseYou use a GPL-3.0 dependency and still ship under this license
- C4AllowedThe project is abandoned and someone forks it to continue
- C5Blocked by licenseYou want to block only big companies or competitors
- C6Not addressedKey code was written by an employee and the employer objects
- D1Blocked by licenseSomeone removes copyright or attribution notices
- D2AllowedSomeone modifies files without marking the changes
- D3AllowedInternal modification, no distribution and no external service
- D4AllowedUsed for military, surveillance or other uses you object to
- D5Not addressedUsed by a sanctioned entity
- D6Not addressedYour code is used to train an AI model
Worst-case radar
- 1Stops free-riding0
- 2Stops closed forks0
- 3Patent protection0
- 4Adoption friction0
- 5Hard to relicense50
Computed from the scenario matrix. Higher means more of that property, not "better".
Compare with…
Official text
Only the official text is legally binding. We do not translate license texts.
https://spdx.org/licenses/PostgreSQL.html
PostgreSQL License
PostgreSQL Database Management System
(formerly known as Postgres, then as Postgres95)
Portions Copyright (c) 1996-2010, The PostgreSQL Global Development Group
Portions Copyright (c) 1994, 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.
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.
THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.