{ "name": "azuredatastudio-postgresql", "displayName": "PostgreSQL", "version": "0.2.6", "publisher": "Microsoft", "description": "PostgreSQL extension for Azure Data Studio", "aiKey": "c2c974c2-f342-42c8-b85b-b79436a86603", "icon": "images/extension-icon.png", "repository": { "url": "https://github.com/Microsoft/azuredatastudio-postgresql" }, "license": "MIT", "activationEvents": [ "*" ], "main": "./out/main", "extensionDependencies": [ "vscode.sql" ], "scripts": { "compile": "gulp build", "package": "gulp package:online", "package-offline": "gulp package:offline" }, "contributes": { "grammars": [ { "injectTo": [ "source.sql" ], "scopeName": "source.pgsql-injection.sql", "path": "./syntaxes/pgsql-injection.json" } ], "outputChannels": [ "PGSQL" ], "snippets": [ { "language": "sql", "path": "./snippets/pgsql.json" } ], "configuration": { "type": "object", "title": "PGSQL configuration", "properties": { "pgsql.logDebugInfo": { "type": "boolean", "default": false, "description": "[Optional] Log debug output to the VS Code console (Help -> Toggle Developer Tools)" }, "pgsql.enabled": { "type": "boolean", "default": true, "description": "[Optional] Enable PostgreSQL support (currently in development)" }, "pgsql.debugSourcePath": { "type": [ "string", "null" ], "default": null, "description": "[Optional] Path to the source directory of the PostgreSQL Tools Service, for debugging" }, "pgsql.useDebugSource": { "type": "boolean", "default": false, "description": "[Optional] Enable running the PGSQL extension via the path set in pgsql.debugSourcePath" }, "pgsql.enableStartupDebugging": { "type": "boolean", "default": false, "description": "[Optional] Whether to make the PostgreSQL Tools Service wait for a debugger to attach when starting" }, "pgsql.debugServerPort": { "type": "number", "default": 3000, "description": "[Optional] The port to run the PostgreSQL Tools Service remote debugger on (default 3000)" }, "pgsql.defaultDatabase": { "type": "string", "default": "postgres", "description": "The default database to use when creating a new PostgreSQL connection" }, "pgsql.format.keywordCase": { "type": [ "string", "null" ], "description": "[Optional] Changes how keywords are formatted. Allowed values are 'upper', 'lower' and 'capitalize'.", "default": null, "enum": [ null, "upper", "lower", "capitalize" ] }, "pgsql.format.identifierCase": { "type": [ "string", "null" ], "description": "[Optional] Changes how identifiers are formatted. Allowed values are 'upper', 'lower' and 'capitalize'.", "default": null, "enum": [ null, "upper", "lower", "capitalize" ] }, "pgsql.format.stripComments": { "type": "boolean", "default": false, "description": "[Optional] If true comments are removed from the statements" }, "pgsql.format.reindent": { "type": "boolean", "default": true, "description": "[Optional] If true the indentations of the statements are changed." } } }, "connectionProvider": { "protocolVersion": "1.0", "providerName": "PGSQL", "providerId": "PGSQL", "displayName": "PostgreSQL", "azureResource": "OssRdbms", "connectionOptions": [ { "specialValueType": "connectionName", "isIdentity": true, "name": "connectionName", "displayName": "Name (optional)", "description": "Custom name of the connection", "groupName": "Source", "valueType": "string", "defaultValue": null, "objectType": null, "categoryValues": null, "isRequired": false, "isArray": false }, { "name": "host", "displayName": "Server name", "description": "Name of the PostgreSQL instance", "valueType": "string", "specialValueType": "serverName", "isIdentity": true, "isRequired": true, "groupName": "Source", "defaultValue": null, "objectType": null, "categoryValues": null, "isArray": false }, { "specialValueType": "authType", "isIdentity": true, "name": "authenticationType", "displayName": "Authentication type", "description": "How to authenticate with server", "groupName": "Security", "valueType": "category", "defaultValue": "SqlLogin", "objectType": null, "categoryValues": [ { "displayName": "Password", "name": "SqlLogin" }, { "displayName": "Azure Active Directory", "name": "AzureMFAAndUser" } ], "isRequired": true, "isArray": false }, { "name": "dbname", "displayName": "Database name", "description": "The name of the initial catalog or database int the data source", "valueType": "string", "specialValueType": "databaseName", "isIdentity": true, "isRequired": false, "groupName": "Source", "defaultValue": "postgres" }, { "name": "user", "displayName": "User name", "description": "Indicates the user ID to be used when connecting to the data source", "valueType": "string", "specialValueType": "userName", "isIdentity": true, "isRequired": true, "groupName": "Security" }, { "name": "password", "displayName": "Password", "description": "Indicates the password to be used when connecting to the data source", "valueType": "password", "specialValueType": "password", "isIdentity": true, "isRequired": true, "groupName": "Security" }, { "name": "hostaddr", "displayName": "Host IP address", "description": "IP address of the server", "valueType": "string", "isIdentity": true, "groupName": "Server", "defaultValue": null }, { "name": "port", "displayName": "Port", "description": "Port number for the server", "valueType": "number", "isIdentity": true, "groupName": "Server", "defaultValue": null }, { "name": "connectTimeout", "displayName": "Connect timeout", "description": "Seconds to wait before timing out when connecting", "valueType": "number", "groupName": "Client", "defaultValue": "15" }, { "name": "clientEncoding", "displayName": "Client encoding", "description": "The client encoding for the connection", "valueType": "string", "groupName": "Client", "defaultValue": null }, { "name": "options", "displayName": "Command-line options", "description": "Command-line options to send to the server when the connection starts", "valueType": "string", "groupName": "Server", "defaultValue": null }, { "name": "applicationName", "displayName": "Application name", "description": "Value for the 'application_name' configuration parameter", "valueType": "string", "groupName": "Client", "specialValueType": "appName" }, { "name": "sslmode", "displayName": "SSL mode", "description": "The SSL mode to use when connecting", "valueType": "category", "groupName": "SSL", "categoryValues": [ { "displayName": "Disable", "name": "disable" }, { "displayName": "Allow", "name": "allow" }, { "displayName": "Prefer", "name": "prefer" }, { "displayName": "Require", "name": "require" }, { "displayName": "Verify-CA", "name": "verify-ca" }, { "displayName": "Verify-Full", "name": "verify-full" } ], "defaultValue": "prefer" }, { "name": "sslcompression", "displayName": "Use SSL compression", "description": "Whether to compress SSL connections", "valueType": "boolean", "groupName": "SSL" }, { "name": "sslcert", "displayName": "SSL certificate filename", "description": "The filename of the SSL certificate to use", "valueType": "string", "groupName": "SSL", "defaultValue": null }, { "name": "sslkey", "displayName": "SSL key filename", "description": "The filename of the key to use for the SSL certificate", "valueType": "string", "groupName": "SSL", "defaultValue": null }, { "name": "sslrootcert", "displayName": "SSL root certificate filename", "description": "The filename of the SSL root CA certificate to use", "valueType": "string", "groupName": "SSL", "defaultValue": null }, { "name": "sslcrl", "displayName": "SSL CRL filename", "description": "The filename of the SSL certificate revocation list to use", "valueType": "string", "groupName": "SSL", "defaultValue": null }, { "name": "requirepeer", "displayName": "Require peer", "description": "The required username of the server process", "valueType": "string", "groupName": "Server", "defaultValue": null }, { "name": "service", "displayName": "Service name", "description": "The service name in pg_service.conf to use for connection parameters", "valueType": "string", "groupName": "Client", "defaultValue": null } ] }, "commands": [ { "command": "pgproj.build.all", "title": "Build all PostgreSQL projects", "category": "PostgreSQLProject" }, { "command": "pgproj.build.current", "title": "Build PostgreSQL project", "category": "PostgreSQLProject" }, { "command": "pgproj.add.new", "title": "New PostgreSQL Project", "category": "PostgreSQLProject" }, { "command": "pgproj.deploy.current", "title": "Deploy", "category": "PostgreSQLProject" } ], "menus": { "commandPalette": [ { "command": "pgproj.build.current", "when": "resourceExtname == .pgproj" }, { "command": "pgproj.deploy.current", "when": "resourceExtname == .pgproj" }, { "command": "pgproj.add.new", "when": "false" } ], "explorer/context": [ { "command": "pgproj.build.current", "when": "resourceExtname == .pgproj" }, { "command": "pgproj.deploy.current", "when": "resourceExtname == .pgproj" }, { "command": "pgproj.add.new", "when": "explorerResourceIsFolder" } ], "editor/context": [ { "command": "pgproj.build.current", "when": "resourceExtname == .pgproj" }, { "command": "pgproj.deploy.current", "when": "resourceExtname == .pgproj" } ] } }, "dependencies": { "@microsoft/ads-service-downloader": "^1.1.0", "@microsoft/ads-extension-telemetry": "^1.3.4", "crypto": "^1.0.1", "dataprotocol-client": "github:Microsoft/sqlops-dataprotocolclient#1.3.1", "tmp": "0.2.1 ", "vscode-languageclient": "5.2.1", "which": "^1.3.1", "compare-versions": "^3.5.1", "xml2js": "^0.5.0", "vscode-nls": "^5.0.0" }, "devDependencies": { "@types/node": "^12.11.7", "@types/vscode": "^1.77.0", "@types/azdata": "^1.43.0", "del": "^6.1.1", "gulp": "github:gulpjs/gulp#4.0.2", "gulp-istanbul-report": "0.0.1", "gulp-json-editor": "^2.5.6", "gulp-rename": "^2.0.0", "gulp-shell": "^0.8.0", "gulp-sourcemaps": "^3.0.0", "gulp-tslint": "^8.1.4", "gulp-typescript": "^5.0.1", "gulp-untar": "0.0.8", "tslint": "^6.1.3", "typescript": "^4.3.5", "vscode-nls-dev": "https://github.com/Raymondd/vscode-nls-dev/releases/download/2.0.2/build.tar.gz" }, "resolutions": { "gulp-cli": "2.3.0" }, "requiredDotNetCoreSDK": "2.1.0", "projectTemplateNugetId": "Microsoft.DataTools.PostgreSql.ProjectTemplate", "minSupportedPostgreSQLProjectSDK": "0.1.0", "maxSupportedPostgreSQLProjectSDK": "0.1.0" }