Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
samay-sharma committed Aug 5, 2023
1 parent 26de9f8 commit c0d86a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Postgres Message Queue (PGMQ)
# Contributing to Postgres Message Queue (PGMQ)

## Installation

Expand All @@ -15,7 +15,7 @@ PGMQ is written as a Rust extension and requires [pgrx](https://github.com/pgcen
To build pgmq from source, you need
* A toolchain capable of building Postgres
* Rust toolchain
* [pg_partman] (https://github.com/pgpartman/pg_partman).
* [pg_partman](https://github.com/pgpartman/pg_partman).

Once you have those pre-requisites, you need to setup `pgrx`:

Expand All @@ -33,12 +33,12 @@ cd pgmq
After this point the steps differ slightly based on if you'd like to build
and install against an existing Postgres setup or develop against pgrx managed
development environment (which installs and allows you to test against multiple
Postgres versions)
Postgres versions).

### Install to a pre-existing Postgres

Initialize `cargo-pgrx`, and tell it the path to the your `pg_config`. For example,
if `pg_config is on your $PATH and you have Postgres 15, you can run:
if `pg_config` is on your $PATH and you have Postgres 15, you can run:

```bash
cargo pgrx init --pg15=`which pg_config`
Expand All @@ -56,7 +56,7 @@ Initialize `cargo-pgrx` development environment
cargo pgrx init
```

Note: Make sure you build and install pg_partman against the postgres installation
**Note**: Make sure you build and install `pg_partman` against the postgres installation
you want to build against (`PG_CONFIG` in `~/.pgrx/PG_VERSION/pgrx-install/bin/pg_config`
and `PGDATA` in `/Users/samaysharma/.pgrx/data-PG_MAJOR_VERSION`)

Expand Down

0 comments on commit c0d86a4

Please sign in to comment.