Code Monkey home page Code Monkey logo

postgresqlmigration's Issues

UpdateScript does not compile folder contents in the correct order

Prior to /releases/tag/v.1.4 , UpdateScript has prioritized compiling folder contents with .sql files before subfolders.

This behaviour is now corrected in v.1.4, which now prioritize subfolder contents before files in the same level. This is the same as file manager display ordering (usually folders are ranked above files regardless of their names).

However, since this program is meant to order all content according to a 3 digit ascending code to ensure correct ordering, it should be considered a missing feature to correctly rank folder contents.

EXECUTE structure migration

EXECUTE statements are not handled by AWS except the most simple cases. This addition should handle exec (sp name) (dynamic sql var) USING (var1...), and replace var1... etc with $1... etc in the proceeding string respectively.

FROM block add dbo. also added to WITH blocks

"dbo." should only be added to tables under the dbo schema, where as WITH name_for_summary_data AS is a temporary non tables name.
Encountering a WITH block should be tracked and have tracker reset on detecting ";" ; or alternatively the name_for_summary_data keyword should be recorded and specifically look to avoid adding dbo to the keyword.

Feature: variable set value syntax migration

In sql server, it is typically written as SELECT A = B FROM (...), but this would be seen as a if A equal to B condition and return True or False instead. Some mind of SET A = B syntax needs to be implemented instead and be able to recognize simple (and ONLY simple) cases and automatically add / replace / delete respective items.

if end if

Sql server if syntax simply can end, postgres if needs to terminate with end if;. In the future, end case; and end loop; for CASE ... WHEN and loops will also need to be handled.

set variable value to :=

Setting variable value is completed with a := 0; instead of set a = 0, this means check for set word = words and if ; already terminates the line in case some processing has already happened.

updatescript does not display dialogue correctly sometimes

When there are many folders at the same level as the program, the UI runs out of room to display all folders and also pushes the run button to the very bottom where it's not longer accessible. A simple scroll bar should solve this issue.

UpdateScript encoding issues

some utf-8 encoded characters have issues with decoding/encoding with the script, including some invalid characters, this would break the script.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.