Sorry I'm new to Postgresql (switched from MySQL due to its horrible performance) so I have a question regarding PSQL replication. Does foreign keys work in Postgresql with replication?
My guess is that syncing across multiple instances definitely has overhead and if a foreign key has to be checked before insertion, there'll be a performance penalty. Therefore, I don't know whether foreign keys work but slow or just don't work at all?