#433 PostGres Archive Stored Procedures for Optimized Requests

Stored functions and procedures for server-side determination of "optimized"samples, similar to Oracle/MySQL implementation : Transform the sample data for a given set of PV's.