Re: Query is executing but giving error when using with shell scripting

From: srilinux <srilinux09(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query is executing but giving error when using with shell scripting
Date: 2017-09-14 16:27:40
Message-ID: 1505406460169-0.post@n3.nabble.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Did not help

/usr/bin/psql -U postgres -d coba1 -c "select name from users where Date
> current_date - 30;"`

same error

--
Sent from: http://www.postgresql-archive.org/PostgreSQL-sql-f2142323.html

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message PropAAS DBA 2017-09-17 03:01:21 Odd sql error ..
Previous Message Andreas Kretschmer 2017-09-14 16:21:59 Re: Query is executing but giving error when using with shell scripting