From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: I've started sql script using psql -f It has crashed on first command: \connect - user_name where user_name is the name of user that don't exist on postgresql database (script worked OK after I've added this user using createuser). After standard message about lack of user on postgresql, 'Segmentation fault' message was shown and core file was created. To do some test, I've started psql and typed \connect - foo Message about lack of user was shown, and nothing wrong was happen next. So the problem is only with psql -f option. I did this test on RH7.3, and it was OK. Problem is only on RH7.1. Version-Release number of selected component (if applicable): postgresql-7.0.3-9.2 How reproducible: Always Steps to Reproduce: 1.create some test.sql script, i.e.: \connect - foo 2.type psql -f test.sql 3.remove core file from your home directory Actual Results: core was dumped Expected Results: nothing Additional info:
As far as we can tell, this bug has been fixed a while ago.