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 support for database name to dotmonetdb file #3445

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

Add support for database name to dotmonetdb file #3445

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
Client interfaces enhancement New feature or request

Comments

@monetdb-team
Copy link

Date: 2014-02-24 07:19:54 +0100
From: Patrick TJ McPhee <>
To: clients devs <>
Version: -- development
CC: @hannesmuehleisen

Last updated: 2016-12-21 13:07:48 +0100

Comment 19638

Date: 2014-02-24 07:19:54 +0100
From: Patrick TJ McPhee <>

Created attachment 268
Patch to mclient, stethoscope, tomograph to allow database to be specified in dotmonetdb file

The attached patch adds support for specifying the database name in .monetdb with the syntax:

database=mydbname

This is convenient in situations where a user typically connects to the same database all the time.

I list the OS as FreeBSD/amd64 above, but I've used this change for the past few releases under Linux i386, FreeBSD i386 and amd64, and NetBSD amd64.

Attached file: dotmonetdb-database.patch (text/plain, 3468 bytes)
Description: Patch to mclient, stethoscope, tomograph to allow database to be specified in dotmonetdb file

Comment 19640

Date: 2014-02-24 14:49:40 +0100
From: @hannesmuehleisen

+1

Comment 19641

Date: 2014-02-24 17:04:49 +0100
From: @sjoerdmullender

I haven't tried the patch yet, but it looks pretty good. There is, however, one thing missing.

Can you also fix the manual page. At least mclient.1 needs to be patched, possibly more.

Comment 19684

Date: 2014-03-08 18:43:52 +0100
From: Patrick TJ McPhee <>

Created attachment 277
Patch to mclient.1

Additional patch which updates mclient.1. This just adds database to the list of parameters read from DOTMONETDB. I put it after language because that's where it appears in the parameter list.

Attached file: mclient1.patch (text/plain, 652 bytes)
Description: Patch to mclient.1

Comment 19685

Date: 2014-03-08 19:01:13 +0100
From: Patrick TJ McPhee <>

I've added another patch which adds database to the list of parameters in mclient.1. I looked for other files which reference DOTMONETDB (searching for .monetdb turns up too man hits due to www.monetdb.org occurring in most files), and turned up MTest.py and process.py, but that appears to be using the file rather than testing the interface.

Comment 19844

Date: 2014-06-17 06:52:44 +0200
From: Patrick TJ McPhee <>

Created attachment 287
Patch against release 11.17.17

This is a replacement patch that applies against the most recent release tarball.

Attached file: dotmonetdb-11.17.17.patch (text/plain, 6195 bytes)
Description: Patch against release 11.17.17

Comment 21255

Date: 2015-09-08 18:20:51 +0200
From: Patrick TJ McPhee <>

Created attachment 350
Patch against release 11.21.5

This is a patch against the most recent release version (the previous patch worked against all the releases between then and now). There's no change in functionality.

Attached file: dotmonetdb-11.21.5.patch (text/plain, 5766 bytes)
Description: Patch against release 11.21.5

Comment 21256

Date: 2015-09-08 18:22:20 +0200
From: Patrick TJ McPhee <>

Comment on attachment 287
Patch against release 11.17.17

This is obsolete as of release 11.21.5

Comment 24528

Date: 2016-10-18 06:03:50 +0200
From: Patrick TJ McPhee <>

Created attachment 481
Patch against release 11.23.13

Functionality is unchanged. This patch applies against the most recent release.

Attached file: dotmonetdb-11.23.13.patch (text/plain, 5788 bytes)
Description: Patch against release 11.23.13

Comment 24529

Date: 2016-10-18 11:20:53 +0200
From: MonetDB Mercurial Repository <>

Changeset e9ea484670f4 made by Sjoerd Mullender sjoerd@acm.org in the MonetDB repo, refers to this bug.

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=e9ea484670f4

Changeset description:

Add database option to .monetdb file.
This fixes bug #3445.
Thanks to Patrick McPhee for the suggestion and the code.

Comment 24530

Date: 2016-10-18 11:22:09 +0200
From: @sjoerdmullender

This will be in the next feature release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client interfaces enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants