Comments (3)
I don't see the exact error message you do from psql. Here's what I see and I am working to make the output similar to this.
Do you have any idea why your output would look different from mine?
postgres=# BEGIN;
BEGIN
postgres=#
postgres=# CREATE FUNCTION demo() RETURNS VOID AS
postgres-# $_$
postgres$# BEGIN
postgres$# RAISE NOTICE 'first';
postgres$# RAISE NOTICE 'second';
postgres$# RAISE NOTICE 'third';
postgres$# END;
postgres$# $_$
postgres-# LANGUAGE plpgsql;
CREATE FUNCTION
postgres=#
postgres=# SELECT demo();
NOTICE: first
NOTICE: second
NOTICE: third
demo
(1 row)
from pgcli.
@jelder The PR has been merged. Does this solve your issue?
from pgcli.
@jelder The PR has been merged. Does this solve your issue?
I still need to do a release, but for right now pgcli can be installed from main:
pip install git+https://github.com/dbcli/pgcli.git
from pgcli.
Related Issues (20)
- Output to file in addition to the pager?
- Named Queries more user firendly
- [feature request] Unicode table HOT 1
- Using environment variables to connect via ssh HOT 2
- pgcli 4.0 - ModuleNotFoundError: No module named 'six' HOT 7
- pgcli.magic `conn.session.engine.url` raises AttributeError after breaking change upstream in ipython-sql
- Segfault on MacOs HOT 2
- Doesn't work with Python 3.11/Windows HOT 6
- Tab completion not working in version 4.0.1 on macOS
- pendulum dependency cannot be installed on 32-bit arches HOT 4
- Autocomplete not working for Apache AGE extension function names HOT 1
- Boolean type always show `false` HOT 9
- `invalid input syntax for type oid: "{oid}"` when running \d on an index HOT 4
- Per-database prompt colours HOT 1
- psycopg.errors.DataCorrupted: missing chunk number 0 for toast value 16386 in pg_toast_2619 HOT 3
- Can not quit pgcli if server has shutdown
- Readme link - this page has moved HOT 1
- Document how to replace pg_isready with pgcli HOT 1
- Add types HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgcli.