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

How to suppress "NOTICE: DB-Library notice:" #22

Closed
tohio opened this issue May 1, 2015 · 4 comments
Closed

How to suppress "NOTICE: DB-Library notice:" #22

tohio opened this issue May 1, 2015 · 4 comments

Comments

@tohio
Copy link

tohio commented May 1, 2015

Hi Geoff,
I have just configured the tds_fdw, and it is working just fine. My question is, how do I suppress the message below. Is there a flag in the create server command that does this? Thanks

NOTICE: DB-Library notice: Msg #: 5701, Msg state: 2, Msg: Changed database context to 'master'., Server: WD ...
NOTICE: DB-Library notice: Msg #: 5701, Msg state: 1, Msg: Changed database context to 'test'., Server: ...
NOTICE: DB-Library notice: Msg #: 5701, Msg state: 2, Msg: Changed database context to 'master'., Server: ..
NOTICE: DB-Library notice: Msg #: 5701, Msg state: 1, Msg: Changed database context to 'test'., Server: ..
NOTICE: No more rows

@GeoffMontee
Copy link
Collaborator

Hi @tohio. There is no way to suppress these notices at the moment. However, that is a feature I'd like to add when I can find time to add it.

@tohio
Copy link
Author

tohio commented May 1, 2015

@GeoffMontee Thanks for the quick response, I look forward to the update. I will suppress the notices messages using client_messages parameter.

Also, have you added the ability to write to foreign tables? Thanks again

@GeoffMontee
Copy link
Collaborator

Fixed: 720ae24

See the description of the new msg_handler foreign server option. It will default to a value of blackhole.

There's no write support yet. That is #9.

@GeoffMontee
Copy link
Collaborator

Fixed in 1.0.3.

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

2 participants