<div dir="ltr">For those with an over-riding interest in such things, I tracked down the question of aggregates with default arguments and the trail ends here about 7 years ago<div><br></div><div><a href="http://www.postgresql-archive.org/Drop-one-argument-string-agg-was-Re-BUGS-string-agg-delimiter-having-no-effect-with-order-by-td2264527.html#a2264750">http://www.postgresql-archive.org/Drop-one-argument-string-agg-was-Re-BUGS-string-agg-delimiter-having-no-effect-with-order-by-td2264527.html#a2264750</a><br></div><div><br></div><div>Basically Tom removed a multi-argument version of string_agg (I didn't quite grok the reasons *why* it was causing problems for pg_upgrade...) and stated that so doing would also preclude having aggregates with defaults.</div><div><br></div><div>The catalog structures are perfectly amenable to aggregates with defaults, as they ride along in the same pg_proc catalog as ordinary functions. But it looks like there's some deeper reasons they are difficult too.</div><div><br></div><div>ATB,</div><div><br>P</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 7, 2017 at 2:14 PM, Regina Obe <span dir="ltr"><<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div class="m_9128119881110465211WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I was hoping to get an RC out like by mid / late next week.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">To beat PostgreSQL 10 RC planned 9/14 launch<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="https://www.postgresql.org/message-id/26618.1503689851@sss.pgh.pa.us" target="_blank">https://www.postgresql.org/<wbr>message-id/26618.1503689851@<wbr>sss.pgh.pa.us</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">So sooner the better.  I think once we release RC we really shouldn't even be making changes like this anymore that are user facing.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regina<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Björn Harrtell [mailto:<a href="mailto:bjorn.harrtell@gmail.com" target="_blank">bjorn.harrtell@gmail.<wbr>com</a>] <br><b>Sent:</b> Thursday, September 07, 2017 5:06 PM<br><b>To:</b> Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>><span class=""><br><b>Cc:</b> Regina Obe <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>>; PostGIS Development Discussion <<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank">postgis-devel@lists.osgeo.org</a><wbr>><br><b>Subject:</b> Re: [postgis-devel] geom_name<u></u><u></u></span></span></p><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:.5in">I'm pro multiple agg definitions to get this as nice as possible. After all it's just two additional variants as ST_AsMVTGeom is not an aggregate.<u></u><u></u></p><div><div class="h5"><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">Do I get a deadline?<u></u><u></u></p><div><div><p class="MsoNormal" style="margin-left:.5in"><br>/Björn<u></u><u></u></p><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:.5in">2017-09-07 22:59 GMT+02:00 Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>>:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal" style="margin-left:.5in">On Sep 7, 2017, at 1:49 PM, Björn Harrtell <<a href="mailto:bjorn.harrtell@gmail.com" target="_blank">bjorn.harrtell@gmail.com</a>> wrote:<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><div><p class="MsoNormal" style="margin-left:.5in">Most annoying agitation! Because it's backed with sound reasoning and clear improvement to current state.<u></u><u></u></p><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">So, I'm open to make these changes. It's now or never right.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">However, one limiting factor is that I'm fairly certain aggregate functions do not support the DEFAULT keyword for parameters (affecting ST_AsMVT).<u></u><u></u></p></div></div></div></blockquote><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">Damn.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">You seem to be right. The raster aggregates show the pattern of multiple agg definitions to support different parameter patterns,  and extra transfns for each pattern. That’s probably required so that the back-end can match up the parameters of the aggregate to the parameters of the transfn to use the correct one. <u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">So the goal of having simpler userland signatures for the aggregates runs into causing a much uglier situation in the set-up scripts. The C code can probably remain simple, but it then looks much as it does now, with checks for NULL parameters and use of defaults in those cases.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">I’m still kind of in favour of it, since a clean userland is nice. On the other hand, folks using these kinds of functions are probably using them in software (mapnik, geoserver, etc), not by hand, so they’ll write one (ugly) query once, then never look at it again.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">Arguments pro and con?<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888"><u></u> <u></u></span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">P<u></u><u></u></span></p></div><div><div><p class="MsoNormal" style="margin-left:.5in"><br><br><u></u><u></u></p><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">/Björn<u></u><u></u></p><div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:.5in">2017-09-07 22:39 GMT+02:00 Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>>:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><p class="MsoNormal" style="margin-left:.5in">Actually, no, I’d like to see signature changes… in particular, <u></u><u></u></p><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">bytea ST_AsMVT(text layer_<wbr>name, anyelement row,  int4 extent default 4096, text geom_name default NULL);<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">geometry ST_AsMVTGeom(<wbr>geometry geom, box2d bounds, int4 extent default 4096, int4 buffer default 0, bool clip_geom default true);<br>bytea ST_AsGeobuf(anyelement <wbr>row, text geom_name default NULL);<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><br>Then the presence of (geom_name == NULL) implies “automagically use the first geometry you find”<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">And the null checks on extent, buffer, clip_geom can be dropped since PgSQL will automatically in-fill the defaults<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">You don’t have to do the above, I’m just agitating for it.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">Agitate, agitate.<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888"><u></u> <u></u></span></p></div><div><p class="MsoNormal" style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><span style="color:#888888">P.<u></u><u></u></span></p></div><div><div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal" style="margin-left:.5in">On Sep 7, 2017, at 1:34 PM, Björn Harrtell <<a href="mailto:bjorn.harrtell@gmail.com" target="_blank">bjorn.harrtell@gmail.com</a>> wrote:<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><div><p class="MsoNormal" style="margin-left:.5in">So we are agreed that there will be no signature change? Instead I will work towards an implementation and documentation change for geom_name to the following:<u></u><u></u></p><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">"geom_name is the name of the geometry column in the row data. If NULL it will default to use the first geometry column in the row data."<u></u><u></u></p></div><div><div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">/Björn<u></u><u></u></p><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-left:.5in">2017-09-07 21:08 GMT+02:00 Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank">pramsey@cleverelephant.ca</a>>:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in">Yes, take the first one unless the geom_name is provided. So geom_name would default to NULL and NULL would mean “the first one you find"<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">P<u></u><u></u></span></p></div><div><div><div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal" style="margin-left:.5in">On Sep 7, 2017, at 12:06 PM, Regina Obe <<a href="mailto:lr@pcorp.us" target="_blank">lr@pcorp.us</a>> wrote:<u></u><u></u></p></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p><div><div><div><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Just to add to this to make sure I'm following:</span><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">For this question:</span><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">> Also, a bit late in the day, but why the text parameter "geom_name" in these various signatures, instead of automagically finding it in the row?<u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">> ?<u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">> P</span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888"> </span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">Is it ever possible that an MVT row could have more than one geometry column.  I assume so.  If so I think it might be good to keep the geom_name field though perhaps make it a default option and in that case it picks the first one it finds.  Similar to how we do pgsql2shp where you can explicitly set the geometry column or have pgsql2shp do it's thing and just pick the first one it finds.</span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888"> </span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888"> </span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">Thanks,</span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">Regina</span><u></u><u></u></p></div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Regina Obe [<a href="mailto:lr@pcorp.us" target="_blank"><span style="color:purple">mailto:lr@pcorp.us</span></a>]<span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"> </span><br><b>Sent:</b><span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"> </span>Thursday, September 07, 2017 2:57 PM<br><b>To:</b><span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"> </span>'PostGIS Development Discussion' <<a href="mailto:postgis-devel@lists.osgeo.org" target="_blank"><span style="color:purple">postgis-devel@lists.osgeo.org</span></a><wbr>>; 'Björn Harrtell' <<a href="mailto:bjorn@wololo.org" target="_blank"><span style="color:purple">bjorn@wololo.org</span></a>><br><b>Cc:</b><span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"> </span>'Paul Ramsey' <<a href="mailto:pramsey@cleverelephant.ca" target="_blank"><span style="color:purple">pramsey@cleverelephant.ca</span></a>><br><b>Subject:</b><span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"> </span>RE: [postgis-devel] geom_name</span><u></u><u></u></p></div></div></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div><div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#1f497d">><span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"> </span></span>We should ask about API changing, I'm sure Regina would say we're done, which effectively means done-for-all-time, since changing public function signatures is basically impossible one they are done.<u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><br><span style="color:#1f497d">><span class="m_9128119881110465211gmail-m5617502073114717613gmail-m-2507188723144682639gmail-m-131321399945203073apple-converted-space"> </span></span>P<u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I'm fine with you changing the API now before final 2.4.0 release.  I promised no new functions, not no new API changes to new 2.4 functions.</span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I think it would be good to drop the old signature in the postgis_drop_before.sql  since some people have already started using the MVT functions.</span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">If it impacts existing code, we should also put in BREAKING CHANGE for postgis -2.4.0  the change so people are warned and know how to change their code if they were using an earlier postgis 2.4.0dev</span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks,</span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regina</span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div><div style="margin-left:.5in"><p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">On Thu, Sep 7, 2017 at 10:45 AM, Björn Harrtell <<a href="mailto:bjorn.harrtell@gmail.com" target="_blank"><span style="color:purple">bjorn.harrtell@gmail.com</span></a>> wrote:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">Hi Paul,<u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">No good reason except that I couldn't find out a deterministic way to find it and put it out of my mind after that. :(<u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">With some guidance I'll be happy to revise the API if it's not too late at this point.<u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888"> </span><u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">/Björn</span><u></u><u></u></p></div></div><div><div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"> <u></u><u></u></p></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">2017-09-07 19:41 GMT+02:00 Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca" target="_blank"><span style="color:purple">pramsey@cleverelephant.ca</span></a>>:<u></u><u></u></p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">Also, a bit late in the day, but why the text parameter "geom_name" in these various signatures, instead of automagically finding it in the row?<u></u><u></u></p></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in">?<u></u><u></u></p></div></div><div><div style="margin-left:1.0in"><p class="MsoNormal" style="margin-left:.5in"><span style="color:#888888">P</span><u></u><u></u></p></div></div></div></blockquote></div></div></div></div></div></blockquote></div></div></div></div></blockquote></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div></div></div></blockquote></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div></div></div></div></div></div></blockquote></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div></div></div></div></blockquote></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div></div></div></div></div></blockquote></div></div></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div></blockquote></div><p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p></div></div></div></div></div></div></div></div></div></blockquote></div><br></div>