Bug 59198 - psql crashes when used interactively
Summary: psql crashes when used interactively
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: postgresql
Version: 7.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-01 23:43 UTC by Emilio Panighetti
Modified: 2007-04-18 16:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-08 17:14:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Emilio Panighetti 2002-02-01 23:43:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020104

Description of problem:
When psql is called interactively, it returns with the following message:

$ psql -d mydatabase
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

psql: relocation error: psql: undefined symbol: PQgetssl
$


It works when called from a script, i.e. when used with -f as in psql -d
mydatabse -f myscript.sql

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
Call psql interactively

Actual Results:  Returns the following: 
psql: relocation error: psql: undefined symbol: PQgetssl

Expected Results:  Should obtain a psql prompt.

Additional info:

postgresql-libs version: 7.1.3-2 (provides /usr/lib/libpq.so.2.1)

Comment 1 Trond Eivind Glomsrxd 2002-02-08 17:14:48 UTC
Works here...

Comment 2 Trond Eivind Glomsrxd 2002-03-27 19:41:41 UTC
I've used it in many different scenarios, and still haven't seen it break.


Note You need to log in before you can comment on or make changes to this bug.