1. Jochen Peters
  2. Valentina Studio
  3. Dienstag, November 07 2017, 04:37 PM
  4.  Abonnieren via E-Mail
Hi!
Your project seems more convenient when working with PostgeSQL (9.6 - 10). But when you access the created sequences, you get errors. Sequences work. Table fields are incremented. But I see mistakes in your environment. What am I doing wrong? Thank you.
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Dmitry,

I can reproduce this problem with PostgreSQL 10 (but not 9.6)
Some information columns were removed.

Added this issue to the bug tracker.
Referenzen
  1. http://valentina-db.com/bt/view.php?id=8111
Kommentar
There are no comments made yet.
Andre Volpato Akzeptierte Antwort
Helo,

You can't rely on pg_sequence since its been added in PG10 only.
The previous behaviour is ok for older versions, so what need to be done is to detect the database version.

Thank you,
Andre
Anhänge
Kommentar
There are no comments made yet.
Sergey Pashkov Akzeptierte Antwort
Hello Andre,
Thank you, yes, the version is detected but it is compared to wrong value.
Kommentar
There are no comments made yet.
  • Seite :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories