Michael Rogers wrote:
> John,
>
> Here's what I suggest, but take it with a grain of salt because I
> haven't tried it. There is an extension for tcl that allows you
> to make calls to ODBC drivers called, oddly enough, tclodbc. You can
> get a copy at
>
> http://www.neosoft.com/tcl/ftparchive/sorted/databases
>
> You will also have to get the ODBC drivers for PostgresSQL - try
>
> http://www.MageNet.com/postodbc
>
> These should allow you to remotely access the database from a client.
>
> Hope this helps,
>
> Mike Rogers
>
There is another way: PG distribution includes pgtcllib. I build special
pgwish with pgtcllib and suggestit to be the vtcl - wish (correct start vtcl
script)
pgtcllib works well. It's more powerfull than ODBC.
Dan. (mailto: [EMAIL PROTECTED])
> John Sharondz Sharon Dzilvelis writes:
> ? Hello everyone,
> ?
> ? I am new to vtcl (and tcl/tk). I am currently trying to figure out a way to
> ? create a database application with the following platform: a Linux server
> ? running PostgresSQL, and a tcl application running on a Mac or pc.
> ?
> ? The question is , how do I get the client to communicate with the server?
> ? Especially a mac. I have a feeling it has something to do with the socket
> ? command, but I am finding the docs a bit obscure concerning this.
> ?
> ? By the way, PostgresSQL has a tcl library which works perfectly if I am
> ? running the app on the linux box, but I am not aware of one that runs on
> ? the mac.
> ?
> ? The implications are huge if I can find an elegent way to do this. Imagine
> ? cross platform , client server apps that don't cost $20,000 to setup BEFORE
> ? the first line of code has been written.
> ?
> ? Could be the system that the commercial industry doesn't want you to know
> ? about.
> ?
> ? Thanks in advance. And thanks to the creator(s) of vtcl for putting
> ? creativity back in the hands of the programmer.
> ?
> ?
> ? ---------------------------------------------------------------------------
> ? To unsubscribe from the Visual Tcl mailing list, please send a message
> ? to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
> ? message body (where [EMAIL PROTECTED] is your e-mail address).
> ?
> ---------------------------------------------------------------------------
> To unsubscribe from the Visual Tcl mailing list, please send a message
> to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
> message body (where [EMAIL PROTECTED] is your e-mail address).
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).