Skip to main content

Edit Aiven for PostgreSQL® table data in PG Studio

Fix and update values in your Aiven for PostgreSQL® tables directly in the data grid of Tables, without writing SQL.

Required roles or permissions:service:data:write and service:secrets:read

What you can edit​

You can edit tables that have a primary key. In these tables, you can edit columns with the following data types:

  • Text: text, varchar, and char
  • Numeric: smallint, integer, bigint, real, double precision, and numeric

Primary key columns are read-only.

Edit values​

  1. In Tables, open the table.
  2. Click a cell and enter the new value. To set a nullable cell to NULL, click Set to NULL in the cell.
  3. Click Save, or press Cmd+S on macOS or Ctrl+S on Windows and Linux.

To discard all unsaved changes instead, click Discard.

How changes are saved​

  • Written directly: PG Studio writes saved changes directly to your database. To revert a change, edit the value again.
  • All or nothing: PG Studio saves all your changes together. If one change fails, for example because a value violates a constraint or the row was deleted, no changes are saved. Fix the value and save again.
  • Current page only: Unsaved changes apply to the page you are viewing. If you sort the rows, change the page, or leave the table, PG Studio asks whether to keep editing or discard your changes.

Related pages