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

add "quiet" mode to ocesql (to not output "LIST OF CALLED DB Library API") #101

Open
GitMensch opened this issue Jun 28, 2023 · 0 comments

Comments

@GitMensch
Copy link
Contributor

precompiling a pco without any EXEC SQL leads to:

precompile start: EMPTY.pco
=======================================================
              LIST OF CALLED DB Library API
=======================================================
=======================================================

Using a "normal" source leads to

precompile start: NORMAL.pco
=======================================================
              LIST OF CALLED DB Library API
=======================================================
Generate:OCESQLPrepare
Generate:OCESQLIDExecPrepare
Generate:OCESQLIDConnect
Generate:OCESQLIDExecSelectIntoOne
Generate:OCESQLIDExecSelectIntoOne
Generate:OCESQLIDExecSelectIntoOne
Generate:OCESQLIDExec
Generate:OCESQLIDExecSelectIntoOne
Generate:COMMITuseDBNAME
Generate:ROLLBACKuseDBNAME
=======================================================

This is very verbose (so I'd actually suggest to only output all of those when running with --verbose, but if you want one could use --quiet instead (which otherwise could be used/reserved for "no display, only exit code").

I would give implementing that a try, but would like to have the "ok" to implement it either way up-front.

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

1 participant