Here's what's happening: psql -d mydb select rid from rastertable where rid = 1; Psql connection drops, postgres segfaults and restarts. BUT, if I do a query such as this FIRST: select postgis_full_version(); Then do other raster queries, it works fine. I suspect I broke something but I'm not sure where to start. Thanks for any help. Scott