Port details |
- postgresql-semver SemVer 2.0.0 compatible datatype for PostgreSQL database
- 0.31.2 databases
=2 0.31.2Version of this port present on the latest quarterly branch. - Maintainer: ports@xanderio.de
 - Port Added: 2021-11-03 17:36:06
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: PostgreSQL
- WWW:
- https://github.com/theory/pg-semver/
- Description:
- This library contains a single PostgreSQL extension, a semantic version data
type called `semver`. It's an implementation of the version number format
specified by the Semantic Versioning 2.0.0 Specification.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- postgresql13-semver>0:databases/postgresql-semver
- To install the port:
- cd /usr/ports/databases/postgresql-semver/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/postgresql-semver
- pkg install postgresql13-semver
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: postgresql13-semver
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1633684541
SHA256 (theory-pg-semver-v0.31.2_GH0.tar.gz) = de9a0e271c13cd6083e934c0e0cb88d819af8aa2cb5356d6d934a0ef26f62149
SIZE (theory-pg-semver-v0.31.2_GH0.tar.gz) = 39809
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- postgres : databases/postgresql13-server
- Runtime dependencies:
-
- postgres : databases/postgresql13-server
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- databases_postgresql-semver
- USES:
- gmake pgsql
- pkg-message:
- For install:
- Use the following sql script to create semver extension
psql -c 'CREATE EXTENSION semver'
- Master Sites:
|
Notes from UPDATING |
- These upgrade notes are taken from /usr/ports/UPDATING
- 2024-07-23
Affects: users of databases/postgresql* and other software using PostgreSQL to run Author: kbowling@FreeBSD.org Reason:
The default version of PostgreSQL has been switched from 15 to 16.
The upgrade procedure can use up twice the space the databases
currently needs. If you have a big amount of stored data take a
closer look at the manpage of pg_upgrade for avoidance and/or
speedup of the upgrade.
The upgrade instructions consider a basic usage and do not match
complex scenarios like replication, sharding, or similar.
Upgrade instructions:
First stop your PostgreSQL, create PostgreSQL-binaries and backup your data.
If you have another Version of PostgreSQL installed, for example 15, your
files are named according to this.
# service postgresql stop
# pkg create postgresql15-server postgresql15-contrib
# mkdir /tmp/pg-upgrade
# tar xf postgresql15-server-15.7.pkg -C /tmp/pg-upgrade
# tar xf postgresql15-contrib-15.7.pkg -C /tmp/pg-upgrade
# pkg delete -f databases/postgresql15-server databases/postgresql15-contrib databases/postgresql15-client
Now update PostgreSQL:
pkg user:
# pkg install databases/postgresql16-server databases/postgresql16-contrib
# pkg upgrade
Portmaster users:
# portmaster databases/postgresql16-server databases/postgresql16-contrib
# portmaster -a
Portupgrade users:
# portinstall databases/postgresql16-server databases/postgresql16-contrib
# portupgrade -a
After installing the new PostgreSQL version you need to convert
all your databases to new version:
# su -l postgres -c "/usr/local/bin/initdb --encoding=utf-8 --lc-collate=C -D /var/db/postgres/data16 -U postgres"
# su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data15/ -B /usr/local/bin/ -D /var/db/postgres/data16/ -U postgres "
Now the migration is finished. You can start PostgreSQL again with:
# service postgresql start
ATTENTION:
1) If you use non-default initdb options, you have to adjust the initdb-command accordingly
|
Number of commits found: 3
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.31.2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.31.2 03 Nov 2021 17:32:10
    |
Yasuhiro Kimura (yasu)  Author: Alexander Sieg |
databases/postgresql-semver: Add new port
This library contains a single PostgreSQL extension, a data type
called "semver". It's an implementation of the version number format
specified by the Semantic Versioning 2.0.0 Specification.
PR: 259001 |
Number of commits found: 3
|