Bug in pg_dump

From: Alejandro Meseguer <alex(dot)meseguersilvestre(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug in pg_dump
Date: 2019-12-10 11:03:24
Message-ID: CAM00iu_BG0tFhn+1n4g+eAFpJ-JYBBDLCVdU8-kviyzU6vW79w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hello, I have created a SH file, named "copia.sh", with this code:

*#!/bin/bashRUTASALIDA="copiaSeguridadLuminarias.backup"RENOMBRE="luminarias-$(date
+%F).backup"pg_dump --host=localhost --port=5432 --username=postgres
--no-password --table=srv_industriales.luminarias postgis --format custom
--blobs -v --file=$RUTASALIDA*

When I run this file in a virtual machine whit unix using the command "sh
copia.sh", it is created the file with name
"copiaSeguridadLuminarias.backup?".

Would you tell me why add the interrogation character in the name file?

Thank for your help.

Best regards, Álex Meseguer.

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2019-12-10 12:27:13 BUG #16158: Check constraints using SQL functions work incorrectly
Previous Message cilizili 2019-12-10 09:51:29 Re: BUG #16157: handling of pg_malloc(0)