<div dir="ltr">I'm extremely sorry for the late reply. I don't use this mail id frequently. For now, I made install plpython3u as a dependency (I wasn't aware of your concern). I'll see if there is a way to make it optional because the functions that I have written right now need the plpython3u extension for testing. May I know how exactly the plpythonu extension is dangerous in your case? I mean the users can create their own function and run it, this might be a problem as it makes us susceptible to SQL injection attacks of sorts. Do you have any ideas/suggestions on how I could achieve this?<div><br></div><div>Regards</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 1, 2022 at 2:00 AM Imre Samu <<a href="mailto:pella.samu@gmail.com">pella.samu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Manas, <div><br><div>Thank you for working on this topic.<br></div><div><br></div><div>> figure out how to add python ortools to pgrouting requirements</div><div><br></div><div>I don't know all the details, so apologies if my comment is too early or already known.<br></div><div><br></div><div>if it can be done, it would be ideal for me ( as a user )  if the plpython3u system requirement was optional and not mandatory.</div><div>Now the plpythonu is an “untrusted” language[1] <br></div><div>  and is not allowed to be installed in many places;  ( ~ strict security policy ) </div><div><br></div><div>[1] <a href="https://www.postgresql.org/docs/14/plpython.html" target="_blank">https://www.postgresql.org/docs/14/plpython.html</a> <br></div><div><i>"The writer of a function in untrusted PL/Python must take care that the function cannot be used to do anything unwanted, since it will be able to do anything that could be done by a user logged in as the database administrator.  Only superusers can create functions in untrusted languages such as plpythonu."   </i></div><div><br></div><div>Regards,</div><div> Imre</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Manas Sivakumar <<a href="mailto:callmehero350@gmail.com" target="_blank">callmehero350@gmail.com</a>> ezt írta (időpont: 2022. júl. 31., V, 21:09):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="margin:0px;padding:0px 0px 20px;width:1048px;font-family:Roboto,RobotoDraft,Helvetica,Arial,sans-serif;font-size:medium"><div><div id="gmail-m_2099248061469309524gmail-m_-4642724860630536361gmail-:2i" style="direction:ltr;margin:8px 0px 0px;padding:0px;font-size:0.875rem"><div id="gmail-m_2099248061469309524gmail-m_-4642724860630536361gmail-:mt" style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:small;line-height:1.5;font-family:Arial,Helvetica,sans-serif;overflow:hidden"><div dir="ltr"><div>Hello Everyone,<br></div><div>This is my week 7 report of the official coding period July 25th - July 31th.</div><div>This also marks my first report for the second coding period.</div><div><br></div><div><b>What have I done this week?</b><br></div><div><ul><li style="margin-left:15px">Implemented multiple_knapsack in PL/Python</li><li style="margin-left:15px">Implemented bin_packing in PL/Python</li><li style="margin-left:15px">Converted knapsack from c++ to PL/Python</li></ul><div><b>What do I plan to do next week?</b><br></div></div><div><ul><li style="margin-left:15px">figure out how to add python ortools to pgrouting requirements</li></ul><div><b>Am I blocked on anything?</b><br></div></div><div><ul><li style="margin-left:15px">No</li></ul><div><div>Any feedback, comments and suggestions are welcome.</div><div>Pull Request : <a href="https://github.com/pgRouting/GSoC-pgRouting/pull/241" target="_blank">https://github.com/pgRouting/GSoC-pgRouting/pull/241</a></div></div></div></div><div></div><div></div></div></div><div style="border-bottom-left-radius:1px;border-bottom-right-radius:1px;padding:0px;width:auto;background:rgb(242,242,242);margin:0px"></div></div></div><br></div>
_______________________________________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pgrouting-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
</blockquote></div>
_______________________________________________<br>
pgrouting-dev mailing list<br>
<a href="mailto:pgrouting-dev@lists.osgeo.org" target="_blank">pgrouting-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pgrouting-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pgrouting-dev</a><br>
</blockquote></div>