Search found 164 matches
- 27.11.2010, 22:56
- Forum: 6.6 - stable
- Topic: ZEOS database component like TDabatase or TIBDatabase
- Replies: 25
- Views: 4429
Hello, all first of all - great work! I think people will find the components useful for their tasks. There are some notices I'd like to share with you. First of all the bug http://zeosbugs.firmos.at/view.php?id=232#bugnotes. The patch provided by papelhigienico fixes it. I looked through the source...
- 27.11.2010, 22:17
- Forum: User Patches
- Topic: Path to 6.6.6-stable - "constref" FPC 2.5.1
- Replies: 11
- Views: 3683
zeos does not compile on FPC 2.4 anymore
Hello,
the change applied may be ok for FPC 2.5, but for FPC 2.4 it raises exception when compiling. Attaching patch that should fix the problem.
the change applied may be ok for FPC 2.5, but for FPC 2.4 it raises exception when compiling. Attaching patch that should fix the problem.
- 09.11.2010, 09:18
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6168
- 09.11.2010, 08:44
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6168
gmb , Well, the script can be very simple update pg_attrdef set adsrc = pg_get_expr(def.adbin, def.adrelid); Anyway - I have never done so and because only God knows who uses adsrc and for what reasons I would discourage you from updating it (without serious testing at least). The introduction of T...
- 08.11.2010, 14:42
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6168
gmb , Strange that is only occurring now. You are truly right.. Have you been doing backup/restore successfully in past? I can't say since when backup/restore cuts the schema off, but I faced the problem more than 2 years ago. Will changing the ZConnection.Protocol have any impact? Changing the pro...
- 08.11.2010, 08:55
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6168
Hello, gmb , If I remember correctly, there was a problem with serial collumns once.. In ZDbcPostgreSqlMetadata the expresion pg_get_expr(def.adbin, def.adrelid) should be used instead of adsrc when finding default values for fields. The problem is pg_restore does not restore adsrc correctly. It los...
- 21.10.2010, 16:44
- Forum: ZDBC (ZEOS Database Connectivity)
- Topic: How to detect connection lost if network cable is unplugged?
- Replies: 2
- Views: 2337
Hello aktivo in short - you cant detect the connection loss without trying. Executing queries after connection is lost used to lead to Access violation exceptions. In version7 this was fixed. There are 2 ways to ensure connection: 1) pinging server before every query. If ping does not succeed - disc...
- 14.10.2010, 07:04
- Forum: 6.6 - stable
- Topic: Serial/Autoincrement is jumping up by 2 every time on PgSQL
- Replies: 3
- Views: 650
Hello, vfclists , I've been using zeos + postgres for several years. I use ZUpdateSQL too, but I have never observed the behaviour you describe... I would suggest using TZSQLMonitor and see what statements are executed. Maybe you issue nextval('seq_name') manualy? Also check if increment of the sequ...
- 20.09.2010, 07:48
- Forum: PostgreSQL
- Topic: executedirect timeout
- Replies: 2
- Views: 1672
Hello garynorton , I've investigated the ExecuteDirect implementation for postgres and it seems to me the behavior of ExecuteDirect and TZQuery.Open should be the same. I guess you encounter the old problem of lost connection that led to Access violation usualy. It was resolved in v7 of Zeos (SVN Re...
- 06.09.2010, 18:11
- Forum: ZeosLib 7.0 Beta Forum
- Topic: 0 record(s) updated
- Replies: 10
- Views: 1256
- 06.09.2010, 15:47
- Forum: ZeosLib 7.0 Beta Forum
- Topic: 0 record(s) updated
- Replies: 10
- Views: 1256
- 06.09.2010, 12:33
- Forum: 6.6 - stable
- Topic: SQL Grouping
- Replies: 2
- Views: 461
- 01.09.2010, 07:51
- Forum: ZeosLib 7.0 Beta Forum
- Topic: 0 record(s) updated
- Replies: 10
- Views: 1256
Hello, Morenz , I've created the table you provided on server v. 8.4.3, entered some data, edited the statomir column without problems. Do you use downloaded zeos version (snapshot) or do you get it from svn repository? Mine is from repository... (revision 803). Maybe there something in DB settings?...
- 31.08.2010, 11:16
- Forum: ZeosLib 7.0 Beta Forum
- Topic: 0 record(s) updated
- Replies: 10
- Views: 1256
- 30.08.2010, 07:24
- Forum: 6.6 - stable
- Topic: Zeos multiuser and transaction support code
- Replies: 5
- Views: 835