dbcli / dbcli/pgcli

Use an incorrect copy command syntax copy instead of \copy and cannot quit app.

Offen
#1,505 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
Python
Sterne
13.4k
Forks
612
Ø Merge
6 T. 14 Std.
Gemergte PRs (30 T.)
10

Beschreibung

Use an incorrect copy command syntax copy instead of \copy and cannot quit app after that:

```
Server: PostgreSQL 14.15
Version: 4.3.0
Home: http://pgcli.com
simplifi-live> copy (select id from transcoding_formats order by id) to stdout csv;
COPY cannot be used with this method; use copy() instead
Time: 0.043s
simplifi-live> quit
A transaction is ongoing. Choose `c` to COMMIT, `r` to ROLLBACK, `a` to abort exit. [a]: r^M
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.