[squeak-dev] PostgresV3 SchemaMirror browseChanges Upload All vs Download All . Which way is which?

gettimothy gettimothy at zoho.com
Mon Feb 26 01:30:21 UTC 2018


Hi Levente.

I have modified one of the PostgresV3 help pages on schema mirror and added your clarification:




Schema mirrors mirror the functions in your database and provide an interface to call them. There is a little tool to inspect the differences between the methods of the schema mirror and the functions in the database, which can be invoked by:


YourSchemaMirror browseChanges


You can up and download functions via this interface. 




Download means to download the functions from the database server into your  image. 
Upload means to upload from Sqeuak to the database.


Download = DB->Squeak
Upload = Squeak->DB. 


You can also do this method-by-method using the context menu of the listed 
functions. There''s also an option there to delete the function from the 
database. 




In earlier times we would write the database functions in pgAdmin3 and download them into the image. Nowadays we use the smalltalk browser to write the plpgsql code and upload them to the DB. 

 

Cheers.


t



---- On Sun, 25 Feb 2018 07:03:30 -0500 Levente Uzonyi<leves at caesar.elte.hu> wrote ---- 

Hello Timothy, 
 
On Sun, 25 Feb 2018, gettimothy wrote: 
 
> I have this beautiful tool that lists all the functions in my schema and it has buttons "Download All" and "Upload All" etc. 
> 
> My question are "Which way is Up" and "Which way is Down"? 
 
Download means to download the functions from the database server into 
your image. Upload means the opposite direction. 
 
You can also do this method-by-method using the context menu of the listed 
functions. There's also an option there to delete the function from the 
database. 
 
> 
> What I want to accomplish is this direction [My database] ---->[Squeak] 
> 
> I am guessing that I want to Upload, BUT  for documentation purposes I want to be clear. Also,  I don't want to have to re-import the functions. 
> 
 
So, you want to Download. 
 
Levente 
 
> thx 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20180225/757d0fd7/attachment.html>


More information about the Squeak-dev mailing list