Skip to content

Commit 2d8d6b9

Browse files
docs: Add instructions for indexing Postgres (#312)
1 parent e44eecf commit 2d8d6b9

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/IndexingProjects.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,19 @@ chmod +x build-debug.sh
7474
CC=clang CXX=clang++ ./build-debug.sh
7575
scip-clang --compdb-path=build/compile_commands.json
7676
```
77+
78+
## Postgres
79+
80+
Tested environments: Ubuntu 22.04
81+
82+
Dependencies: `meson`, `flex`, `bison`, a host toolchain.
83+
84+
Postgres finishes indexing within a few seconds.
85+
86+
```bash
87+
git clone https://github.com/postgres/postgres --depth=1
88+
cd postgres
89+
meson setup ../postgres-build .
90+
ninja -C ../postgres-build
91+
scip-clang --compdb-path=../postgres-build/compile_commands.json
92+
```

0 commit comments

Comments
 (0)