macro/inline table valued functions

From: Bret Green <bret(dot)green(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: macro/inline table valued functions
Date: 2010-09-22 00:24:32
Message-ID: 311929.28472.qm@web120406.mail.ne1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there anything like a macro or an inline table valued function in postgres?
i.e I define a query as a function/macro and reuse the function in queries and
the dbms will expand the function/macro to its definition, thus avoiding any
overhead.

If not what is the closest thing?

Thanks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aleksey Tsalolikhin 2010-09-22 00:47:01 Re: ERROR: cache lookup failed for type 14237017
Previous Message Joshua J. Kugler 2010-09-21 23:28:07 Re: versioned pl/pgsql functions