sagarswathi / h2database

Automatically exported from code.google.com/p/h2database
0 stars 1 forks source link

PgServer missing -key option #473

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the TcpServer there is a key option which allows aliasing of a database 
handle. This feature was added in 
https://code.google.com/p/h2database/source/detail?spec=svn898&r=898.

This aliasing option is currently not available in the PgServer implementation; 
it would be handy to have there too.

What version of the product are you using? On what operating system, file
system, and virtual machine?

H2. 1.3.172

Do you know a workaround?

A patch is attached which adds support for PgServer; to a large extent it's a 
copy paste of the implementation in TcpServer.

What is your use case, meaning why do you need this feature?

Same use case as the TcpServer; it's nicer to alias a "mem:" database with a 
simpler term.

Original issue reported on code.google.com by arbfrank...@gmail.com on 8 Jun 2013 at 5:42

Attachments:

GoogleCodeExporter commented 8 years ago
Patch committed

Original comment by noelgrandin on 18 Jun 2013 at 7:07