pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPg_restore on 7.2 from 7.1 under cygwin
3+ messages / 2 participants
[nested] [flat]
* Pg_restore on 7.2 from 7.1 under cygwin
@ 2002-03-13 02:12 Don Saxton <euphobot@pacbell.net>
2002-03-13 07:15 ` Re: Pg_restore on 7.2 from 7.1 under cygwin Oliver Elphick <olly@lfix.co.uk>
0 siblings, 1 reply; 3+ messages in thread
From: Don Saxton @ 2002-03-13 02:12 UTC (permalink / raw)
To: pgsql-admin
Having restored to 7.2 under cygwin from a 7.1 cygwin on another computer, I
get this chilling response to \dt from psql:
"less:not found", I had hoped for more...
The pg_dump was
pg_dump -b -Fc gbap | gzip > gbap.gz
The pg_restore was
gzip -c -d | pg_restore -c -d gbap -v
I had created gbap database before the restore.
The pg_restore seems to happily complete, although it doesn't end with
anything I could call a confirmation, except the return to cygwin prompt.
It's when I try to "psql gbap" and either \dt or select * from any table
that I expect, that I get "less: not found".
I have searched and read every posting on pg_restore without finding
anything like this. Could I have screwed up something before the restore in
the postges 7.2 install? It seemed to create the database well.
thanks.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Pg_restore on 7.2 from 7.1 under cygwin
2002-03-13 02:12 Pg_restore on 7.2 from 7.1 under cygwin Don Saxton <euphobot@pacbell.net>
@ 2002-03-13 07:15 ` Oliver Elphick <olly@lfix.co.uk>
2002-03-13 16:52 ` Re: Pg_restore on 7.2 from 7.1 under cygwin Don Saxton <euphobot@pacbell.net>
0 siblings, 1 reply; 3+ messages in thread
From: Oliver Elphick @ 2002-03-13 07:15 UTC (permalink / raw)
To: Don Saxton <euphobot@pacbell.net>; +Cc: pgsql-admin
On Wed, 2002-03-13 at 02:12, Don Saxton wrote:
> The pg_restore seems to happily complete, although it doesn't end with
> anything I could call a confirmation, except the return to cygwin prompt.
> It's when I try to "psql gbap" and either \dt or select * from any table
'less' is a pager program, like 'more' but with more capabilities. Just
tell psql to use a different pager:
$ PAGER=more psql ...
or install 'less'.
According to the psql man page, 'more' is used by default, but this no
longer seems to be the case.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
"Who is like Thee among the gods, O Lord? Who is like
Thee, majestic in holiness, awesome in praises,
working wonders?"
Exodus 15:11
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Pg_restore on 7.2 from 7.1 under cygwin
2002-03-13 02:12 Pg_restore on 7.2 from 7.1 under cygwin Don Saxton <euphobot@pacbell.net>
2002-03-13 07:15 ` Re: Pg_restore on 7.2 from 7.1 under cygwin Oliver Elphick <olly@lfix.co.uk>
@ 2002-03-13 16:52 ` Don Saxton <euphobot@pacbell.net>
0 siblings, 0 replies; 3+ messages in thread
From: Don Saxton @ 2002-03-13 16:52 UTC (permalink / raw)
To: Oliver Elphick <olly@lfix.co.uk>; +Cc: pgsql-admin
Thanks Oliver.
installing 'less' fixed it up.
> 'less' is a pager program, like 'more' but with more capabilities. Just
> tell psql to use a different pager:
>
> $ PAGER=more psql ...
>
> or install 'less'.
>
>
> According to the psql man page, 'more' is used by default, but this no
> longer seems to be the case.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2002-03-13 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-03-13 02:12 Pg_restore on 7.2 from 7.1 under cygwin Don Saxton <euphobot@pacbell.net>
2002-03-13 07:15 ` Oliver Elphick <olly@lfix.co.uk>
2002-03-13 16:52 ` Don Saxton <euphobot@pacbell.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox