>>>>> On Mon, 8 Jun 2026 20:18:04 +0200, Pierre Bernhardt said:
> 
> Here are $$ used in do $$ ... end $$ clause.
> These are replaced by the schell with a pid and the step could not
> finished.
> The manual processing by copy & paste from the script to the psql
> console where fine.
> 
> I suggest hiding $$ by the shell should do the trick.
> \$\$ could be used or maybe <<'END-OF-DATA' with ticks.
> But because I made the steps manually I did not test it.
> Maybe some others could find this helpfull.

The update_postgresql_tables script in the Bacula sources uses \$\$, so I
think this is a problem specific to Debian's packaging.  They have modified
the installed update_postgresql_tables for use with their own upgrading code,
which is supposed to run automatically when the package is installed.  That
breaks the script if you try to run it yourself.

__Martin


_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to