53

Something strange is happening with my new created tables in Postgres, I can add data to them, but I cannot use PgAdmin to edit the any row.

This is my table columns description:

Table columns

After executing the query to view all table rows this is what I can see:

Right click at the table

At the Data Output

Save button is disabled to update my table rows. But this is happening only with my new created tables, as you can see, I have other tables where I'm able to edit rows, for example at this table of Users:

Other table that is able to edit data

2 Answers 2

111

Found the problem! That was happening, because I didn't select any of the columns as 'Primary key':

Table columns description updated

2
  • Oracle Database rowid values contain information necessary to locate a row. Exists some of similar in postgres for edit row with "dynamic primary key"?
    – Angelo
    Commented Jul 10, 2018 at 13:12
  • This was my problem as well. Thanks so much for posting.
    – JohnyClash
    Commented Apr 12 at 21:11
0

My issue was that I was doing a join and pgAdmin didn't like that. I had to query the table directly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.