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
Update go-pgx to add connection pool with token refresh. (#145)
* Initial start to integrate sdk
* Updated example to add pgxpool and token refresh logic and tests.
* Update to add verbose output to test in github actions
* Clean up code remove unnecessary comments.
* Update crypto version to latest.
* Update example and README.md
Copy file name to clipboardExpand all lines: go/pgx/README.md
+77-7Lines changed: 77 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,29 +1,83 @@
1
-
# Aurora DSQL pgx code examples
1
+
# PGX with Aurora DSQL
2
2
3
3
## Overview
4
4
5
-
The code examples in this topic show you how to use DSQL with Go pgx.
5
+
This code example demonstrates how to use the `pgx` driver with Amazon Aurora DSQL. The example shows you how to connect to an Aurora DSQL cluster and perform database operations using IAM authentication.
6
+
7
+
Aurora DSQL is a distributed SQL database service that provides high availability and scalability for your PostgreSQL-compatible applications. `pgx` is a pure Go driver and toolkit for PostgreSQL that offers robust features including automatic connection pool management and authentication token refresh.
8
+
9
+
10
+
## About the code example
11
+
12
+
The example demonstrates a flexible connection approach using IAM authentication:
0 commit comments