-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_fdw segfaults server on Postgres 11 #49
Comments
Yeah, I’ve noticed the fdw test isn’t properly cleaning up after it’s run. As to the segfault, I haven’t noticed that on the travis runs. We might want to mark the fdw crate with a new feature, and disable it by default. |
Apparently this is a compatibility issue with PostgreSQL 11. I tested with PG 10.8 and all tests passed without errors. |
Travis tests Pg 10. I also notice a segfault with Pg 11 on macOS.
|
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
…feature flag Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
Unfortunately, FDW examples and tests have to be disabled entirely, because 'examples/fdw' cannot depend on 'pg-extend' crate features.
Oops, sorry for the spam; I used |
pg_fdw was not working with PG11 because the layout of TupleDesc has changed. Return an array of FormData_pg_attribute instead of an array of points to them.
* Fix github issue #49 pg_fdw was not working with PG11 because the layout of TupleDesc has changed. Return an array of FormData_pg_attribute instead of an array of points to them. * replace tab with space to make clippy happy. * formatting fixes for cargo fmt * Fix formatting for cargo fmt
* Fix github issue #49 pg_fdw was not working with PG11 because the layout of TupleDesc has changed. Return an array of FormData_pg_attribute instead of an array of points to them. * replace tab with space to make clippy happy. * formatting fixes for cargo fmt * Fix formatting for cargo fmt * Drop the foreign data wrapper at the end of the test. This will leave the database in a state where the test can succeed if run again. * fix formatting
Apparently this has never worked on my machine but I didn't pay attention to it because I wasn't using the FDW functionality... (I need to manually run
drop function DefaultFDW() cascade;
in the test database for the error to occur again, otherwise it just fails withforeign-data wrapper "defaultfdw" already exists
.)Arch Linux; PostgreSQL 11.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.0, 64-bit
The text was updated successfully, but these errors were encountered: