Personally, I'd say the easiest solution is to copy the CREATE ALIAS
syntax, so that we could say
CREATE TABLE TEST(ID int) ENGINE $$new MyEngine("val1", "val2")$$
But Thomas might have a better idea.
On 2013-05-29 22:08, Andrew Franklin wrote:
I have written a custom TableEngine implementation that requires
additional arguments (eg. a path on disk to the underlying file).
I could possible provide some of these arguments via the session,
however, in some cases I envisage I will have multiple tables making
use of differently configured instances of the same TableEngine. I was
thinking that it may be useful to add arbitrary key/value pairs to the
CreateTableData object, passed with something like the WITH syntax in
Postgres (http://www.postgresql.org/docs/9.1/static/sql-createtable.html).
If this is something that is useful to others, and the syntax is
approved, then I can write up a patch.
--
You received this message because you are subscribed to the Google
Groups "H2 Database" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.