-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: using the indexer with PostgreSQL #1495
Conversation
|
To avoid this, enter `psql` and run this command: | ||
|
||
```sql copy | ||
DROP OWNED BY <your user name>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens when people execute within docker? docker has different usernames I think.
should we drop the DB instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The docker directions cover this.
The docker directions cover this
…On Tue, Sep 19, 2023, 3:54 AM ludens ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In docs/pages/indexer.mdx
<#1495 (comment)>:
> ```
+
+### Deleting the PostgreSQL data
+
+PostgreSQL is a persistent data storage.
+This means that if you restart the blockchain without manually deleting the data, your indexer will use old data and provide incorrect results.
+
+To avoid this, enter `psql` and run this command:
+
+```sql copy
+DROP OWNED BY <your user name>;
what happens when people execute within docker? docker has different
usernames I think.
should we drop the DB instead?
—
Reply to this email directly, view it on GitHub
<#1495 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADBCGGJPZUWZSLOBPYI3S4LX3FMURANCNFSM6AAAAAA4Y4EJNM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
No description provided.