Re: [PATCH] Add --syntax to postgres for SQL syntax checking

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [PATCH] Add --syntax to postgres for SQL syntax checking
Дата
Msg-id CAKFQuwYPixWD48qHN62AFEdpaLSby-4L2Fweiv1jb6uMYrjOxw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Add --syntax to postgres for SQL syntax checking  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On Wed, May 15, 2024 at 6:35 PM David G. Johnston <david.g.johnston@gmail.com> wrote:

If in core I would still want to expose this as say a contrib module binary instead of hacking it into postgres.  It would be our first server program entry there.


Sorry for self-reply but:

Maybe name it "pg_script_check" with a, for now mandatory, "--syntax-only" option that enables this raw parse mode.  Leaving room for executing this in an environment where there is, or it can launch, a running instance that then performs post-parse analysis as well.

David J.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [PATCH] Add --syntax to postgres for SQL syntax checking
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: PostgreSQL 17 Beta 1 release announcement draft