| 
	
		| Port details on branch 2024Q4 |  | 
 postgresql12-server PostgreSQL is the most advanced open-source database available anywhere
 12.22 databases  =0          12.22Version of this port present on the latest quarterly branch. DEPRECATED: PostgreSQL-12 is end-of-life 
  This port expired on: 2024-12-31 
Maintainer: pgsql@FreeBSD.org Port Added: 2024-12-02 15:56:50Last Update: 2024-12-02 15:49:06Commit Hash: f5a8611License: PostgreSQLWWW: https://www.postgresql.org/Description:PostgreSQL is a sophisticated Object-Relational DBMS, supporting
almost all SQL constructs, including subselects, transactions, and
user-defined types and functions. It is the most advanced open-source
database available anywhere. Commercial Support is also available.
The original Postgres code was the effort of many graduate students,
undergraduate students, and staff programmers working under the direction of
Professor Michael Stonebraker at the University of California, Berkeley. In
1995, Andrew Yu and Jolly Chen took on the task of converting the DBMS query
language to SQL and created a new database system which came to known as
Postgres95. Many others contributed to the porting, testing, debugging and
enhancement of the Postgres95 code. As the code improved, and 1995 faded into
memory, PostgreSQL was born.
PostgreSQL development is presently being performed by a team of Internet
developers who are now responsible for all current and future development. The
development team coordinator is Marc G. Fournier (scrappy@PostgreSQL.ORG).
Support is available from the PostgreSQL developer/user community through the
support mailing list (questions@PostgreSQL.ORG).
PostgreSQL is free and the complete source is available.   ¦  ¦  ¦  ¦ 
 Manual pages:FreshPorts has no man page information for this port.pkg-plist: as obtained via: make generate-plistUSE_RC_SUBR (Service Scripts)
no SUBR information found for this portDependency lines:
postgresql12-server>0:databases/postgresql12-server
Conflicts:CONFLICTS:
To install the port: cd /usr/ports/databases/postgresql12-server/ && make install cleanTo add the package, run one of these commands:NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.pkg install databases/postgresql12-serverpkg install postgresql12-server
PKGNAME: postgresql12-serverFlavors: there is no flavor information for this port.distinfo:TIMESTAMP = 1732004002
SHA256 (postgresql/postgresql-12.22.tar.bz2) = 8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b
SIZE (postgresql/postgresql-12.22.tar.bz2) = 21305304 
Packages (timestamps in pop-ups are UTC):
 
DependenciesNOTE: FreshPorts displays only information on required and default dependencies.  Optional dependencies are not covered.Build dependencies:
gmake>=4.4.1 : devel/gmakepkgconf>=1.3.0_1 : devel/pkgconfgettext-runtime>=0.22_1 : devel/gettext-runtimemsgfmt : devel/gettext-tools
Library dependencies:
libicudata.so : devel/iculibxml2.so : textproc/libxml2libpq.so.5 : databases/postgresql12-clientlibLLVM-15.so : devel/llvm15libintl.so : devel/gettext-runtime
This port is required by:for Build
					            
databases/postgresql12-plpythondatabases/postgresql12-pltcl
for Run
					            
databases/postgresql12-plperldatabases/postgresql12-plpythondatabases/postgresql12-pltcl
Configuration Options:
===> The following configuration options are available for postgresql12-server-12.22:
     DEBUG=off: Build with debugging support
     DOCS=on: Build and/or install documentation
     DTRACE=off: Build with DTrace probes
     GSSAPI=off: Build with GSSAPI support
     LDAP=off: Build with LDAP authentication support
     LLVM=on: Build with support for JIT-compiling expressions
     NLS=on: Use internationalized messages
     OPTIMIZED_CFLAGS=off: Builds with compiler optimizations (-O3)
     PAM=off: Build with PAM Support
     SSL=on: Build with OpenSSL support
     TZDATA=off: Use internal timezone database
     XML=on: Build with XML data type
===> Use 'make config' to modify these settingsOptions name:databases_postgresql12-serverUSES:tar:bzip2 cpe gmake pgsql:12 pkgconfig llvm:min=11,lib gettext sslpkg-message:For install:For procedural languages and postgresql functions, please note that
you might have to update them when updating the server.
If you have many tables and many clients running, consider raising
kern.maxfiles using sysctl(8), or reconfigure your kernel
appropriately.
The port is set up to use autovacuum for new databases, but you might
also want to vacuum and perhaps backup your database regularly. There
is a periodic script, /usr/local/etc/periodic/daily/502.pgsql, that
you may find useful. You can use it to backup and perform vacuum on all
databases nightly. Per default, it performs `vacuum analyze'. See the
script for instructions. For autovacuum settings, please review
~postgres/data/postgresql.conf.
If you plan to access your PostgreSQL server using ODBC, please
consider running the SQL script /usr/local/share/postgresql/odbc.sql
to get the functions required for ODBC compliance.
Please note that if you use the rc script,
/usr/local/etc/rc.d/postgresql, to initialize the database, unicode
(UTF-8) will be used to store character data by default.  Set
postgresql_initdb_flags or use login.conf settings described below to
alter this behaviour. See the start rc script for more info.
To set limits, environment stuff like locale and collation and other
things, you can set up a class in /etc/login.conf before initializing
the database. Add something similar to this to /etc/login.conf:
---
postgres:\
	:lang=en_US.UTF-8:\
	:setenv=LC_COLLATE=C:\
	:tc=default:
---
and run `cap_mkdb /etc/login.conf'.
Then add 'postgresql_login_class="postgres"' to /etc/rc.conf, or
set it as the postgres user's login class in /etc/passwd.
======================================================================
To use PostgreSQL, enable it in rc.conf using
  sysrc postgresql_enable=yes
To initialize the database, run
  service postgresql initdb
You can then start PostgreSQL by running:
  service postgresql start
For postmaster settings, see ~postgres/data/postgresql.conf
NB. FreeBSD's PostgreSQL port logs to syslog by default
    See ~postgres/data/postgresql.conf for more info
NB. If you're not using a checksumming filesystem like ZFS, you might
    wish to enable data checksumming. It can be enabled during
    the initdb phase, by adding the "--data-checksums" flag to
    the postgresql_initdb_flags rcvar. Otherwise you can enable it later by
    pg_checksums.  Check the initdb(1) manpage for more info
    and make sure you understand the performance implications.
======================================================================
Master Sites: |  Number of commits found: 2 
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |  | Commit | Credits | Log message | 
|---|
 | 12.22 02 Dec 2024 15:49:06
 
       | Palle Girgensohn (girgen)  | databases/postgresql??-*: Update to latest version
The issues listed below affect PostgreSQL 17. Some of these issues may
also affect other supported versions of PostgreSQL.
- Restore functionality of ALTER ROLE .. SET ROLE and ALTER DATABASE ..
  SET ROLE. The fix for CVE-2024-10978 accidentally caused settings for
  role to not be applied if they came from non-interactive sources,
  including previous ALTER {ROLE|DATABASE} commands and the PGOPTIONS
  environment variable.
- Restore compatibility for the timescaledb and other PostgreSQL
  extensions built using PostgreSQL prior to the 2024-11-14 release
  (17.0, 16.4, 15.8, 14.13, 13.16, 12.20, and earlier). This fix restores
  struct ResultRelInfo to its previous size, so that affected extensions(Only the first 15 lines of the commit message are shown above ) |  | 12.21 02 Dec 2024 15:48:56
 
       | Palle Girgensohn (girgen)  | databases/postgresql??-*: Update to latest versions
PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 Released!
The PostgreSQL Global Development Group has released an update to all
supported versions of PostgreSQL, including 17.1, 16.5, 15.9, 14.14,
13.17, and 12.21. This release fixes 4 security vulnerabilities and over
35 bugs reported over the last several months.
Also add XML back as an active default option due to popular demand. [1]
Clean up the ports a bit.
PR:		269115 [1]
Release notes:	https://www.postgresql.org/docs/release/
Security:	a03636f4-a29f-11ef-af48-6cc21735f730
Security:	12e3feab-a29f-11ef-af48-6cc21735f730
Security:	a61ef21b-a29e-11ef-af48-6cc21735f730
Security:	3831292b-a29d-11ef-af48-6cc21735f730
(cherry picked from commit 778499d5c21d30c2f04acd7b85cb311c8236534a) |  Number of commits found: 2 |