Обсуждение: pgsql-novice@postgresql.org

Поиск
Список
Период
Сортировка

pgsql-novice@postgresql.org

От
Ubence Quevedo
Дата:
What would the command be to have a query result be put into a
location/space sensitive file [position 1 through 5 would be one thing
where position 6 through 10 would be the next field, 11 through 16
another, etc]?  Is this even possible with Postgres?

Re: pgsql-novice@postgresql.org

От
"Andrej Ricnik-Bay"
Дата:
On 17/02/2008, Ubence Quevedo <r0d3nt@pacbell.net> wrote:
> What would the command be to have a query result be put into a
> location/space sensitive file [position 1 through 5 would be one thing
> where position 6 through 10 would be the next field, 11 through 16
> another, etc]?  Is this even possible with Postgres?
Like in
echo "select column from table;"| psql |tee output
?


Cheers,
Andrej


--
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm