Re: Odd psql \i behaviour - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Odd psql \i behaviour
Date
Msg-id Pine.LNX.4.30.0204031120530.684-100000@peter.localdomain
Whole thread Raw
In response to Odd psql \i behaviour  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne writes:

> usa=# \i ~/ddlpack/kl_setnotnull.sql   <-- tab completes properly
> ~/ddlpack/kl_setnotnull.sql: No such file or directory

The tilde is only meaningful in bash (or some other shell).

Try putting this in your .inputrc:

$if psql
set expand-tilde on
$endif

That will expand the tilde when you press TAB.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: mlw
Date:
Subject: Re: Suggestions please: names for function cachability
Next
From: Peter Eisentraut
Date:
Subject: Re: Locale support is now on by default