Outline of elk from postgres example