... replaced with =#.
psql commands are of two different types:
• SQL commands: We can issue any SQL statement that PostgreSQL supports to psql, and
it will execute it.
• Internal commands: These are psql ... 5-17.
MatthewStones_4789C05.fm Page 1 36 Monday, February 14, 2005 12:00 PM
124
CHAPTER 5
■ POSTGRESQL COMMAND-LINE AND GRAPHICAL TOOLS
Figure 5-4. Creating a PostgreSQL data source...
... conformance to SQL9 2: Entry SQL, Intermediate SQL, and Full
SQL. By far, the most common conformance level is Entry SQL.
■Note PostgreSQL is very close to SQL9 2: Entry SQL conformance, with only ... to pronounce PostgreSQL).
PostgreSQL is also the foundation of the former Red Hat Database, now known as PostgreSQL-
Red Hat Edition. You can find more on this version of PostgreSQL a...
... for PostgreSQL
postgresql-pl PostgreSQL server support for Perl
postgresql-python PostgreSQL server support for Python
postgresql-tcl PostgreSQL server support for Tcl
postgresql-test PostgreSQL ... shown in Figure 3-1.
postgresql-devel Header files and libraries for development
postgresql-docs Documentation
postgresql-jdbc Java database connectivity for PostgreSQL
postgresql-odbc Open databa...
... of the PostgreSQL documentation.
■Tip The PostgreSQL documentation can be installed as a set of HTML pages that can be viewed locally
with any web browser. Select file://usr/local/pgsql/doc/html/index.html ... in
Sybase or SET IMPLICIT_TRANSACTIONS for Microsoft SQL Server.
In PostgreSQL, all you need to do is issue the command BEGIN, and PostgreSQL automatically
switches into a mode wh...
... Wednesday, February 23, 2005 6: 49 AM
392
CHAPTER 13
■ ACCESSING POSTGRESQL FROM C USING LIBPQ
Executing SQL with libpq
Now that we can connect to a PostgreSQL database from within a C program, the ... quotes within the SQL statement will need to be escaped with back-
slashes, as is necessary with psql.
As with connection structures, result objects must also be freed when we are...
... shows the PostgreSQL data types for date and time.
Character Types
Table B-5 shows the PostgreSQL character data types.
Table B-4. PostgreSQL Types for Date and Time
SQL Name PostgreSQL
Alternative ... March 4, 2005 6: 33 PM
548
APPENDIX B
■ POSTGRESQL DATA TYPES
Geometric Types
Table B -6 shows the PostgreSQL geometric data types. These are specific to PostgreSQL, so
there are no SQL...