Re: 7.4 quoting

Поиск
Список
Период
Сортировка
От Arjen Nienhuis
Тема Re: 7.4 quoting
Дата
Msg-id AANLkTikycLLkQWhf0UykiJRPrkULc9PFi0EcWQp=xX9B@mail.gmail.com
обсуждение исходный текст
Ответ на 7.4 quoting  (Steve Clark <sclark@netwolves.com>)
Ответы Re: 7.4 quoting  (Arjen Nienhuis <a.g.nienhuis@gmail.com>)
Список pgsql-general
On Thu, Mar 31, 2011 at 18:56, Steve Clark <sclark@netwolves.com> wrote:
> Hi List,
>
> I am having a problem trying to do the following:
> ssh postgres@192.168.198.93 'psql -Atc "select a.interface,
> a.source_ip,a.dest_ip from kernel_gre a, ospfd_interface b where a.interface
> = b.interface and config ilike '%cost 50%';" config.db'
>
> bash turns it into this:
> ssh postgres@192.168.198.93 'psql -Atc "select a.interface,
> a.source_ip,a.dest_ip from kernel_gre a, ospfd_interface b where a.interface
> = b.interface and config ilike %cost' '50%;" config.db'
try:

ssh postgres@192.168.198.93 'psql -Atc "select a.interface,
a.source_ip,a.dest_ip from kernel_gre a, ospfd_interface b where
a.interface = b.interface and config ilike '%cost 50%';" config.db'

which bash turns into:

ssh postgres@192.168.198.93 psql -Atc "select a.interface,
a.source_ip,a.dest_ip from kernel_gre a, ospfd_interface b where
a.interface = b.interface and config ilike '%cost 50%'" config.db

В списке pgsql-general по дате отправления:

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Re: [HACKERS] Date conversion using day of week
Следующее
От: Arjen Nienhuis
Дата:
Сообщение: Re: 7.4 quoting