I know this one. It can be empty, which a singleton cannot be. For a singleton table, you should have one and only one row, you cannot insert or delete, so this is only part of the real thing.

Surely we can do a bit better than that, if that's what you really want.
Create the table with an initial row and add a trigger preventing anything except update.

Yes.

I just meant that this is not available easily "out of the box", but it is obviously doable with some effort... which people would seldom do.

--
Fabien.


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to