shubhamsachdeva89 opened a new issue, #66:
URL: https://github.com/apache/datasketches-postgresql/issues/66

   Hi Alexander & Jon,
   
   After the release of dataskecthes 1.6.0, we are trying to update our 
existing datasketches from 1.3 to 1.6
   
   We followed the same steps in the documentation 
https://github.com/apache/datasketches-postgresql. We downloaded 
apache-datasketches-cpp-4.1.0-src.zip, 
apache-datasketches-postgresql-1.6.0-src.zip from apache datasketches website 
and boost 1.75.0 from boost.org.
   
   Once we execute make command, it creates datasketches.so in 
apache-datasketches-postgresql-1.6.0-src folder. We copy this so file in our 
folder /pgbin/mbi1d/14.x/lib/postgresql where alter command picks up the so 
file.
   
   Then, we execute the make install and it installs the dataksketches.so
   
   # make install
   /bin/mkdir -p '/pgbin/mbi1d/14.x/lib/postgresql'
   /bin/mkdir -p '/pgbin/mbi1d/14.x/share/postgresql/extension'
   /bin/mkdir -p '/pgbin/mbi1d/14.x/share/postgresql/extension'
   /bin/install -c -m 755  datasketches.so 
'/pgbin/mbi1d/14.x/lib/postgresql/datasketches.so'
   cat sql/datasketches_cpc_sketch.sql sql/datasketches_kll_float_sketch.sql 
sql/datasketches_kll_double_sketch.sql sql/datasketches_theta_sketch.sql 
sql/datasketches_frequent_strings_sketch.sql sql/datasketches_hll_sketch.sql 
sql/datasketches_aod_sketch.sql sql/datasketches_req_float_sketch.sql 
sql/datasketches_quantiles_double_sketch.sql > sql/datasketches--1.6.0.sql
   /bin/install -c -m 644 .//datasketches.control 
'/pgbin/mbi1d/14.x/share/postgresql/extension/'
   /bin/install -c -m 644 .//sql/datasketches--1.6.0.sql 
.//sql/datasketches--1.3.0--1.4.0.sql .//sql/datasketches--1.4.0--1.5.0.sql 
.//sql/datasketches--1.5.0--1.6.0.sql  
'/pgbin/mbi1d/14.x/share/postgresql/extension/'
   
   Once it completes, we login to our database using psql and execute alter 
command as you suggested 
   
   mbi1d01=# alter extension datasketches update to '1.6.0';
   ERROR:  could not find function "pg_theta_intersection_get_result" in file 
"/pgbin/mbi1d/14.x/lib/postgresql/datasketches.so"
   
   Please find the logs of make command attached. Could you please let us know 
if we are doing anything wrong?
   
[make_log.txt](https://github.com/apache/datasketches-postgresql/files/11680570/make_log.txt)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to