Skip to content

Commit

Permalink
fix postgres build instruction typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dingxiong committed Dec 8, 2024
1 parent af32c5d commit 33366b7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion _posts/2024-05-16-postgres-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cd build_dir
# reference symbols in the default installation folder.
../configure --without-icu --prefix $HOME/code/postgres/build_dir/install_dir
# or for debug build
./configure ---without-icu --enable-cassert --enable-debug CFLAGS="-ggdb -Og -g3 -fno-omit-frame-pointer" -prefix $HOME/code/postgres/build_dir/install_dir
../configure --without-icu --enable-cassert --enable-debug CFLAGS="-ggdb -Og -g3 -fno-omit-frame-pointer" -prefix $HOME/code/postgres/build_dir/install_dir

# make
bear -- make -j6
Expand All @@ -94,6 +94,14 @@ mkdir data
postgres=# create database test2;
```

After the first successful compilation, you probably only incremental
compilation afterward.

```
cd build_dir
make && make install
```

### Sample Data

Finally, we need some sample data.
Expand Down
3 changes: 2 additions & 1 deletion _posts/2024-10-14-rust-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ tags: [rust]
2. Install `rust-analyzer`: `rustup component add rust-analyzer` and config
nvim lspconfig and treesitter.
3. Read <https://doc.rust-lang.org/stable/book/>
4. Also checkout <https://rustc-dev-guide.rust-lang.org/getting-started.html>
4. Checkout <https://rustc-dev-guide.rust-lang.org/getting-started.html>.
5. Checkout <https://doc.rust-lang.org/nomicon/intro.html>.

## Build from source

Expand Down

0 comments on commit 33366b7

Please sign in to comment.