tembo-io / pg_later

Execute SQL now and get the results later.
PostgreSQL License
354 stars 10 forks source link

Add pg 16 support #37

Closed owenthereal closed 11 months ago

owenthereal commented 11 months ago

Getting the following when trying to build pg_later against pg 16:

#31 2.557 Build pg_later
#31 2.599 error: unexpected argument '--pg16' found
#31 2.599
#31 2.599   tip: a similar argument exists: '--pg15'
#31 2.599
#31 2.599 Usage: cargo pgrx init <--pg11 <PG11>|--pg12 <PG12>|--pg13 <PG13>|--pg14 <PG14>|--pg15 <PG15>|--base-port <BASE_PORT>|--base-testing-port <BASE_TESTING_PORT>|--configure-flag <CONFIGURE_FLAG>>

Adding the pg 16 pgrs configuration. Note, I haven't tried running pg_later in pg 16 to verify everything.

owenthereal commented 11 months ago

This is related to https://github.com/tembo-io/pg_later/issues/32

ChuckHend commented 11 months ago

Awesome, thanks for the help! I think we will need to update pgrx in order to compile for pg16.

https://github.com/tembo-io/pg_later/blob/96612c102d9518a3205868b34f70c4b7b03d67c8/Cargo.toml#L22C1-L22C1

ChuckHend commented 11 months ago

I will upgrade the pgrx version over in https://github.com/tembo-io/pg_later/pull/39. Then we can pull those changes into your PR and build should work.