> People can and do misuse things all the bloody time, and the more you enable them to do that, the worse your tool is.
By that measure, PostgreSQL is a horrible database. After all look what happens when I do this:
CREATE TABLE foo (
id serial not null unique,
bar text primary key
);
CREATE TABLE foobar (
chunk_id serial not null unique,
foos foo[]
);
INSERT INTO foobar (foos) values (array[row(1, null)::foo, row(2, '1323')::foo, row(3, '2222')::foo]);
select * from foobar;
I mean my gods. Such horrible misuse of a relational db!
By that measure, PostgreSQL is a horrible database. After all look what happens when I do this:
I mean my gods. Such horrible misuse of a relational db!