pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Tcl Error
3+ messages / 3 participants
[nested] [flat]

* Tcl Error
@ 2003-05-26 08:37 setyawan_kim <setyawankim@telkom.net>
  2003-05-27 04:50 ` Re: Tcl Error Constantin Teodorescu <teo@flex.ro>
  0 siblings, 1 reply; 3+ messages in thread

From: setyawan_kim @ 2003-05-26 08:37 UTC (permalink / raw)
  To: pgsql-interfaces

Hi,

I have PgAccess 0.98.7 and I clicked on the button "Database ", "New"
  Name  : Employer 
 "Create"

Error : Tcl Error executing pg_exec create database Employer is not a valid 
postgreSQL connection

Operating system Linux Mandrake 9.0 (dolphin) , PostgreSQL-7.2.2-1mdk, 
Tk-8.3.3-21mdk

What can I do ?




Setyawan 



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Tcl Error
  2003-05-26 08:37 Tcl Error setyawan_kim <setyawankim@telkom.net>
@ 2003-05-27 04:50 ` Constantin Teodorescu <teo@flex.ro>
  2003-05-27 14:01   ` Re: Tcl Error JL <JLT@WVInter.Net>
  0 siblings, 1 reply; 3+ messages in thread

From: Constantin Teodorescu @ 2003-05-27 04:50 UTC (permalink / raw)
  To: setyawan_kim <setyawankim@telkom.net>; +Cc: pgsql-interfaces

setyawan_kim wrote:

>Hi,
>
>I have PgAccess 0.98.7 and I clicked on the button "Database ", "New"
>  Name  : Employer 
> "Create"
>
>Error : Tcl Error executing pg_exec create database Employer is not a valid 
>postgreSQL connection
>
>Operating system Linux Mandrake 9.0 (dolphin) , PostgreSQL-7.2.2-1mdk, 
>Tk-8.3.3-21mdk
>
>What can I do ?
>
>  
>

In order to create a new database, you should be connected to an 
existing one.
Try connecting to 'template1' database (always exist) and then create a 
new database.

Teo
Braila, ROMANIA





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Tcl Error
  2003-05-26 08:37 Tcl Error setyawan_kim <setyawankim@telkom.net>
  2003-05-27 04:50 ` Re: Tcl Error Constantin Teodorescu <teo@flex.ro>
@ 2003-05-27 14:01   ` JL <JLT@WVInter.Net>
  0 siblings, 0 replies; 3+ messages in thread

From: JL @ 2003-05-27 14:01 UTC (permalink / raw)
  To: Constantin Teodorescu <teo@flex.ro>; setyawan_kim <setyawankim@telkom.net>; +Cc: pgsql-interfaces

On Tue May 27 2003 00:50, Constantin Teodorescu wrote:
<snip>
> In order to create a new database, you should be connected to an
> existing one.
> Try connecting to 'template1' database (always exist) and then create a
> new database.

IMHO this is the nonsence.
It is not logical to think in those terms.

The pgaccess code should trap the error, as it knows that
	"you should be connected to an existing one".
And then, pgaccess code should do, whatever else needs to be done.

-- 
John Turner
http://Members.Ntelos.Net/~JLT
JCI Inc.
304 776 3675
"Just because you do not know the answer,
does not mean that someone else does"
Sephen J. Gould {RIP}



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-05-27 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-26 08:37 Tcl Error setyawan_kim <setyawankim@telkom.net>
2003-05-27 04:50 ` Constantin Teodorescu <teo@flex.ro>
2003-05-27 14:01   ` JL <JLT@WVInter.Net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox