Menu

#719 Unable to select the table (ERROR: column d.adsrc does not exist)

4.7.3
closed-fixed
nobody
None
5
2019-11-11
2019-10-16
No

Hello, i have an error. I use postgres, node js(sequelize) and via SQL request i can select my tables in db. Datas record in db and server works without problem. Help me, please.
'Unable to select the table'

2 Attachments

Discussion

  • Nikolay Kolev

    Nikolay Kolev - 2019-10-17

    This is postgresql 12 bug ...

     
    • mike

      mike - 2019-10-18

      This is not a bug. See my comment.

       
  • mike

    mike - 2019-10-18

    It's not a postgresql bug - it's been removed in V 12.

    In fact, the release notes for V12 say:

    Remove obsolete pg_attrdef.adsrc column (Peter Eisentraut)

    Source: https://www.postgresql.org/docs/release/12.0/

    It exists up to V11:
    https://www.postgresql.org/docs/11/catalog-pg-attrdef.html

    For V12:
    https://www.postgresql.org/docs/12/catalog-pg-attrdef.html

    From old the Postgres docs:

    "The adsrc field is historical, and is best not used, because it does not track outside changes that might affect the representation of the default value. Reverse-compiling the adbin field (with pg_get_expr for example) is a better way to display the default value."

     
  • mike

    mike - 2019-10-20

    I fixed this on the github repo, not sure how to ad a PR here: https://github.com/vrana/adminer/pull/367

     
    • dubovitsky oleg

      dubovitsky oleg - 2019-10-22

      I'm sorry, but there is still error

       

      Last edit: dubovitsky oleg 2019-10-22
    • Jakub Vrána

      Jakub Vrána - 2019-11-11

      Merged, thanks.

       
  • Jakub Vrána

    Jakub Vrána - 2019-11-11
    • status: open --> closed-fixed
     

Log in to post a comment.