You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-5
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,9 @@
5
5
6
6
## 4.0.0
7
7
8
-
- upgrade `pg` from 7.4.1 to 8.5.1 to prevent silent failure for node v14 or later, reported in [this issue](https://github.com/brianc/node-postgres/issues/2317).
8
+
- upgrade `pg` from 7.4.1 to 8.5.1 to prevent silent failure for node v14 or later, reported in [this issue](https://github.com/brianc/node-postgres/issues/2317).
9
9
- fix submit ops failed due to version mismatched - https://github.com/share/sharedb-postgres/issues/8
10
10
11
-
## Note about re-versioning
12
-
13
-
Original `sharedb-postgres` seems to have been not maintained for a long time since 2018. Thus we made a fork and maintain it as `@plotdb/sharedb-postgre`.
Copy file name to clipboardExpand all lines: README.md
+8-12
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# @plotdb/sharedb-postgres
1
+
# sharedb-postgres
2
2
3
3
PostgreSQL database adapter for [sharedb](https://github.com/share/sharedb). This driver can be used both as a snapshot store and oplog.
4
4
@@ -7,15 +7,11 @@ Doesn't support queries (yet?).
7
7
Moderately experimental. (This drives [Synaptograph](https://www.synaptograph.com)'s backend, and [@nornagon](https://github.com/nornagon) hasn't noticed any issues so far.)
8
8
9
9
10
-
## Note about versioning
11
10
12
-
This is a fork from the [original `sharedb-postgres`](https://github.com/share/sharedb-postgres) and its relative forks (see [billwashere](https://github.com/billwashere/sharedb-postgres-jsonb), [zbryikt](https://github.com/zbryikt/sharedb-postgres-jsonb). It seems to have been not maintained for a long time since 2018, Thus we decide to fork it and maintain it as `@plotdb/sharedb-postgre`.
13
-
14
-
15
-
## Installation
11
+
## Installation
16
12
17
13
```cmd
18
-
npm i @plotdb/sharedb-postgres
14
+
npm i sharedb-postgres
19
15
```
20
16
21
17
@@ -25,7 +21,7 @@ Due to the fix to resolve [high concurency issues](https://github.com/share/shar
25
21
26
22
## Migrating older versions
27
23
28
-
Older versions of this adaptor used the data type json. You will need to alter the data type prior to using if you are upgrading.
24
+
Older versions of this adaptor used the data type json. You will need to alter the data type prior to using if you are upgrading.
29
25
30
26
```PLpgSQL
31
27
ALTERTABLE ops
@@ -44,16 +40,16 @@ ALTER TABLE snapshots
44
40
`sharedb-postgres-jsonb` wraps native [node-postgres](https://github.com/brianc/node-postgres), and it supports the same configuration options.
45
41
46
42
To instantiate a sharedb-postgres wrapper, invoke the module and pass in your
47
-
PostgreSQL configuration as an argument or use environmental arguments.
43
+
PostgreSQL configuration as an argument or use environmental arguments.
0 commit comments