Skip site navigation (1) Skip section navigation (2)

Re: can i create a database programmatically?

From: Steven Klassen <sklassen(at)commandprompt(dot)com>
To: Zhenchang Xing <xing(at)cs(dot)ualberta(dot)ca>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: can i create a database programmatically?
Date: 2004-10-18 21:54:24
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
* Zhenchang Xing <xing(at)cs(dot)ualberta(dot)ca> [2004-10-18 15:31:04 -0600]:

> Can I connect to built-in template1 database, and call, for example,
> execute("CREATE DATABASE newdb ...") from within JDBC?

It's a query like any other - that should work fine.

Steven Klassen - Lead Programmer
Command Prompt, Inc. -
PostgreSQL Replication & Support Services, (503) 667-4564

In response to

pgsql-novice by date

Next:From: Martin FosterDate: 2004-10-19 02:43:31
Subject: Administrative lockout
Previous:From: Zhenchang XingDate: 2004-10-18 21:31:04
Subject: can i create a database programmatically?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group