> Something like this:
> create adhoc table foo ();
> insert into foo (name, rank, serial) values ('joe', 'sargent', '42');
> In an "ad-hoc" table type, when an insert is made, and a column is not
> found, then a new varchar column is added.
> I know the idea has a lot of holes, and is probably a bad idea, but it
> answers an important problem of easily mapping programmatic types to a
Seems like a table with one contrib/hstore column might be more relevant
to this guy's idea of how to do database design.
regards, tom lane