Running a query from the OS CLI

Поиск
Список
Период
Сортировка
От Gauthier, Dave
Тема Running a query from the OS CLI
Дата
Msg-id D7FF158337303A419CF4A183F48302D602F19224@hdsmsx411.amr.corp.intel.com
обсуждение исходный текст
Ответы Re: Running a query from the OS CLI
Re: Running a query from the OS CLI
Re: Running a query from the OS CLI
Список pgsql-general

If I have a DB called “foo”

...and...

I want to run “select name from table_a where name like ‘john%’”

...and...

I want no table header “NAME” in the output

...and...

I want to do this as a one-liner from the linux command line

...and...

I don’t want to have to deal with intermediate files or home-grown programs...

 

Is this possible?

 

 

 

 

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

Предыдущее
От: luca.ciciriello@email.it
Дата:
Сообщение: Re: PostgreSQL and cluster
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Dealing with tsvector in fuctions for data split