Chris Cleveland

Results 44 issues of Chris Cleveland

pgx implements lots of concrete types and a few pseudo-types. How difficult would it be to implement a "record" type? https://www.postgresql.org/docs/current/datatype-pseudo.html Technically, it's a "composite" type. https://www.postgresql.org/docs/current/rowtypes.html It would be...

question

``` cargo pgx package pg13 error: Found argument 'pg13' which wasn't expected, or isn't valid in this context cargo pgx package --features pg13 building extension with features `pg13 pg14` "cargo"...

confusing

This is more of a question than an issue. Postgres is full of C macros, for example, `#define HeapTupleIsValid(tuple) PointerIsValid(tuple)`, which references `#define PointerIsValid(pointer) ((const void*)(pointer) != NULL)`, which references...

question

Postgres stores data in files of 8k block, and has primitives for reading, writing, and locking these files. Has pgx wrapped any of that functionality? Is there any sample code?

enhancement

I watched the excellent webinar on developing with pgx on Postgresconf. https://www.youtube.com/watch?v=RORkgaURcS0 Toward the end of the presentation Eric said that he was running out of time and he couldn't...

enhancement
test-support

All mx commands fail on my system with: "no primary suite found for < command name >" I'm on Windows with the latest release, but I've confirmed it happens on...

You can't currently create and hold a prepared statement to use for multiple queries. Either add some methods to Query, or create a new PreparedQuery class.

"select" works fine with Maps, but not insert or update. Will need to make insertSql and updateSql a bit more dynamic.

Find a way for the createTable() method to add indexes and foreign key constraints as well. Look at all column attributes and see that they're getting applied (default values, not...

Do a matrix of tests: insert, upsert, update, delete, select with pojo, primitive, map.

enhancement