Sunday, March 12, 2023

Re: SQL quote sign syntax fail

On 2023-03-12, hans.schou@gmail.com <hans.schou@gmail.com> wrote:
> Hi
>
> I have a PostgreSQL dump file with some data in a COPY..stdin block.
> When an quote sign occur in "O'Malley" the color changes until next quote
> sign
>
> Example in file names.sql:
>
> COPY public.names (name) FROM stdin;
> Thomas O'Malley
> \.
>
> The quote is a legal character in that block and the color should not be
> changed.
>
> After \. on a single line the color should go back to normal.

AFAIK, the syntax is not standard SQL. PostgreSQL's dialect is supported
by my plugin: https://github.com/lifepillar/pgsql.vim.

Unfortunately, currently the plugin has the issue you describe. If you
are interested, please open an issue at
https://github.com/lifepillar/pgsql.vim/issues, and I will try to fix
it.

Hope this helps,
Life.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/tukcgh%24j79%241%40ciao.gmane.io.

No comments:

Post a Comment