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

allow dumping database with INSERT INTO statements #2727

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

allow dumping database with INSERT INTO statements #2727

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

Comments

@monetdb-team
Copy link

Date: 2010-11-19 12:58:38 +0100
From: @grobian
To: clients devs <>
Version: -- development

Last updated: 2011-03-28 17:31:34 +0200

Comment 15212

Date: 2010-11-19 12:58:38 +0100
From: @grobian

Currently, an SQL database dump will use COPY INTO syntax. This syntax is fast, but incompatible with loaders such as Java-based Ant sql task, because interfaces such as JDBC do not support the stream input switch necessary to perform the load of the COPY INTO.

It would therefore be nice when the dump could also be made using INSERT INTO statements, such that those tools can just process the dump. Additionally, this may ease migration of data to other databases.

Comment 15309

Date: 2010-12-10 13:52:55 +0100
From: @grobian

Changeset 3375a722bb1e made by Fabian Groffen fabian@cwi.nl in the MonetDB repo, refers to this bug.

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

Changeset description:

implement bug #2727: allow using INSERT INTO statements in dump

INSERT INTO statements are more portable, and a necessity when using
loaders that have to adhere to a query & answer protocol, such as most
data source abstractions (most well known and standardised ones: ODBC
and JDBC).

Comment 15310

Date: 2010-12-10 13:53:23 +0100
From: @grobian

Implemented.

Comment 15635

Date: 2011-03-28 17:31:34 +0200
From: @sjoerdmullender

The Mar2011 version has been released.

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