Jon Oler
2009-Feb-28 09:24 UTC
[PATCH] postgres tables() and indexes() bug with multiple search_path entries
There is a bug in the postgres adapter that causes incorrect results to be returned when there are multiple entries in the search path (i.e., postgres "SHOW search_path"). This bug has been reported at least 2 other times in the past (http://dev.rubyonrails.org/ticket/ 5906 and http://dev.rubyonrails.org/ticket/3125). It''s a simple bug where an space is being inadvertently added to a quoted query string. My simple patch includes both test cases that demonstrate the problem as well as the actual fix to the problem: http://rails.lighthouseapp.com/projects/8994/tickets/918-postgresql-tables-not-generating-correct-schema-list Thanks, Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---