Hi Michele, Just around the same time that you sent this message (or a day before?) I spotted and fixed a problem with atom deletion. So, please try rebuilding and reinstalling the atomspace. (git pull; cd build; make -j; sudo make install) -- let me know if that solves the problem.
Note also, the proper name is cog-delete! (with an exclamation mark at the end) I may have removed the backwards-compat layer that allowed it to work without the exclamation mark.. Note also: there is a RocksDB backend too. It might be easier to use (no config required). In some synthetic benchmarks, its 2x or 3x faster than postgres. In the one "real-life" app that I'm using, its 10%-50% slower. Go figure. Anyway its at https://github.com/opencog/atomspace-rocks (There is also a network server backend: https://github.com/opencog/atomspace-cog ... the README explains more) -- Linas On Mon, Mar 8, 2021 at 3:58 AM Michele Thiella <[email protected]> wrote: > Goodmorning everyone, > i have a simple problem about deleting atoms in postgresql. > According to what I understand, to delete an atom saved in postgres I > should use: > (cog-delete (Concept "asdf")) > The command is successful, the atom is removed from the atomspace but not > from the postgresql database. Could someone kindly tell me why? > The prostgresql backend should be configured correctly, according to the > guide on the wiki ... saving new atoms in the database works. > Thanks in advance, I apologize for the inconvenience > > -- > You received this message because you are subscribed to the Google Groups > "opencog" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/opencog/8dd1cfa3-0e8a-4d85-ba2a-6b38fcd2aea7n%40googlegroups.com > <https://groups.google.com/d/msgid/opencog/8dd1cfa3-0e8a-4d85-ba2a-6b38fcd2aea7n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Patrick: Are they laughing at us? Sponge Bob: No, Patrick, they are laughing next to us. -- You received this message because you are subscribed to the Google Groups "opencog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/opencog/CAHrUA379GjOzAnAsP7c%2B2v1fakEicqdv8KN-51OVYKLAcQvEnQ%40mail.gmail.com.
