> > For example, if I define a variable called "relkind", then psql's \sv > meta-command is broken because the query it performs can't distinguish > between the column and the variable. > > If variables use : as prefix you´ll never have these conflicts.
select relkind from pg_class where relkind = :relkind