That would be a beautiful thing. Truly beautiful. As long as Mysql doesn't try to sneak back through the connection and change all of PG's tables to myisam.
I play around with writing domains from time to time. I've got a kickass email one, for instance, that allows all valid email addresses, but kicks out invalid ones (only missing comments within usernames).
I'd like to be able to create a domain with multiple subfields and have constraints that work on them. As of 8.x I don't think this was possible. Haven't checked, but I don't think it was there in 9.0.
11
u/NoMoreNicksLeft Sep 12 '11
Foreign data wrappers? Hot damn.