Re: PostgreSQLs Extension

From: "Anderson C(dot) Carniel" <accarniel(at)gmail(dot)com>
To: <jaime(at)2ndquadrant(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PostgreSQLs Extension
Date: 2012-07-29 00:36:22
Message-ID: BAY167-W1087D0042FF0C7097147224B4C70@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hi!
Thanks for quick response.
> you can create new data types, new operators, new types of indexes if
> you want... the question is, what are you trying to do?
I want to define a new type of geographic data, as well as the PostGIS's data. Also, my intention is to define new topological operators (eg intersection). For this, I wonder if using the approach of User-Defined Types is best. With this approach can I change the query processing to handle the new type the way I want? This approach directly affects the performance in query processing?

> what kind of changes?

Also, maybe I'll make changes to the SQL language and implement them in PostgreSQL. Per example, changes in syntax and define new reserved words (for any specific treatment, when it detected my data type).
Thanks for help.
Best regards,
Anderson Carniel[]s
> From: jaime(at)2ndquadrant(dot)com
> Date: Fri, 27 Jul 2012 19:51:53 -0500
> Subject: Re: [HACKERS] PostgreSQLs Extension
> To: accarniel(at)gmail(dot)com
> CC: pgsql-hackers(at)postgresql(dot)org
>
> On Thu, Jul 26, 2012 at 2:56 PM, Anderson C. Carniel
> <accarniel(at)gmail(dot)com> wrote:
> >
> > -> I need to set a new data type specific, as the PostGIS. I saw that in
> > PostgreSQL's Documentation there is a User-Defined Types. This is the best
> > way to define a new data type? Using this approach, can I define the way
> > queries are processed and thus define new operators? Or would I define
> > functions via pgsql for this? It was not clear to me.
>
> you can create new data types, new operators, new types of indexes if
> you want... the question is, what are you trying to do?
>
> > -> Also, how could I make changes to the SQL language in PostgreSQL?
> >
>
> what kind of changes?
>
> --
> Jaime Casanova www.2ndQuadrant.com
> Professional PostgreSQL: Soporte 24x7 y capacitación

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2012-07-29 02:23:56 Re: Adding probes for smgr
Previous Message Tom Lane 2012-07-28 22:37:47 Re: SP-GiST for ranges based on 2d-mapping and quad-tree