"Dawid Kuroczko" <qnex42@xxxxxxxxx> writes: > Methinks it would be good idea to discuss a more general approach, > i.e. don't "create" links using existing infrastructure but rather > provide something conceptually similar to CREATE AGGREGATE statements. > In other words, make a remote link a first class object inside PostgreSQL. Please see the archives, particularly past discussions of the SQL-MED standard. We do not need to go inventing our own syntax for this. regards, tom lane