Search found 158 matches

by sandeep_c24
17.04.2008, 11:22
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgres pg_CS
Replies: 10
Views: 2073

I had a quick look on the web and I can't seem to find a way to get the encodings supported by Postgres.

Does anyone know how to get this?

Sandeep
by sandeep_c24
17.04.2008, 10:38
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgres pg_CS
Replies: 10
Views: 2073

Ok I'll have a look at and see if there is something in database that I can use to get Encoding. If there is something I'll add a function, as you suggested to metadata units.

Sandeep
by sandeep_c24
16.04.2008, 23:47
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgres pg_CS
Replies: 10
Views: 2073

I need to show those options in a combobox. I have a app where the user can select the Encoding for a database.

Sandeep
by sandeep_c24
16.04.2008, 10:12
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Postgres pg_CS
Replies: 10
Views: 2073

Postgres pg_CS

Hi

I need to use CS_Table array in ZDbcPostgreSqlUtils. It is not exposed would it be alright if I put it before Implementation?

Regards

Sandeep
by sandeep_c24
13.04.2008, 23:15
Forum: Feature Requests
Topic: Changing the Transaction behavior
Replies: 0
Views: 1866

Changing the Transaction behavior

In Zeos with Auto Commit set to True a Transaction is started as soon as the connection is made and committed after that for every operation done(I think that is correct, not 100% sure there). I was wondering what effect it might have to leave the transaction inactive(not calling StartTransaction) u...
by sandeep_c24
08.04.2008, 09:58
Forum: User Contributions
Topic: GetIndexInfo
Replies: 1
Views: 2036

GetIndexInfo

Hi Mark I have made some changes to GetIndexInfo method. Please look at them and see if they look alright. function TZInterbase6DatabaseMetadata.GetIndexInfo(const Catalog: string; const Schema: string; const Table: string; Unique: Boolean; Approximate: Boolean): IZResultSet; var SQL, Key: string; b...
by sandeep_c24
08.04.2008, 08:47
Forum: Firebird
Topic: Commit Retaining
Replies: 1
Views: 951

Commit Retaining

Hi Someone on Codegear's newsgroup asked if Zeos still does CommitRetaining when commit is called. I thought Zeos must be doing hard commits but it turns out it does CommitRetaining. This might have a serious effect on 24x7 systems. Hasn't anyone faced this problem yet? Should something be added to ...
by sandeep_c24
03.04.2008, 21:04
Forum: SQLite Administrator
Topic: can i use SQLite Administrator
Replies: 1
Views: 1641

To create a SQLite database you need to setup the database file properties in TZConnection and when you connect the database file will be created.

Regards

Sandeep
by sandeep_c24
28.03.2008, 22:17
Forum: User Patches
Topic: [patch_done] Updating Same Record
Replies: 24
Views: 5870

Hi Mark

I have tested the branch 358 and it works fine with and without ValidateUpdateCount.

Sandeep
by sandeep_c24
28.03.2008, 09:59
Forum: User Patches
Topic: [patch_done] Updating Same Record
Replies: 24
Views: 5870

Hi Mark I have done the changes. procedure TZGenericCachedResolver.PostUpdates(Sender: IZCachedResultSet; UpdateType: TZRowUpdateType; OldRowAccessor, NewRowAccessor: TZRowAccessor); var Statement : IZPreparedStatement; SQL : string; SQLParams : TObjectList; lUpdateCount : Integer; lValidateUpdateCo...
by sandeep_c24
28.03.2008, 09:25
Forum: PostgreSQL
Topic: Zeos in TService
Replies: 7
Views: 1591

Have you set the Protocol property of the connection?

Sandeep
by sandeep_c24
28.03.2008, 08:43
Forum: User Patches
Topic: [patch_done] Updating Same Record
Replies: 24
Views: 5870

Hi I have changed the following function in unit ZDbcGenericResolver to warn if update count <> 1. procedure TZGenericCachedResolver.PostUpdates%u28Sender%u3a IZCachedResultSet; UpdateType%u3a TZRowUpdateType; OldRowAccessor, NewRowAccessor%u3a TZRowAccessor%u29; var Statement%u3a IZPreparedStatemen...
by sandeep_c24
27.03.2008, 08:04
Forum: User Patches
Topic: [patch_done] Updating Same Record
Replies: 24
Views: 5870

One more thing, It looks like there is no way to get hold of TZQuery.Properties in TZGenericCachedResolver.PostUpdates.

Any ideas how I should go about this?

Sandeep
by sandeep_c24
27.03.2008, 07:38
Forum: User Patches
Topic: [patch_done] Updating Same Record
Replies: 24
Views: 5870

What should I call this switch?

Should I use something like 'AllowZeroUpdateCount=False'? If this is found then exception is raised.

Sandeep
by sandeep_c24
26.03.2008, 09:08
Forum: User Patches
Topic: [patch_done] Updating Same Record
Replies: 24
Views: 5870

Ok, we'll do it your way. I agree we should try and keep things simple. Conclusion ( I think): Every updatecount <> 0 is an error In version 6.6 this can raise an error IF requested explicitly by setting a query property In version 6.7 this should raise an error UNLESS this is disabled explicitly by...