Skip to content

Commit

Permalink
Add lower_quantile (#254)
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Stanton <evanstanton@Evans-MBP.fritz.box>
  • Loading branch information
EvanHStanton and Evan Stanton authored Jul 21, 2023
1 parent fb99ce9 commit 36136d5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contrib/lower_quantile/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ARG PG_VERSION=15
FROM quay.io/coredb/c-builder:pg${PG_VERSION}

# Clone repository
RUN git clone https://github.com/tvondra/lower_quantile.git

RUN cd lower_quantile && \
make
19 changes: 19 additions & 0 deletions contrib/lower_quantile/Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[extension]
name = "lower_quantile"
version = "1.0.0"
repository = "https://github.com/tvondra/lower_quantile"
license = "BSD-2-Clause"
description = "Provides lower_quantile aggregate function."
documentation = "https://github.com/tvondra/lower_quantile"
categories = ["analytics"]

[build]
postgres_version = "15"
platform = "linux/amd64"
dockerfile = "Dockerfile"
install_command = """
cd lower_quantile && make install
set -x
mv /usr/local/pgsql/share/extension/* /usr/share/postgresql/15/extension
mv /usr/local/pgsql/lib/* /usr/lib/postgresql/15/lib
"""

0 comments on commit 36136d5

Please sign in to comment.