Граф коммитов

8 Коммитов

Автор SHA1 Сообщение Дата
samir-puranik a7f10d8b76
Update to function templates (#467)
- Updated template files ensuring
    - add PgAdmin License header
    - change data.func_without_args to data.func_args
    - macros are being pathed to properly
- Using `.server` instead of `._server` outside of NodeObject class
- Added conn to FunctionBase query_data methods
2023-08-24 16:30:33 -04:00
samir-puranik eec418ec10
Fixes to indexes and constraints to be shown properly in OE (#463)
Addresses issues described in microsoft/azuredatastudio-postgresql#452 and microsoft/azuredatastudio-postgresql#453.

- Indexes should now show scripting options regardless of if they are unique or not
- Indexes will not show primary key, but this will show up in constraints. This is following the pattern of PgAdmin
- Constraints should properly show the associated constraints
    1. Check constraints
    2. Exclusion constraints
    3. Index constraints (primary key and unique key)
    4. Foreign key constraints
- Template files were updated for all constraint types
2023-08-23 13:29:39 -04:00
samir-puranik 994259310a
Fixing CREATE script for Functions (#442)
Fixes create script for functions such that:

- Syntax is correct for immediate execution
- Function body is included for all versions (< 14 and >= 14)
- Should work for procedures and functions

Some template files needed to be changed slightly to prevent using the full properties that are generated for functions in pgAdmin.
2023-07-19 12:12:43 -07:00
Daeun Yim a531607bb6
Psycopg version bump 2 to 3 (#428)
* Fix broken language service

* Fixing tests

* remove qt literals

* Fix test codes

* Fix psycopg2 code

* autopep

* test debugger

* Fix psycopg2 references
2023-06-14 14:48:16 -07:00
Daeun Yim ddae8cbc0b
Fix broken language service (#394) (#395)
* Fix broken language service (#394)

* Fix indexes not expanding (#396)

* Fix broken language service

* fix index not expanding

* Dev/daeunyim/fix broken language service (#397)

* Fix broken language service

* fix index not expanding

* fix style issue

* Fix common.py
2023-04-29 00:09:14 -07:00
Daeun Yim 22fcaadd9d
Remove mysql component (#388)
* Remove mysql component (#382)

* Update initialize_request.py

* remove mysql component

* fix connection amanger file

* Fix style issue
2023-04-24 23:07:35 -07:00
Daeun Yim a6bb065723
Bump up Python version to 310 (#369)
* Bump Up Python Version to 3.10 (#358)

* fix create as script bug

* Bump up python version and correct syntaxes

* nose to nose2

* Fix styles and unused imports

* Fix build config and libraries (#359)

* fix create as script bug

* Bump up python version and correct syntaxes

* nose to nose2

* Fix styles and unused imports

* fix build and library

* Fixing integration tests (#360)

* fix create as script bug

* Bump up python version and correct syntaxes

* nose to nose2

* Fix styles and unused imports

* fix build and library

* test fix

* Fixing integration test issue in pipeline (#362)

* fix create as script bug

* Bump up python version and correct syntaxes

* nose to nose2

* Fix styles and unused imports

* fix build and library

* test fix

* adding test lines

* Fixing integration test issue in pipeline (#363)

* fix create as script bug

* Bump up python version and correct syntaxes

* nose to nose2

* Fix styles and unused imports

* fix build and library

* test fix

* adding test lines

* one more line print

* resolving integration test issue (#364)

* fix create as script bug

* Bump up python version and correct syntaxes

* nose to nose2

* Fix styles and unused imports

* fix build and library

* test fix

* adding test lines

* one more line print

* add encoding

* resolving integration test issue (#365)

* fix create as script bug

* Bump up python version and correct syntaxes

* nose to nose2

* Fix styles and unused imports

* fix build and library

* test fix

* adding test lines

* one more line print

* add encoding

* add encoding

* change config setting and remove printing lines in integration tests (#366)

* Fix style issue (#367)

* change config setting and remove printing lines in integration tests

* fix style issue

* Make flake file to return error when fail (#368)

* change config setting and remove printing lines in integration tests

* fix style issue

* add flake8 to return error when failing
2023-04-13 15:04:07 -07:00
Kevin Mao 483ff6b177
Refactor tools service to support MySQL provider (#267)
* Merge with MySQL/MariaDB branch

* Adjust services to be provider flexible, added MySQL support and re-branded pgtooslservice to ossdbtoolsservice.
2020-08-12 17:24:41 -04:00