Re: Adding a new Clause in the Source Code

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Stefan Wagner <s_wagner1(at)gmx(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Adding a new Clause in the Source Code
Date: 2017-08-14 13:01:01
Message-ID: cdf6975b-abbc-8f26-9da9-909453654da3@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 8/14/17 04:14, Stefan Wagner wrote:
> I would really appreciate if someone could hack me a quick example of a
> new clause lets call it ADDITIONAL with Keywords HIGH, LOW to order
> columns. I just want the construct. What
> the Keywords accomplish and the Algorithm is something I'm gonna try to
> figure out on my own. I just need to know in which File and which Line I
> need to enter my Code.

For projects like this, figuring out all the places where to change
things is often half the work.

If I were to approach this, I would see how ORDER BY is implemented and
track all those places down and then see whether I need to make
analogous changes there.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fabiana Zioti 2017-08-14 18:18:39 Development of an extension for PostgreSQL and PostGIS
Previous Message Stefan Wagner 2017-08-14 08:14:02 Adding a new Clause in the Source Code