Subject: unexpected termination of monitor

From: Dik Lee <[email-masked]>
Date: Wed, 24 Jul 91 14:51:39 -0700

When I query a nonexistent relation, monitor will report a warning and
return to the * prompt. But when I query pg_relation in my own database,
which doesn't have pg_relation, monitor will return to the unix shell.
Is this supposed to be a bug in postgres? The following is the script:

lasagna 604> monitor -h lasagna
Welcome to the C POSTGRES terminal monitor

Go
* retrieve (pg_relation.all)\g

Query sent to backend is "retrieve (pg_relation.all)"
NOTICE:Jul 24 17:46:56:RelationBuildDesc: (relation name pg_relation) nonexistent
Error: Unexpected response from the backend, exiting...

lasagna 605> monitor -h lasagna
Welcome to the C POSTGRES terminal monitor

Go
* retrieve (TR.all)\g

Query sent to backend is "retrieve (TR.all)"
NOTICE:Jul 24 17:47:28:RelationBuildDesc: (relation name TR) nonexistent

WARN:Jul 24 17:47:28:amopenr on TR failed

Go
*