Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy functionality trims leading whitespace #244

Closed
dmfay opened this issue Jun 27, 2024 · 3 comments
Closed

Copy functionality trims leading whitespace #244

dmfay opened this issue Jun 27, 2024 · 3 comments

Comments

@dmfay
Copy link
Contributor

dmfay commented Jun 27, 2024

I noticed this just now trying to copy a long query plan out (with "Copy All", on Linux and osx both) -- all the indentation is gone:

QUERY PLAN
Index Scan using thing_id_pkey on thing __local_0__  (cost=119.95..3500170.93 rows=1 width=320)
Index Cond: (id = 'fa0ed97d-0858-57c8-80f9-31434f76c9bd'::uuid)
Filter: (hashed SubPlan 25)
SubPlan 23
->  Index Scan using stuff_id_pkey on stuff stuff_2  (cost=2927.05..3500042.94 rows=1 width=32)
Index Cond: (id = __local_0__.stuff_id)
"Filter: ((hashed SubPlan 22) AND ....

I looked through export.c briefly but didn't see any obvious culprit.

@okbob
Copy link
Owner

okbob commented Jun 27, 2024 via email

@dmfay
Copy link
Contributor Author

dmfay commented Jun 27, 2024

that worked, thank you!

@okbob
Copy link
Owner

okbob commented Jun 27, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants