dbcli / dbcli/pgcli

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

Ouverte
#1,505 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
Python
Étoiles
13.4k
Forks
612
Merge moyen
6 j 14 h
PR mergées (30 j)
10

Description

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
```

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.