[postgis-devel] [PostGIS] #484: [wktraster] rtpostgis.sql.in.c using old style 1.3 syntax and other arcane stuff

PostGIS trac at osgeo.org
Thu May 27 12:43:09 PDT 2010


#484: [wktraster] rtpostgis.sql.in.c using old style 1.3 syntax and other arcane
stuff
------------------------+---------------------------------------------------
  Reporter:  robe       |       Owner:  pracine         
      Type:  task       |      Status:  new             
  Priority:  low        |   Milestone:  WKTRaster Future
 Component:  wktraster  |     Version:  trunk           
Resolution:             |    Keywords:                  
------------------------+---------------------------------------------------
Comment (by pracine):

 So many things here:

 1) Replace "CREATEFUNCTION" with "CREATE OR REPLACE FUNCTION". Actually
 all the macros defined at the beginning of the file with their real
 values.

 2) Lower case the function names. I checked the PostGIS file and there is
 a mix of camel case and lowercase names. What to do when?

 3) Add a cost. Again I checked the PostGIS file and there is a mix of with
 and without cost. What to do when?

 4) Name the input variables.

 5) Use $$ instead of ' to delimitate code.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/484#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list