notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
postgresql-cstore_fdw Columnar store for analytics with PostgreSQL
1.7.0 databases on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.7.0Version of this port present on the latest quarterly branch.
Maintainer: farrokhi@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-06-13 10:28:39
Last Update: 2023-08-30 19:31:10
Commit Hash: 209a16c
People watching this port, also watch:: json-c, sysinfo, python, miller
License: APACHE20
WWW:
https://github.com/citusdata/cstore_fdw
Description:
Cstore_fdw is a extension of PostgreSQL. This extension uses the Optimized Row Columnar (ORC) format for its data layout. ORC improves upon the RCFile format developed at Facebook, and brings the following benefits: - Compression: Reduces in-memory and on-disk data size by 2-4x. Can be extended to support different codecs. - Column projections: Only reads column data relevant to the query. Improves performance for I/O bound queries. - Skip indexes: Stores min/max statistics for row groups, and uses them to skip over unrelated rows. Further, cstore_fdw used the Postgres foreign data wrapper APIs and type representations with this extension. This brings: - Support for 40+ Postgres data types. The user can also create new types and use them. - Statistics collection. PostgreSQL's query optimizer uses these stats to evaluate different query plans and pick the best one. - Simple setup. Create foreign table and copy data. Run SQL.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. /usr/local/share/licenses/postgresql13-cstore_fdw-1.7.0/catalog.mk
  2. /usr/local/share/licenses/postgresql13-cstore_fdw-1.7.0/LICENSE
  3. /usr/local/share/licenses/postgresql13-cstore_fdw-1.7.0/APACHE20
  4. lib/postgresql/cstore_fdw.so
  5. share/postgresql/extension/cstore_fdw--1.0--1.1.sql
  6. share/postgresql/extension/cstore_fdw--1.1--1.2.sql
  7. share/postgresql/extension/cstore_fdw--1.2--1.3.sql
  8. share/postgresql/extension/cstore_fdw--1.3--1.4.sql
  9. share/postgresql/extension/cstore_fdw--1.4--1.5.sql
  10. share/postgresql/extension/cstore_fdw--1.5--1.6.sql
  11. share/postgresql/extension/cstore_fdw--1.6--1.7.sql
  12. share/postgresql/extension/cstore_fdw--1.7.sql
  13. share/postgresql/extension/cstore_fdw.control
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • postgresql13-cstore_fdw>0:databases/postgresql-cstore_fdw
To install the port:
cd /usr/ports/databases/postgresql-cstore_fdw/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/postgresql-cstore_fdw
  • pkg install postgresql13-cstore_fdw
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql13-cstore_fdw
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1633795109 SHA256 (citusdata-cstore_fdw-v1.7.0_GH0.tar.gz) = bd8a06654b483d27b48d8196cf6baac0c7828b431b49ac097923ac0c54a1c38c SIZE (citusdata-cstore_fdw-v1.7.0_GH0.tar.gz) = 93313

Expand this list (2 items)

Collapse this list.

SHA256 (2b6bf67ca60faf5a3ebe914fad53257a634ae48a.patch) = 5a396090cb99ae6af5774c65ed4e1d5e0f249b79e8d734624688fee174bd73d5 SIZE (2b6bf67ca60faf5a3ebe914fad53257a634ae48a.patch) = 16786

Collapse this list.


Packages (timestamps in pop-ups are UTC):
postgresql12-cstore_fdw
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.7.01.7.0--1.7.0---
FreeBSD:13:quarterly1.7.01.7.0--1.7.01.7.01.7.01.7.0
FreeBSD:14:latest1.7.01.7.0--1.7.0---
FreeBSD:14:quarterly1.7.01.7.0--1.7.01.7.01.7.01.7.0
FreeBSD:15:latest1.7.01.7.0n/a-n/a1.7.01.7.01.7.0
FreeBSD:15:quarterly--n/a-n/a---
 

postgresql13-cstore_fdw
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--------
FreeBSD:14:latest-----1.7.0-1.7.0
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
  2. postgres : databases/postgresql13-server
  3. as : devel/binutils
Runtime dependencies:
  1. postgres : databases/postgresql13-server
Library dependencies:
  1. libprotobuf-c.so : devel/protobuf-c
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
databases_postgresql-cstore_fdw
USES:
gmake pgsql:11-13
pkg-message:
If upgrading from < 1.6:
If you are upgrading cstore_fdw from a version prior to 1.6, you need to execute the following steps: - Restart the PostgreSQL server; - Run ALTER EXTENSION cstore_fdw UPDATE; Please, visit the following URL for more information: https://github.com/citusdata/cstore_fdw/blob/master/README.md
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/citusdata/cstore_fdw/tar.gz/v1.7.0?dummy=/
Collapse this list.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2023-09-08
    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 13 to 15.
      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 13, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql13-server postgresql13-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql13-server-13.12.pkg -C /tmp/pg-upgrade
      # tar xf postgresql13-contrib-13.12.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql13-server databases/postgresql13-contrib databases/postgresql13-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql15-server databases/postgresql15-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql15-server databases/postgresql15-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql15-server databases/postgresql15-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/data15 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data13/ -B /usr/local/bin/ -D /var/db/postgres/data15/ -U postgres "
    
      Now the migration is finished. You can start PostgreSQL again with:
    
      # service postgresql start
    
      ATTENTION:
      1) The default user changed from "pgsql" to "postgres" in 11. The migration steps above now assume
         the "postgres" database user and FreeBSD user.
      2) See the updating entry 20190829 if you are updating from a release prior to 11.
      3) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
Expand this list (1 items)
  • 2021-10-24
    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 12 to 13.
      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 12.8, your
      files are named according to this.
    
      # service postgresql stop
      # pkg create postgresql12-server postgresql12-contrib
      # mkdir /tmp/pg-upgrade
      # tar xf postgresql12-server-12.8.pkg -C /tmp/pg-upgrade
      # tar xf postgresql12-contrib-12.8.pkg -C /tmp/pg-upgrade
      # pkg delete -f databases/postgresql12-server databases/postgresql12-contrib databases/postgresql12-client
    
      Now update PostgreSQL:
    
        pkg user:
        # pkg install databases/postgresql13-server databases/postgresql13-contrib
        # pkg upgrade
    
        Portmaster users:
        # portmaster databases/postgresql13-server databases/postgresql13-contrib
        # portmaster -a
    
        Portupgrade users:
        # portinstall databases/postgresql13-server databases/postgresql13-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/data13 -U postgres"
      # su -l postgres -c "pg_upgrade -b /tmp/pg-upgrade/usr/local/bin/ -d /var/db/postgres/data12/ -B /usr/local/bin/ -D /var/db/postgres/data13/ -U postgres "
    
      Now the migration is finished. You can start PostgreSQL again with:
    
      # service postgresql start
    
      ATTENTION:
      1) The default user changed from "pgsql" to "postgres" in 11. The migration steps above now assume
         the "postgres" database user and FreeBSD user.
      2) See the updating entry 20190829 if you are updating from a release prior to 11.
      3) If you use non-default initdb options, you have to adjust the initdb-command accordingly
    
    
  • Collapse this list.

Number of commits found: 19

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.0
30 Aug 2023 19:31:10
commit hash: 209a16ccf0c1584a0ca17c4cc2e5124a256a4ca8commit hash: 209a16ccf0c1584a0ca17c4cc2e5124a256a4ca8commit hash: 209a16ccf0c1584a0ca17c4cc2e5124a256a4ca8commit hash: 209a16ccf0c1584a0ca17c4cc2e5124a256a4ca8 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
databases/postgresql-cstore_fdw: Mark PostgreSQL 13 as max version

PR:		273058
1.7.0
15 Apr 2023 13:14:58
commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Remove pointers to EOLed pgsql versions

- Remove dotted pgsql versions

Approved by:	portmgr
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
1.7.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
1.7.0
20 Jul 2022 14:21:07
commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
databases: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  "Mahdi Mokhtari <mokhi64@gmail.com>"
  *  "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
  *  <hvo.pm@xs4all.nl>
  *  <jsmith@resonatingmedia.com>
  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Snelson <Alan@Wave2.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.7.0
23 Oct 2021 23:30:30
commit hash: 8a1517141686b1835374b2d350609ec74c1d11afcommit hash: 8a1517141686b1835374b2d350609ec74c1d11afcommit hash: 8a1517141686b1835374b2d350609ec74c1d11afcommit hash: 8a1517141686b1835374b2d350609ec74c1d11af files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
databases/postgresql-cstore_fdw: Fix for pgsql 13

PR:		259028
Approved by:	maintainer timeout
1.7.0
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.7.0
20 Feb 2020 12:15:52
Revision:526568Original commit files touched by this commit
farrokhi search for other commits by this committer
databases/postgresql-cstore_fdw: Fix plist
1.7.0
19 Feb 2020 10:16:56
Revision:526498Original commit files touched by this commit
farrokhi search for other commits by this committer
databases/postgresql-cstore_fdw: Update to 1.7.0

- Update to 1.7.0 (PostgreSQL 12 support)
- Pet portlint
1.6.2_2
13 Aug 2019 16:01:59
Revision:508835Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert to UCL & cleanup pkg-message (categories d)
1.6.2_2
26 Jul 2019 20:46:57
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
1.6.2_1
12 Dec 2018 01:35:36
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
1.6.2
04 Sep 2018 09:43:57
Revision:478941Original commit files touched by this commit
farrokhi search for other commits by this committer
databases/postgresql-cstore_fdw: Update to 1.6.2
1.6.1
07 Aug 2018 14:36:24
Revision:476601Original commit files touched by this commit
farrokhi search for other commits by this committer
databases/postgresql-cstore_fdw: Update to 1.6.1

- Update to 1.6.1
- Take maintainership

Changes: https://github.com/citusdata/cstore_fdw#version-161
1.6.0
24 Jun 2018 00:54:27
Revision:473169Original commit files touched by this commit
linimon search for other commits by this committer
Workaround the following problem on aarch64 by setting LLD_UNSAFE=yes:

  cc: error: invalid linker name in argument '-fuse-ld=bfd'

Neither emaste nor I can figure out exactly where the offending stanza is
coming in.  It will take someone with more knowledge of gmake debug flags,
and possibly the src build infrastructure, to figure it out.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
1.6.0
22 Jun 2018 08:28:00
Revision:473023Original commit files touched by this commit
yuri search for other commits by this committer
Correction to r473019: Revert the unintended change to the 'Created by' headers.
1.6.0
22 Jun 2018 08:04:39
Revision:473019Original commit files touched by this commit
yuri search for other commits by this committer
Reset MAINTAINER on ports maintained by amutu@amutu.com

Based on the new policy of all maintained ports reset
when maintaner is absent for 3 months.

Bug#226400 for science/py-tensorflow is ignored since 2018-03-06 (3+ months).
portscout database indicates that 48.94% of his ports aren't updated.
1.6.0
23 Jul 2017 14:47:33
Revision:446487Original commit files touched by this commit
dbaio search for other commits by this committer
databases/postgresql-cstore_fdw: Update to 1.6.0

- STRIP cstore_fdw.so [1]
- Update LICENSE
- Add a message about the additional steps for users that are upgrading

PR:		220922 [1]
Submitted by:	amutu@amutu.com (maintainer) [1]
1.5.1
13 Jun 2017 10:28:30
Revision:443496Original commit files touched by this commit
tz search for other commits by this committer
New port: databases/postgresql-cstore_fdw

Cstore_fdw is a extension of PostgreSQL. This extension uses the Optimized Row
Columnar (ORC) format for its data layout. ORC improves upon the RCFile format
developed at Facebook, and brings the following benefits:
	- Compression: Reduces in-memory and on-disk data size by 2-4x. Can be
	  extended to support different codecs.
	- Column projections: Only reads column data relevant to the query.
	  Improves performance for I/O bound queries.
	- Skip indexes: Stores min/max statistics for row groups, and uses them
	  to skip over unrelated rows.
Further, cstore_fdw used the Postgres foreign data wrapper APIs and type
representations with this extension. This brings:
	- Support for 40+ Postgres data types. The user can also create new types
	  and use them.
	- Statistics collection. PostgreSQL's query optimizer uses these stats to
	  evaluate different query plans and pick the best one.
	- Simple setup. Create foreign table and copy data. Run SQL.

WWW: https://github.com/citusdata/cstore_fdw

PR:           219635
Submitted by: Jov <amutu@amutu.com>

Number of commits found: 19