Subject RE: [firebird-support] CREATE DATABASE like in postgresql
Author Alan McDonald
> > > Is there any plan to implement:
> > > CREATE DATABASE 'the_database' ... [FROM] TEMPLATE
> > > 'the_template_database
> > > like in postgresql?
> > > </doru>
> > >
> >
> > Don't know much about postgresql but we don't have much need for this in
> > Firebird. We certainly don't fire it off much at all. When we do have to
> > create a db using another as a template, it's very simple to extract the
> > metadata from the first and hit the execute after changing the db name.
> > Why do you need to do this much? You certainly are not needing to do
> > this at
> > run time are you?
> > Alan
>
> Well, you are obvious right. Is there any API function to extact the
> matadata from a given db?
> (I'm not a delphi user at all)
> Thanks.
> </doru>

isql -extract will do it
but it sounds like you need to read a few manuals. There's a lot more to do
than just extract metadata and create a new one at run time.
Alan