Commits

Author Commit Message Labels Comments Date
Tuukka Norri
SQL schema - Added a new table for relationships. - Added a new function for assigning them (instead of using the complex view hierarchy). - One-to-many and one-to-one relationships for tables and named using the foreign key can now be created.
Tuukka Norri
SQL schema - baseten.foreign_key now contains information about the source fields' uniqueness.
Tuukka Norri
SQL schema - Foreign keys listed in baseten.ignored_fkey will no longer be inserted into baseten.foreign_key when assigning ids.
Tuukka Norri
SQL schema - Adjusted privileges. - Renamed baseten._foreign_key to foreign_key to reflect the fact that it's supposed to be used from BaseTen framework and not just within the schema. - Changed conkey and confkey fields from smallint[]s to name[]s to store the field names directly. This way they'll be easily accessible from BaseTen.
Tuukka Norri
SQL schema - Modification and lock tables now get the original relations' names as comments.
Tuukka Norri
SQL schema - Begun to write a cache table for constraint (foreign key) id's, too. - Commented out code for old cache tables to hide them from psql's \d listing. - Renamed _relationship_v back to relationship_v, because there isn't a public replacement for it yet.
Tuukka Norri
SQL schema - Decided that baseten.primarykey_v doesn't need that much caching at least for now. - Renamed views so that the ones supposed to be used only from within the schema begin with an underscore.
Tuukka Norri
SQL schema - BaseTen schema now has a function for assigning internal ids for each relation. - Renamed baseten.enabled_relation to relation to reflect its usage. Also renamed some functions. - Made views in the schema temporarily not use the cache tables. This is still too slow.
Tuukka Norri
SQL schema - Removed EXTERNAL qualifiers from functions. The qualifier is noise to PostgreSQL and the functions are PostgreSQL-specific anyway. - Changing references to relations to our own id's instead of Postgres's oids. Unfortunately this required some previously IMMUTABLE functions to be demoted to STABLE. (References #178.) - Renamed schemaname column in baseten.ignoredfkey to nspname for consistency.
Tuukka Norri
Made the build script more stupid because it failed on an 8-core machine
Tags
1.6.2
Tuukka Norri
Fixed m4 file handling - There were problems with special characters in the path.
Tuukka Norri
BXNetServiceConnector now removes the password from memory in a case where it was left there - The situation occurred when cancel was cliced during an authentication attempt. The connection URI was left into BXDatabaseContext, and it contained the potentially correct password.
Tuukka Norri
Bug fixes - Made BXNetServiceConnector replace the URI only if it changes when setting the host. Otherwise, the entity descriptions which the context has already passed around might become invalid. - Also made BXSynchronizedArrayController get its entity only when needed instead of at connection time.
Tuukka Norri
Made fetching with the synchronized array controller a bit safer - If the context's delegate calls array controller's fetch, the entity mightn't have been prepared earlier. Now it will be prepared if not set when fetching.
Tuukka Norri
Uncommented the NSNetServiceBrowser delegate code - The reason for commenting it was that the Bonjour menu used to cause the application 100% of CPU power. Fortunately, this no longer seems to be the case.
Tuukka Norri
Made the Bonjour menu work a bit better - The menu now displays the ”No services found” message. Still uncertain, why services aren't discovered.
Tuukka Norri
BaseTen schema and Assistant - Changed baseten_lock_seq into a global sequence to avoid various problems caused by it not being owned by a table. Also made it cycle. - While at it, changed modification's primary key to be set using DEFAULT instead of a trigger. - Changed the upgrade schema item's title to "Install or Upgrade BaseTen schema." - Made the upgrade IBAction also able to install the schema. - Also made it handle bo…
Tuukka Norri
Bug fixes - Fixed a bug in baseten.disable SQL function. The bug caused the function search baseten tables from the search path instead of the baseten schema. (Fortunately they are named in a way that rarely causes collisions.) - Some old SQL function names had been left to BaseTen Assistant. Renamed them.
Tuukka Norri
Bug fixes - Fixed a bug in AuthenticationView.nib which caused some controls in the authentication panel not to be disabled during authentication. This happened because NSKVB requires key paths that begin with "is" to be referred to without it. - Fixed a bug in BXSynchronizedArrayController which caused garbage to be left into an ivar (namely the one that should contain the entity description) if the databa…
Tuukka Norri
Upgraded libpq to version 8.3.7
Tags
1.6.1
Tuukka Norri
Unit tests - Added a test table with Unicode astral characters in its name. It isn't currently used for anything.
Tuukka Norri
Fixed documentation and renamed an internal method - -PGTSCollectD and -PGTSCollectDK had their descriptions backwards. Fixed this. - Renamed -PGTSKeyCollectDK to -PGTSKeyCollectD for consistency.
Tuukka Norri
Removed -storeURICredentials from documentation - Fixes #176.
Tuukka Norri
Changed documentation to reflect the latest change - Fixes #177.
Tuukka Norri
All array types are now returned as NSArrays - References #177. - Added a length field in PGTSTypeDescription. Made it significantly larger than the corresponding field in Postgres. - Removed element count field from PGTSTypeDescription because it wasn't used. - Wrote some generic code to handle array types. Now all array types should be guaranteed to be mapped to NSArray. - Changed -[NSAutoreleasePool release] to -drain. - Removed manually …
Tuukka Norri
Clarified note about array conversion
Tuukka Norri
Added a note that Postgres aclitem objects won't be retrieved as NSData
Tuukka Norri
Removed whitespace before superscript indices where it was possible - After the word "oids" in section 2.1.3 it wasn't possible.
Tuukka Norri
Fixed a bug which caused PGTSTableDescription to return the wrong index as the primary key under certain conditions - The indices were sorted by the index oid instead of the relation oid and primarity. - Added an additional check for this.
Tuukka Norri
Removed BXACurrentVersion.m.m4 - The functionality is now in BaseTen.
  1. Prev
  2. Next