Conditional join in function

From: Jack <postgresql(at)walla(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Conditional join in function
Date: 2017-05-15 17:00:13
Message-ID: 1494867613675-5961715.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I'm new to postgresql and couldn't find answer to this situation anywhere.
I asked this here:
http://stackoverflow.com/questions/43984208/coditional-join-of-query-using-postgresql

I hope there is a better solution rather than creating two separated
functions :(

--
View this message in context: http://www.postgresql-archive.org/Conditional-join-in-function-tp5961715.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Browse pgsql-general by date

  From Date Subject
Next Message Nick Dro 2017-05-15 17:02:04 Coditional join of query using PostgreSQL
Previous Message Andreas Joseph Krogh 2017-05-15 15:24:40 How to include BIGINT-column in RUM-index sorted by timestamp