-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Description
The binary always waits for the STDIN to be closed and than formats all supplied sql:
$ pg_format -
select * from companies;
select * from companies;
Ctrl+D
SELECT
*
FROM
companies;
SELECT
*
FROM
companies;
This restricts the ability to work in streaming mode.
Is it possible to format one SQL statement as long as it finishes (e.g. by ;)?
cat can be used as example as it triggers output on each line break
Profpatsch
Metadata
Metadata
Assignees
Labels
No labels