Chat now with support
Chat with Support

Toad Data Modeler 6.2 - User Guide

Introduction User Interface Models and Model Objects
Physical Data Model
About Physical Data Modeling Benefits of Physical Data Model Entity Relationship Diagram Objects Basic Database Design Advanced Database Design
Universal Data Model Logical Data Model Working with Model Objects Model Properties Model Statistics
Features and Tools
Application Variables Export/Import DDL Script Generation Graphics Model Actions Print Projects Reports Reverse Engineering Scripting and Customization SQL Templates Tips and Tricks Toad for Oracle Integration Toad Intelligence Central (TIC) Integration Tools Version Control
Options and Configuration Databases
Supported Databases Connection Types by Database DB2 UDB v. 8 (LUW) DB2 v. 9 (LUW) DB2 v. 9.5 (LUW) DB2 v. 9.7 (LUW) DB2 v. 10.1 (LUW) DB2 v. 10.5 (LUW) DB2 z/OS v. 9 DB2 z/OS v.10 DB2 z/OS v. 11 Greenplum 4.1 Greenplum 4.2 Ingres 9.3 Ingres 10.0 Microsoft Access 2000/2002/2003 Microsoft Access 2007/2010 Microsoft Azure SQL Database Microsoft Azure SQL Database V12 Microsoft SQL Server 2000 Microsoft SQL Server 2005 Microsoft SQL Server 2008 Microsoft SQL Server 2012 Microsoft SQL Server 2014 Microsoft SQL Server 2016 MySQL 5.0 MySQL 5.1 MySQL 5.5 MySQL 5.6 MySQL 5.7 Oracle 9i Oracle 10g Oracle 11g Release 1 Oracle 11g Release 2 Oracle 12c Release 1 Oracle 12c Release 2 PostgreSQL 8.1 PostgreSQL 8.2 PostgreSQL 8.3 PostgreSQL 8.4 PostgreSQL 9.0 PostgreSQL 9.1 PostgreSQL 9.2 PostgreSQL 9.3 PostgreSQL 9.4 PostgreSQL 9.5 SQLite 3.7 Sybase ASE 12.5 Sybase ASE 15 Sybase ASE 15.5 Sybase ASE 15.7 SAP ASE 16.0 Sybase IQ 15.2 Sybase SQL Anywhere 11 SAP SQL Anywhere 17 Teradata 13 Vertica Database 8.0
Legal Information

PostgreSQL 8.3

Reverse Engineering

Databases > PostgreSQL 8.3 > Reverse Engineering

Available Data Providers are:

  • Connection via ODBC
  • Native Connection

Connection via ODBC:

Native Connection:

Specifics

Databases > PostgreSQL 8.3 > Specifics

Attribute

PK Attributes of type Array: Information on Array type migrates together with the PK attribute during creation of relationship.

Function

Parameters Cost, Rows, Set. Set parameter can be defined by the ALTER FUNCTION command written to After Script section. Here it will be also loaded during reverse engineering. Example of ALTER FUNCTION:

ALTER FUNCTION myfunc(integer, integer) SET DateStyle=postgres, dmy;

Note:

  • During script generation, default values of parameters Cost and Rows are not generated (default for Rows is 1000, default for Cost is 1 for c/internal language and 100 for other languages).
  • Note from a manual: Rows is only allowed when the function is declared to return a set.
  

User Data Types

Possibility to define Enumerated Type - see the new data type in the Type box and new tab Enumerated Type where this data type should be defined (example: 'item1', 'item2', 'item3').

In previous version, it was possible to define only Composite Type and Base Type.

User Data Types of the Base Type tab (User-defined type in manual) can have (for example while using attributes) modifiers - e.g.  user_type(20,5). In previous version, modifiers could have only inbuilt/basic data types (types varchar(40) or number(20,5)).

Note:

  1. When you select the Base Type from the Type box, new boxes Name of Parameter and Default Value of Parameter will display. Name of Parameter - when you select an attribute with selected User Data Type, a box with an option to define parameters will display. Default Value of Parameter is just an instrument and is not generated.
  2. When there is a possibility to define more modifiers for a Base Type, such User Data Type used in an attribute will be written to appropriate parameter in the Attribute Properties dialog e.g. as: "30,20,5". During reverse engineering only Typmod will be loaded. Typmod is a number where the parameters are coded. If user needs to decode the Typmode during reverse engineering, function ParseTypmod(Length, format_type) in script REDataMigratorDBPG83 should be overwritten. If one modifier is used during reverse engineering, everything will be loaded properly.
  1. Modifiers of Base Type can be used in: attributes, composite type attributes, dictionary types (in PostgreSQL called Domains) and in TDM domains.

The Base Type tab - two new parameters Type Modifier Input Function and Type Modifier Output Function for support of modifiers. (Thanks to these new parameters, Base Types can also use modifiers.)

Script Generation

Databases > PostgreSQL 8.3 > Script Generation

See Script Generation - PostgreSQL 8.2 for more information.

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating