You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dataservices-api/CONTRIBUTING.md

1.3 KiB

Contributing

The issue tracker is at github.com/CartoDB/dataservices-api.

We love pull requests from everyone, see Contributing to Open Source on GitHub.

PostgreSQL

When adding or modifying PostgreSQL functions make sure that the VOLATILITY and PARALLEL categories are updated accordingly.

Please mark public client functions or templates as STABLE even if the internals are VOLATILE to allow the planner to cache results inside a query. For example, in this query we need cdb_geocode_admin1_polygon to be STABLE so it gets called only once (instead of once per row):

SELECT * japank WHERE NOT (the_geom && cdb_geocode_admin1_polygon('Madrid', 'Spain'));

As PARALLEL labels need to be stripped for incompatible PostgreSQL versions, please use PARALLEL SAFE/RESTRICTED/UNSAFE in uppercase so it's handled automatically.

Submitting Contributions

  • You will need to sign a Contributor License Agreement (CLA) before making a submission. Learn more here.