From 25d83394b0eac6d1fd689fd5e06ce331cc07de43 Mon Sep 17 00:00:00 2001 From: Nikolai Gut Date: Fri, 25 Aug 2023 07:22:27 +0200 Subject: [PATCH 1/2] use original index name case sensitive in pgsql --- src/pgsql/pgsql-ddl.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pgsql/pgsql-ddl.lisp b/src/pgsql/pgsql-ddl.lisp index 03e8962d..4b91eeee 100644 --- a/src/pgsql/pgsql-ddl.lisp +++ b/src/pgsql/pgsql-ddl.lisp @@ -198,7 +198,7 @@ ;; LOCK on the table before we have the index done already (or (index-sql index) (format stream - "CREATE UNIQUE INDEX ~a ON ~a (~{~a~^, ~})~@[ WHERE ~a~];" + "CREATE UNIQUE INDEX \"~a\" ON ~a (~{~a~^, ~})~@[ WHERE ~a~];" index-name (format-table-name table) (index-columns index) @@ -224,7 +224,7 @@ (multiple-value-bind (access-method expression) (index-access-method index) (format stream - "CREATE~:[~; UNIQUE~] INDEX ~a ON ~a ~@[USING ~a~](~{~a~^, ~})~@[ WHERE ~a~];" + "CREATE~:[~; UNIQUE~] INDEX \"~a\" ON ~a ~@[USING ~a~](~{~a~^, ~})~@[ WHERE ~a~];" (index-unique index) index-name (format-table-name table) From 4911275971e318fe8c77c5b970a2c1f92fcb5ecc Mon Sep 17 00:00:00 2001 From: Nikolai Gut Date: Thu, 31 Aug 2023 15:58:58 +0200 Subject: [PATCH 2/2] install libssl1.1 without apt --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ec636e30..969e7545 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM debian:stable-slim as builder + RUN apt-get update && apt-get install -y wget + RUN wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb + RUN dpkg -i libssl1.1_1.1.1-1ubuntu2.1~18.04.23_amd64.deb + RUN apt-get update \ && apt-get install -y --no-install-recommends \ bzip2 \ @@ -9,7 +13,6 @@ FROM debian:stable-slim as builder gawk \ git \ libsqlite3-dev \ - libssl1.1 \ libzip-dev \ make \ openssl \