On Sunday 26 October 2003 23:03, Alvaro Herrera wrote:
> On Sun, Oct 26, 2003 at 10:02:22PM +0000, Oliver Kohll wrote:
> > I can't seem to retrieve a comment on a table column. The following copy
> > from psql should I think return a comment:
> >
> > mydatabase=> SELECT relnamespace FROM pg_class WHERE relname='car';
> > relnamespace
> > --------------
> > 2200
> > (1 row)
>
> Try using relfilenode instead of relnamespace.
Great, thanks Alvaro. The webpage I found the original code in must have been
wrong but that's it.
Oliver