ibarwick / fbsql

fbsql is a simple command-line client for the Firebird database, inspired by PostgreSQL's psql
10 stars 0 forks source link

Port option #2

Closed mkgrgis closed 3 years ago

mkgrgis commented 3 years ago

[feature request] Option for Firebird database port.

ibarwick commented 3 years ago

Try specifying the port as part of the database connection string, e.g.:

$ ./src/fbsql -d localhost/3051:employee -u sysdba -p masterkey
fbsql 0.2.0
Connected to Firebird v4.0.0 (libfq version 0.4.1)
SQL> 

See also: http://www.firebirdfaq.org/faq259/

mkgrgis commented 3 years ago

Thanks for the explanation. For the same reasons there is no host option in fbsql. I was looking for something hard psql-styled.