mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
ec1e4f8f2e
Pgloader loads data into PostgreSQL using the COPY streaming protocol,and doing so with separate threads for reading and writing data.Asynchronous IO,compiled to the metal programming language. pgloader knows how to read data from MySQL,SQLite or dBase databases,and knows how to discover the schema and properly cast data types over.It also knows how to read CSV files in several definitions of CSV,and fixed columns files. WWW: http://pgloader.io PR: 219165 Submitted by: Jov <amutu@amutu.com>
12 lines
394 B
Bash
12 lines
394 B
Bash
--- pgloader_wrapper.sh.orig 2017-07-14 08:47:14 UTC
|
|
+++ pgloader_wrapper.sh
|
|
@@ -0,0 +1,8 @@
|
|
+#!/bin/sh
|
|
+
|
|
+# There is a bug for current ccl on FreeBSD, which is determine_executable_name
|
|
+# doesn't do the job for FreeBSD. Now we use this script as a workaround. See:
|
|
+# https://github.com/Clozure/ccl/issues/38
|
|
+
|
|
+BIN_DIR="$(cd $(/usr/bin/dirname $0);pwd)"
|
|
+exec "${BIN_DIR}"/pgloader3 "${@}"
|