better method for loading foreign keys in PostgreSQL #7

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@juzna
Contributor
juzna commented Aug 1, 2011

It's much faster and works well even if more foreign keys without unique name

@juzna
Contributor
juzna commented Aug 1, 2011

Btw on our big database: original method 2.8s, new method 0.002s. Just EXPLAIN on original method has 129 rows, which means that it's not an easy query to execute.

@vrana
Owner
vrana commented Aug 2, 2011

Included.

@vrana vrana closed this Aug 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment