You have issued a command that requires a relation in order to exist.
For example, issuing SET SKIP TO prior to the relation being established would generate this error.