[HACKERS] Parser extensions (maybe for 10?)

2016-04-11 Thread Arcadiy Ivanov
I thought I'd float this idea and see if this gets any traction. Please 
forgive my ignorance if this has been discussed already.


Currently the parser and lexer are fully fixed at compile-time and not 
amenable to the extensions - extensions are only capable of introducing 
functions etc.


There is, however, an advantage to being able if not add or alter 
complete statements (which would be nice), but to at least augment 
portions of syntax for existing ones in some places.


For example PGXL adds the following to CREATE TABLE statement:

[
  DISTRIBUTE BY { REPLICATION | ROUNDROBIN | { [HASH | MODULO ] ( 
column_name ) } } |

  DISTRIBUTED { { BY ( column_name ) } | { RANDOMLY } |
  DISTSTYLE { EVEN | KEY | ALL } DISTKEY ( column_name )
]
[ TO { GROUP groupname | NODE ( nodename [, ... ] ) } ]

Compare:

http://www.postgresql.org/docs/9.5/static/sql-createtable.html
http://files.postgres-xl.org/documentation/sql-createtable.html

Is there any interest and/or tips to allow a pluggable parser or at 
least allow some syntactical pluggability by extensions?
I think this may allow some projects to move towards becoming an 
extension as opposed to forking the project entirely.


Cheers,

--
Arcadiy Ivanov
arca...@gmail.com | @arcivanov | https://ivanov.biz
https://github.com/arcivanov



Re: [HACKERS] Corporate and Individual Contributor License Agreements (CLAs)

2014-10-06 Thread Arcadiy Ivanov

Thank you Magnus.
The absence of legal entity and therefore of CLAs will make for an 
awesome discussion with legal. :D


On 2014-10-06 16:04, Magnus Hagander wrote:

On Mon, Oct 6, 2014 at 9:58 PM, Arcadiy Ivanov arca...@gmail.com wrote:

Hi folks,

My corp (CSC) OSS division requires CLAs to be signed for OSS project
participation to begin. I need to fix a few problems in PGJDBC driver and am
unable to start without them. Neither Google nor PG Wiki contain CLA
licenses and I have no idea where else to look.
PostgreSQL Global Development Group doesn't have its own website nor
mentions any contributors/volunteers on legal side.

Can anyone help by letting me know who to contact or where to look?

This is covered in the Developer FAQ at
http://wiki.postgresql.org/wiki/Developer_FAQ#Do_I_need_to_sign_a_copyright_assignment.3F

Bottom line is, there is no CLA to sign.

(And the PostgeSQL Global Development Group certainly has it's own
website - it's www.postgresql.org)





--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Corporate and Individual Contributor License Agreements (CLAs)

2014-10-06 Thread Arcadiy Ivanov

Thanks Tom.

On 2014-10-06 16:06, Tom Lane wrote:

Arcadiy Ivanov arca...@gmail.com writes:

My corp (CSC) OSS division requires CLAs to be signed for OSS project
participation to begin. I need to fix a few problems in PGJDBC driver
and am unable to start without them. Neither Google nor PG Wiki contain
CLA licenses and I have no idea where else to look.
PostgreSQL Global Development Group doesn't have its own website nor
mentions any contributors/volunteers on legal side.
Can anyone help by letting me know who to contact or where to look?

There are no such agreements for Postgres work.  The community explicitly
rejected the idea more than a dozen years ago.  If your lawyers can't cope
with the concept of informal communities, I'm sorry, but we're not going
to burden ourselves with paperwork in order to make them happy.

regards, tom lane





--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers