Skip to content

Update cpp libpq samples and README.md#123

Merged
leszek-bq merged 2 commits intomainfrom
cpp_samples
May 9, 2025
Merged

Update cpp libpq samples and README.md#123
leszek-bq merged 2 commits intomainfrom
cpp_samples

Conversation

@leszek-bq
Copy link
Copy Markdown
Contributor

This PR updates the cpp libpq example

Description of changes:

  • Add non-admin connection handing
  • Update the documentation in README.md

By submitting this pull request, I confirm that my contribution is made under
the terms of the MIT-0 license.

@leszek-bq leszek-bq requested a review from wcmjunior May 9, 2025 14:55
env:
CLUSTER_ENDPOINT: ${{ secrets.CPP_LIBPQ_CLUSTER_ENDPOINT }}
REGION: ${{ secrets.CPP_LIBPQ_CLUSTER_REGION }}
CLUSTER_USER: admin
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also do a second pass that runs with non-admin user also?

Copy link
Copy Markdown
Contributor Author

@leszek-bq leszek-bq May 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We currently don't do that for other languages. This could be next week addition.
This would not change code examples.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's create Taskei to ensure we don't forget this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll create a taskei ticket to track this for all languages.

@leszek-bq leszek-bq merged commit 200571a into main May 9, 2025
3 checks passed
@wcmjunior wcmjunior deleted the cpp_samples branch May 9, 2025 17:32
danielfrankcom pushed a commit to marcbowes/aurora-dsql-samples that referenced this pull request May 9, 2025
…-samples#123)

* Installed dsql-signer from npm. Cleaned-up example and test code

* Throwing error on fail

* Made token const

---------

Co-authored-by: Marcos Lopez <lmarcosi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants