Re: [HACKERS] psql: server version check for \dO

2012-05-10 Thread Magnus Hagander
On Thu, May 10, 2012 at 7:09 AM, Josh Kupershmidt wrote: > Hi all, > > I think psql's \dO command is missing the server version check which > similar commands such as \dx use. Right now \dO errors out with: > > test=# \dO > ERROR:  relation "pg_catalog.pg_collation" does not exist > > when talking

[HACKERS] psql: server version check for \dO

2012-05-09 Thread Josh Kupershmidt
Hi all, I think psql's \dO command is missing the server version check which similar commands such as \dx use. Right now \dO errors out with: test=# \dO ERROR: relation "pg_catalog.pg_collation" does not exist when talking to servers older than 9.1, which don't have pg_collation. Simple patch f