Skip to content
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

Multicorn95 binaries from pgdg is broken - SEGVs import foreign schema #127

Open
t3rmin4t0r opened this issue Jan 16, 2016 · 2 comments
Open

Comments

@t3rmin4t0r
Copy link

The import schema routine seems to be off by 1.

(gdb) p *routine
$2 = {type = T_FdwRoutine, GetForeignRelSize = 0x7f6d3d74d370 <multicornGetForeignRelSize>, GetForeignPaths = 0x7f6d3d74d300 <multicornGetForeignPaths>, 
  GetForeignPlan = 0x7f6d3d74d9e0 <multicornGetForeignPlan>, BeginForeignScan = 0x7f6d3d74db30 <multicornBeginForeignScan>, IterateForeignScan = 0x7f6d3d74d220 <multicornIterateForeignScan>, 
  ReScanForeignScan = 0x7f6d3d74c640 <multicornReScanForeignScan>, EndForeignScan = 0x7f6d3d74c700 <multicornEndForeignScan>, GetForeignJoinPaths = 0x0, 
  AddForeignUpdateTargets = 0x7f6d3d74d090 <multicornAddForeignUpdateTargets>, PlanForeignModify = 0x7f6d3d74c680 <multicornPlanForeignModify>, 
  BeginForeignModify = 0x7f6d3d74cf40 <multicornBeginForeignModify>, ExecForeignInsert = 0x7f6d3d74ce80 <multicornExecForeignInsert>, ExecForeignUpdate = 0x7f6d3d74cc40 <multicornExecForeignUpdate>, 
  ExecForeignDelete = 0x7f6d3d74cd50 <multicornExecForeignDelete>, EndForeignModify = 0x7f6d3d74c690 <multicornEndForeignModify>, IsForeignRelUpdatable = 0x0, GetForeignRowMarkType = 0x0, 
  RefetchForeignRow = 0x0, RecheckForeignScan = 0x7f6d3d74c630 <multicornExplainForeignScan>, ExplainForeignScan = 0x0, ExplainForeignModify = 0x0, 
  AnalyzeForeignTable = 0x7f6d3d74c880 <multicornImportForeignSchema>, ImportForeignSchema = 0x0}
@t3rmin4t0r
Copy link
Author

This is probably a mistake with the repo at http://yum.postgresql.org/srpms/9.5/redhat/rhel-7Server-x86_64/

I have rebuilt multicorn95 from 1.3.1 by doing "make release-zip", copy that .zip to ~/rpmbuild/SOURCES/ and changing the spec file version from 1.2.4 to 1.3.1.

Once, I did that the import schema actually works fine without a SEGV.

Hopefully this issue helps someone else who had issues with Multicorn from the PGDG repos.

@t3rmin4t0r t3rmin4t0r changed the title Multicorn95 runs seem to have SEGVs import foreign schema Multicorn95 binaries from pgdg is broken - SEGVs import foreign schema Jan 16, 2016
@rdunklau
Copy link
Contributor

Thank you for this report, I forwarded it to the PGDG yum repo maintainers:

http://www.postgresql.org/message-id/4723015.BWWRYRopiF@ronan.dunklau.fr

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

No branches or pull requests

2 participants