microsoft / azuredatastudio-postgresql

azuredatastudio-postgresql is an extension for Azure Data Studio that enables you to work with PostgreSQL databases
Other
192 stars 37 forks source link

JSON viewer taking too long to open #436

Closed mistermiracl closed 11 months ago

mistermiracl commented 1 year ago

Describe the bug Azure Data Studio JSON viewer is taking too long to open when clicking on fields containing JSON data, about 20-30 seconds

To Reproduce Steps to reproduce the behavior:

  1. Query a table with JSON data
  2. Click on the field containing JSON data
  3. Experience the delay

Expected behavior The JSON viewer should open almost instantly, Just like with previous postgres extensions versions.

Desktop (please complete the following information):

ADS (please complete the following information):

Additional context This issue did not exist in previous version name extension 0.2.7, after upgrading this started happening. Also, for SQLServer databases with JSON fields on the same Azure Studio version there's not delay when opening the JSON viewer.

nasc17 commented 11 months ago

@mistermiracl could you please update to latest stable release of PostgreSQL extension v0.5.0 and Azure Data Studio v1.45.1. We would appreciate your verification if this issue is still present, thank you.

mistermiracl commented 11 months ago

verified that it's all good now, thanks!