Re: External psql editor - Mailing list pgsql-general

From Mladen Gogala
Subject Re: External psql editor
Date
Msg-id 34236f4e-1c79-2301-5cd6-8a88add506cf@gmail.com
Whole thread Raw
In response to Re: External psql editor  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 5/2/22 17:27, Tom Lane wrote:
Rich Shepard <rshepard@appl-ecosys.com> writes:
On Mon, 2 May 2022, Reid Thompson wrote:
I believe that psql also uses readline, so my thought was that maybe these
instructions could enable you to map the 'move' keystrokes that you're
familiar with to be used while on the psql command line. A very quick test
seems to indicate that you can.
Nope. No difference.
Perhaps your psql is built against libedit rather than readline.
			regards, tom lane


That is easy enough to determine:

mgogala@umajor ~]$ ldd `which psql`
    linux-vdso.so.1 (0x00007ffded951000)
    libpq.so.private13-5 => /lib64/libpq.so.private13-5 (0x00007ff145284000)
    libreadline.so.8 => /lib64/libreadline.so.8 (0x00007ff14522c000)
    libm.so.6 => /lib64/libm.so.6 (0x00007ff145150000)
    libc.so.6 => /lib64/libc.so.6 (0x00007ff144f49000)
    libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007ff144eac000)
    libcrypto.so.1.1 => /lib64/libcrypto.so.1.1 (0x00007ff144bbe000)
    libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007ff144b65000)
    libldap_r-2.4.so.2 => /lib64/libldap_r-2.4.so.2 (0x00007ff144b09000)
    libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007ff144ada000)
    /lib64/ld-linux-x86-64.so.2 (0x00007ff14539a000)
    libz.so.1 => /lib64/libz.so.1 (0x00007ff144ac0000)
    libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007ff1449e2000)
    libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007ff1449ca000)
    libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007ff1449c1000)
    libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007ff1449b0000)
    libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007ff1449a9000)
    libresolv.so.2 => /lib64/libresolv.so.2 (0x00007ff144995000)
    liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007ff144982000)
    libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007ff144962000)
    libselinux.so.1 => /lib64/libselinux.so.1 (0x00007ff144935000)
    libcrypt.so.2 => /lib64/libcrypt.so.2 (0x00007ff1448fb000)
    libpcre2-8.so.0 => /lib64/libpcre2-8.so.0 (0x00007ff144864000)
[mgogala@umajor ~]$


Regards

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: UUID vs serial and currval('sequence_id')
Next
From: Robert Stanford
Date:
Subject: Re: UUID vs serial and currval('sequence_id')