lanterndata / lantern

PostgreSQL vector database extension for building AI applications
https://lantern.dev
GNU Affero General Public License v3.0
790 stars 57 forks source link

Move file access check to build phase #136

Closed var77 closed 1 year ago

var77 commented 1 year ago

Description

There was an issue when you will create an index from file and then the file will be removed, you could not remove the extension as in that phase if there's an index postgres tries to validate index options and as the index file was removed it was throwing an access error, so preventing you from dropping the extension.

Also made uninstall.sh script executable.