Skip to content

Enhance SCRIPT to support operations on STDOUT #3405

@marcellorinaldo

Description

@marcellorinaldo

As now, the SCRIPT command is able to produce an output on file or in form of a ResultSet if no TO clause is specified.

Since the database can be large and disk space or heap memory can be limited, it would be useful to have the SCRIPT command output to stdout and RUNSCRIPT read from stdin so to avoid intermediate temporary files.

To achieve the result we tried using UNIX named pipes without success: the pipe is always replaced by a regular file. Note that the RunScript tool seems to be able to read from a named pipe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions