Memo::Dialect::Postgres
Inherits Memo::Dialect::Base < Reference < Object
Constants
Any constant shared by every memo process ("memo" in ASCII)
Instance methods
The database's name on its server, for naming index files.
SQLite: nil (the file names it) PostgreSQL: current_database()
Get the database file path from a connection, if applicable.
SQLite: reads pragma_database_list PostgreSQL: returns nil (no local file)
Drop the tables content-addressed storage replaced (memo_texts and its full-text index).
The column name for embedding row identity used as USearch key.
SQLite: "rowid" (implicit) PostgreSQL: "eid" (explicit column)
Build INSERT OR IGNORE SQL.
Execute an INSERT and return the generated ID.
Two processes opening the database at once would otherwise both migrate it. The lock is released when the transaction ends.