How to access a remote PostgreSQL db

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to access a remote PostgreSQL db

Nicola Mingotti
Hi,

I would like to know if there is a package let me access a PostgresSQL db on a remote computer.

PGSqueak ? [ I can't find the code]

I don't need to do complex stuff, just run a SELECT and retrieve some rows.

I am exploring the possibility of using Squeak to make a GUI and keep under control a solar power plant.

bye
Nicola

 

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
cbc
Reply | Threaded
Open this post in threaded view
|

Re: How to access a remote PostgreSQL db

cbc
Hi Nicola,

This should get you a package to handle PostgresSQL:

MCMcmUpdater updateFromRepository: 'http://squeaksource.com/PostgresV3'. 

I am not a Postgres user (and so haven't verified this), but other folks on squeak dev who are say this is the way to get the package loaded.

Thanks,
cbc 

On Mon, Jul 15, 2019 at 8:39 AM Nicola Mingotti <[hidden email]> wrote:
Hi,

I would like to know if there is a package let me access a PostgresSQL db on a remote computer.

PGSqueak ? [ I can't find the code]

I don't need to do complex stuff, just run a SELECT and retrieve some rows.

I am exploring the possibility of using Squeak to make a GUI and keep under control a solar power plant.

bye
Nicola

 
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: How to access a remote PostgreSQL db

Nicola Mingotti

Hi Chris,

I tried, it works as expected, I can SELECT from a remote Postgres db with username and password. 

thank you ! 

bye
Nicola








On Jul 16, 2019, at 4:38 AM, Chris Cunningham <[hidden email]> wrote:

Hi Nicola,

This should get you a package to handle PostgresSQL:

MCMcmUpdater updateFromRepository: 'http://squeaksource.com/PostgresV3'. 

I am not a Postgres user (and so haven't verified this), but other folks on squeak dev who are say this is the way to get the package loaded.

Thanks,
cbc 

On Mon, Jul 15, 2019 at 8:39 AM Nicola Mingotti <[hidden email]> wrote:
Hi,

I would like to know if there is a package let me access a PostgresSQL db on a remote computer.

PGSqueak ? [ I can't find the code]

I don't need to do complex stuff, just run a SELECT and retrieve some rows.

I am exploring the possibility of using Squeak to make a GUI and keep under control a solar power plant.

bye
Nicola

 
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners