From: Andrei Pavel Date: Thu, 17 Jun 2021 09:30:32 +0000 (+0000) Subject: [#90] escape $ char X-Git-Tag: eng-drop-2021-11-10~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d77de06ac786d91117dfd2df816dbeff1f89b278;p=thirdparty%2Fkea.git [#90] escape $ char --- diff --git a/src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in b/src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in index b48154740b..4891eb579e 100644 --- a/src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in +++ b/src/share/database/scripts/pgsql/upgrade_6.2_to_7.0.sh.in @@ -48,7 +48,7 @@ START TRANSACTION; -- First, we need to define a function that will do the actual job. -- This is used in many, many tables. CREATE OR REPLACE FUNCTION modification_ts_update() - RETURNS trigger AS $modification_ts_update$ + RETURNS trigger AS \$modification_ts_update\$ BEGIN new.modification_ts = CURRENT_TIMESTAMP; END;