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:readWhat 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, andchar - Numeric:
smallint,integer,bigint,real,double precision, andnumeric
Primary key columns are read-only.
Edit values
- In Tables, open the table.
- Click a cell and enter the new value. To set a nullable cell to
NULL, click Set to NULL in the cell. - Click Save, or press
Cmd+Son macOS orCtrl+Son 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