Re: Fix for psql core dumping on bad user
От | D. Hageman |
---|---|
Тема | Re: Fix for psql core dumping on bad user |
Дата | |
Msg-id | Pine.LNX.4.33.0104181117060.1466-100000@typhon.dracken.com обсуждение исходный текст |
Ответ на | Re: Fix for psql core dumping on bad user ("D. Hageman" <dhageman@dracken.com>) |
Список | pgsql-patches |
I just tried it on Alpha hardware running FreeBSD. Same results. [~/opt/bin] dhageman@marconi: ./psql -f test.sql test psql:test.sql:1: \connect: FATAL 1: user "testuser" does not exist Illegal instruction (core dumped) At any rate, I am convinced that I am not going crazy here with the results I saw on my normal database system. On Wed, 18 Apr 2001, D. Hageman wrote: > > Strange. Maybe I haven't fully explored the problem then. I would be > more then happy to supply a core file if you would like to analyze it. I > also guess that I should have been more complete in my bug report. I am > doing this on a RedHat 6.2 (Fully updated, Intel architecture) machine and > I have seen this behavior in the past several versions of PostgreSQL, but > just have now gotten around to doing something about it. As far as how I > compile it, I usually use the roll rpms from the srpms that you create Tom? > > I think I will go ahead and try it out on some other platforms later on > today ... > > On Tue, 17 Apr 2001, Tom Lane wrote: > > > "D. Hageman" <dhageman@dracken.com> writes: > > > The postgresql interactive terminal will dump core on any script that is > > > run via the -f command line option if their exists a connect line without > > > a valid user. > > > > Curiously, I see no core dump here: > > > > $ cat zscript > > \connect - testuser > > $ psql -f zscript regression > > psql:zscript:1: \connect: FATAL 1: user "testuser" does not exist > > $ > > -- //===================================================================\\ || D. Hageman <dhageman@dracken.com> || \\===================================================================//
В списке pgsql-patches по дате отправления: