From 9bfb271922b28a08b253c4425bdb30a55ef68bb4 Mon Sep 17 00:00:00 2001
From: Tonye Jack <jtonye@ymail.com>
Date: Tue, 12 Sep 2023 13:08:05 -0600
Subject: [PATCH] Update README.md

---
 README.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/README.md b/README.md
index b66b33c..baf184d 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,8 @@ Run [pg\_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) to generate
 
 ## Usage
 
+### Using the default PostgreSQL installed on the runner
+
 ```yaml
 ...
     steps:
@@ -19,6 +21,21 @@ Run [pg\_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) to generate
           options: "-O"   
 ```
 
+### Using a different PostgreSQL version
+
+```yaml
+...
+    steps:
+      - uses: actions/checkout@v2
+      - name: Postgres Dump Backup
+        uses: tj-actions/pg-dump@v2.3
+        with:
+          database_url: "postgres://test_user:test_user_password@localhost:5432/testdb"
+          postgresql_version: "15"  # Note: Only the major version is required e.g. 12, 14, 15
+          path: "backups/backup.sql" 
+          options: "-O"   
+```
+
 If you feel generous and want to show some extra appreciation:
 
 Support this project with a :star: