expanded mode is still broken - Mailing list pgsql-hackers

From Pavel Stehule
Subject expanded mode is still broken
Date
Msg-id CAFj8pRDnb+Vyb+oN=x-wZXeLH3yOSBSFuqVcSL=Si4Nmd7nPEw@mail.gmail.com
Whole thread Raw
Responses Re: expanded mode is still broken
List pgsql-hackers
Hi

I checked HEAD and border formatting is broken


postgres=# \pset border 3
Border style (border) is 3.
postgres=# \l
List of databases
[ RECORD 1 ]-----+----------------------
| Name              | postgres              |
| Owner             | postgres              |
| Encoding          | UTF8                  |
| Collate           | en_US.UTF-8           |
| Ctype             | en_US.UTF-8           |
| Access privileges |                       |
[ RECORD 2 ]-----+----------------------
| Name              | template0             |
| Owner             | postgres              |
| Encoding          | UTF8                  |
| Collate           | en_US.UTF-8           |
| Ctype             | en_US.UTF-8           |
| Access privileges | =c/postgres          +|
|                   | postgres=CTc/postgres |
[ RECORD 3 ]-----+----------------------
| Name              | template1             |
| Owner             | postgres              |
| Encoding          | UTF8                  |
| Collate           | en_US.UTF-8           |
| Ctype             | en_US.UTF-8           |
| Access privileges | =c/postgres          +|
|                   | postgres=CTc/postgres |
-----------------+----------------------

postgres=# \pset linestyle unicode
Line style (linestyle) is unicode.
postgres=# \l
List of databases
[ RECORD 1 ]─────┬──────────────────────
│ Name              │ postgres              │
│ Owner             │ postgres              │
│ Encoding          │ UTF8                  │
│ Collate           │ en_US.UTF-8           │
│ Ctype             │ en_US.UTF-8           │
│ Access privileges │                       │
[ RECORD 2 ]─────┼──────────────────────
│ Name              │ template0             │
│ Owner             │ postgres              │
│ Encoding          │ UTF8                  │
│ Collate           │ en_US.UTF-8           │
│ Ctype             │ en_US.UTF-8           │
│ Access privileges │ =c/postgres          ↵│
│                   │ postgres=CTc/postgres │
[ RECORD 3 ]─────┼──────────────────────
│ Name              │ template1             │
│ Owner             │ postgres              │
│ Encoding          │ UTF8                  │
│ Collate           │ en_US.UTF-8           │
│ Ctype             │ en_US.UTF-8           │
│ Access privileges │ =c/postgres          ↵│
│                   │ postgres=CTc/postgres │
─────────────────┴──────────────────────

Probably not all Sergey's fixes was applied, when I tested it (9.4 with Sergey' fixes) it works without issues (I though)

Regards

Pavel

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: END_OF_RECOVERY shutdowns and ResetUnloggedRelations()
Next
From: Pavel Stehule
Date:
Subject: Re: proposal (9.5) : psql unicode border line styles