adrian.klaver@xxxxxxxxxxx wrote: Thanks, all, for your replies. I'd assumed that the arguments of "set search_path" had to be SQL names. so I tried "". But that caused an error. I didn't try the ordinary empty string because I'd assumed that, as an illegal SQL name, it would be illegal in "set search_path". Hmm... I'm slightly troubled by "works right now":
But because you experts all recommend it, I'll go with it. It's more expressive of what I mean than is using "pg_catalog". (I'm assuming that having such an unwritable schema inevitably on the search_path is simply an entirely benign benefit. But it could give a strange message to the reader in my use case.) |