Thanks Jan , I'll take a look at the svn repo. Will post here again if I need any more info.
Regards
Search found 18 matches
- 14.10.2019, 20:59
- Forum: 6.6 - stable
- Topic: Postgres dollar quoting (Delphi6)
- Replies: 2
- Views: 562
- 14.10.2019, 07:46
- Forum: 6.6 - stable
- Topic: Postgres dollar quoting (Delphi6)
- Replies: 2
- Views: 562
Postgres dollar quoting (Delphi6)
Hi For reasons one of our projects is still stuck on Delphi6 - we're using the latest compatible ZEOSLIB (6.6_stable). We're increasingly running into problems where this is raised: >> Input parameter count is less then expected. Further investigation showed that this is caused by the question marks...
- 30.04.2018, 13:46
- Forum: ZeosLib 7.1 stable Forum
- Topic: Ignore question marks (?) in comments in SQL (delphi)
- Replies: 1
- Views: 2466
Ignore question marks (?) in comments in SQL (delphi)
Hi all, I hope these is a simple solution. Online searches was not able to assist me in solving this. Using Delphi XE5, Zeos 7.1.4 with PostgreSQL. We are loading a library of scripts (compiled as resources) at runtime and executing the SQL. Recently we started to encounter syntax errors and after s...
- 24.04.2013, 06:19
- Forum: 6.6 - stable
- Topic: Postgres 9.2 UTF: single quote posted as '\047'
- Replies: 0
- Views: 1542
Postgres 9.2 UTF: single quote posted as '\047'
Apologies, I know there are many posts out there on this subject, but tried a lot of the suggestions and still cannot get this right. If someone can point me in the right direction, I'll appreciate it a lot. I'm using Delphi6, ZEOS v 6.6.6, PostgreSQL 9.2 (DB encoding = UTF8) Posting a string value ...
- 30.08.2011, 23:04
- Forum: 6.6 - stable
- Topic: Getting out of transaction if exception occurred
- Replies: 5
- Views: 2461
Thanks for the response, Wild_Pointer (and sorry for my late reply) I've read some articles about AutoCommit, but cannot quite understand what effect it will have on my code. As far as I understand, setting this to TRUE will mean that each statement is committed automatically, which negates my goal ...
- 25.08.2011, 06:51
- Forum: 6.6 - stable
- Topic: Getting out of transaction if exception occurred
- Replies: 5
- Views: 2461
Getting out of transaction if exception occurred
Hi there Using Zeos 6.6.6-stable with Delphi6 on Postgres 8.3 I'm having difficulty implementing transactions in my application in the way that I feel will be most practical. My app is running lengthy DB processes which I'd like to put in transactions; I've implemented it like this: ExecSQL( 'begin;...
- 11.11.2010, 10:05
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6278
- 09.11.2010, 10:23
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6278
- 09.11.2010, 10:18
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6278
- 09.11.2010, 09:05
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6278
Wild_Pointer Thanks , I'll probably stick with the 3rd option for now. The introduction of TZSequence in versions after 6.1.5, however, implies a major overhaul of my code - something I just do not have the time for now I have never used TZSequence yet Sorry if this is a stupid question, but how do...
- 08.11.2010, 20:54
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6278
- 08.11.2010, 13:10
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6278
THanks for the replies. It loses the schema Hi Wild_Pointer, what you are saying here sounds exactly like my problem. Strange that is only occurring now. Maybe related to changes in pg_dump/pg_restore? Will changing the ZConnection.Protocol have any impact? Currently I'm using postgresql-7.3 (for no...
- 05.11.2010, 15:20
- Forum: 6.1.5
- Topic: Postgres sequence problem after DB restore - Help please
- Replies: 12
- Views: 6278
Postgres sequence problem after DB restore - Help please
Hi all, Using Delphi6 & Postgres with zeos 6.1.5 - and have not had any problems like this before. My app is very dependant of schemas in the DB and also use serials columns for PK's: CREATE TABLE sch1.tab1( tabid SERIAL PRIMARY KEY, tabdesc TEXT ); which implies: CREATE SEQUENCE sch1.tab1_tabid...
- 13.10.2009, 21:06
- Forum: 6.1.5
- Topic: Postgres : PGCLIENTENCODING
- Replies: 2
- Views: 2447
- 13.10.2009, 19:19
- Forum: 6.1.5
- Topic: Postgres : PGCLIENTENCODING
- Replies: 2
- Views: 2447
Postgres : PGCLIENTENCODING
Hi all I'm getting the following message when trying to connect to Postgres server: [quote]SQL Error: invalid encoding name in PGCLIENTENCODING: WIN1252[/quote] Delphi 6 application with Zeos 6.1.5 on Windows 7 (64x), PostgreSQL 8.3 I tried re-installing PG using different encoding, but had no luck....