From 27a551fedc39d22a28c28c4f7ff8bc7d6278f298 Mon Sep 17 00:00:00 2001 From: Marco Slot Date: Thu, 28 Apr 2016 15:40:35 +0200 Subject: [PATCH] Add deprecation warning to copy_to_distributed_table --- src/bin/scripts/copy_to_distributed_table | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/scripts/copy_to_distributed_table b/src/bin/scripts/copy_to_distributed_table index 8e81c345b..3da5e8629 100755 --- a/src/bin/scripts/copy_to_distributed_table +++ b/src/bin/scripts/copy_to_distributed_table @@ -1,4 +1,6 @@ #!/usr/bin/env bash +echo "WARNING: copy_to_distributed_table is now deprecated." >&2 +echo "HINT: You can use \\COPY on distributed tables, which is a lot faster." >&2 # make bash behave set -euo pipefail