londiste.get_table_list: move complex copy logic away
authorMarko Kreen <markokr@gmail.com>
Fri, 30 Dec 2011 12:01:37 +0000 (14:01 +0200)
committerMarko Kreen <markokr@gmail.com>
Fri, 30 Dec 2011 12:01:37 +0000 (14:01 +0200)
commit19ae3faff6f4a4c6bdae73c8f4a9f2f7bf3fed62
treee25f5ccd598753c8cb95fae4224f873dbcbecc9b
parente40699ce2dcd8f21945b8952094bb395d0b17b78
londiste.get_table_list: move complex copy logic away

It is now in separate function and called only
for 'in-copy' and 'catching-up' tables.

Should make things more maintainable and speed up common case.
sql/londiste/functions/londiste.get_table_list.sql