<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2>In sql/mm, it seems only one sql funtion has get/set semantic, 
that is st_srid.</FONT></DIV>
<DIV><FONT size=2>get version: st_srid()</FONT></DIV>
<DIV><FONT size=2>set version: st_srid(srid num)</FONT></DIV>
<DIV><FONT size=2>same funtion name ,and different para, we could call it as 
overroad mode.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>now we are doing with  raster, there are many get/set 
semantic sql funtions, we may have 3 choices: </FONT></DIV>
<DIV><FONT size=2>(1) overroad mode: rt_value(raster, integer, integer, integer, 
float8) and rt_value(raster, integer, integer, integer)</FONT></DIV>
<DIV><FONT size=2>(2) explicit set/get mode: rt_setvalue(raster, integer, 
integer, integer, float8) and rt_getvalue(raster, integer, integer, 
integer)</FONT></DIV>
<DIV><FONT size=2>(3) explicit set/implict get mode: rt_setvalue(raster, 
integer, integer, integer, float8) and rt_value(raster, integer, integer, 
integer)</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>which form of name convention should we follow? 
</FONT></DIV>
<DIV><FONT size=2>My view is: </FONT></DIV>
<DIV><FONT size=2>(2) is clarity, but as for many long name functions, plus 
get/set seems verbose</FONT></DIV>
<DIV><FONT size=2>(1) seems close to standard, but sql/mm only has jut one model 
- st_srid could follow,and semantic seems not very clear when funtion 
in sql statement(is it?).</FONT></DIV>
<DIV><FONT size=2>(3) is OK, but lack of symmetrical 
beauty.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Jiong</FONT></DIV>
<P>
<HR>

<P></P>_______________________________________________<BR>postgis-commits 
mailing 
list<BR>postgis-commits@postgis.refractions.net<BR>http://lists.refractions.net/mailman/listinfo/postgis-commits<BR></BODY></HTML>