#1420 new
David R. MacIver

select "insert ..." without returning will segfault dm-postgres-adapter

Reported by David R. MacIver | September 28th, 2010 @ 10:29 AM

Attached file produces a segfault for me when run against a postgres database. Ruby 1.8.7, 64-bit linux.

I found this because I wanted to do "insert ... returning id" in a select, but accidentally omitted the returning. This appears to work correctly. I'd quite like this use case to still work when the bug is fixed.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket

Attachments

Pages