@@ -29,12 +29,13 @@ Questions answered:
29
29
1.8) What documentation is available for PostgreSQL?
30
30
1.9) What version of SQL does PostgreSQL use?
31
31
1.10) Does PostgreSQL work with databases from earlier versions of
32
- postgres ?
32
+ PostgreSQL ?
33
33
1.11) Are there ODBC drivers for PostgreSQL?
34
- 1.12) What tools are available for hookingpostgres to Web pages?
34
+ 1.12) What tools are available for hookingPostgreSQL to Web pages?
35
35
1.13) Does PostgreSQL have a graphical user interface? A report
36
36
generator? A embedded query language interface?
37
37
1.14) What is a good book to learn SQL?
38
+ 1.15) What languages are available to communicate with PostgreSQL?
38
39
39
40
2) Installation/Configuration questions
40
41
@@ -85,7 +86,7 @@ Questions answered:
85
86
database?
86
87
3.19) What is the time-warp feature and how does it relate to vacuum?
87
88
3.20) What is an oid? What is a tid?
88
- 3.21) What is the meaning of some of the terms used inPostgres ?
89
+ 3.21) What is the meaning of some of the terms used inPostgreSQL ?
89
90
3.22) What is Genetic Query Optimization?
90
91
3.23) How do you remove a column from a table?
91
92
3.24) How do SELECT only the first few rows of a query?
@@ -263,7 +264,7 @@ Section 1: General Questions
263
264
particularly important.
264
265
265
266
The www page contains pointers to an implementation guide and five
266
- papers written aboutpostgres design concepts and features.
267
+ papers written aboutPostgres design concepts and features.
267
268
268
269
1.9) What version of SQL does PostgreSQL use?
269
270
@@ -275,7 +276,8 @@ Section 1: General Questions
275
276
On the other hand, you get to create user-defined types, functions,
276
277
inheritance etc.
277
278
278
- 1.10) Does PostgreSQL work with databases from earlier versions of postgres?
279
+ 1.10) Does PostgreSQL work with databases from earlier versions of
280
+ PostgreSQL?
279
281
280
282
PostgreSQL v1.09 is compatible with databases created with v1.01.
281
283
@@ -306,14 +308,14 @@ Section 1: General Questions
306
308
307
309
OpenLink ODBC is very popular. You can get it from
308
310
http://www.openlinksw.com/postgres.html. It works with our standard
309
- ODBC client software so you'll havePostgres ODBC available on every
311
+ ODBC client software so you'll havePostgreSQL ODBC available on every
310
312
client platform we support (Win, Mac, Unix, VMS).
311
313
312
314
We will probably be selling this product to people who need
313
315
commercial-quality support, but a freeware version will always be
314
316
available. Questions to postgres95@openlink.co.uk.
315
317
316
- 1.12) What tools are available for hookingpostgres to Web pages?
318
+ 1.12) What tools are available for hookingPostgreSQL to Web pages?
317
319
318
320
A nice introduction to Database-backed Web pages can be seen at:
319
321
http://www.webtools.com
@@ -341,6 +343,19 @@ Section 1: General Questions
341
343
342
344
Many of our users like The Practical SQL Handbook, Bowman et al,
343
345
Addison Wesley.
346
+
347
+ 1.15) What languages are available to communicate with PostgreSQL?
348
+
349
+ We have:
350
+ * C(interfaces/libpq)
351
+ * C++(interfaces/libpq++)
352
+ * Embedded C(interfaces/ecpg)
353
+ * Java(interfaces/jdbc)
354
+ * Perl(interfaces/perl5)
355
+ * ODBC(interfaces/odbc)
356
+ * Python(interfaces/python)
357
+ * TCL(interfaces/libpgtcl)
358
+ * A crude C/4GL(contrib/pginterface)
344
359
_________________________________________________________________
345
360
346
361
Section 2: Installation Questions
@@ -576,7 +591,7 @@ Section 3: PostgreSQL Features
576
591
See the create_index manual page for information on what type classes
577
592
are available. It must match the field type.
578
593
579
- Postgres does not warn the user when the improper index is created.
594
+ PostgreSQL does not warn the user when the improper index is created.
580
595
581
596
Indexes not used for ORDER BY operations.
582
597
@@ -624,7 +639,7 @@ BYTEA bytea variable-length array of bytes
624
639
625
640
3.15) How do I create a serial field?
626
641
627
- Postgres does not allow the user to specifiy a user column as type
642
+ PostgreSQL does not allow the user to specifiy a user column as type
628
643
SERIAL. Instead, you can use each row's oid field as a unique value.
629
644
However, if you need to dump and reload the database, you need to use
630
645
pgdump's -o option or COPY's WITH OIDS option to preserver the oids.
@@ -687,14 +702,15 @@ BYTEA bytea variable-length array of bytes
687
702
688
703
3.20) What is an oid? What is a tid?
689
704
690
- Oids are Postgres's answer to unique row ids or serial columns. Every
691
- row that is created in Postgres gets a unique oid. All oids generated
692
- by initdb are less than 16384 (from backend/access/transam.h). All
693
- post-initdb (user-created) oids are equal or greater that this. All
694
- these oids are unique not only within a table, or database, but unique
695
- within the entire postgres installation.
705
+ Oids are PostgreSQL's answer to unique row ids or serial columns.
706
+ Every row that is created in PostgreSQL gets a unique oid. All oids
707
+ generated by initdb are less than 16384 (from
708
+ backend/access/transam.h). All post-initdb (user-created) oids are
709
+ equal or greater that this. All these oids are unique not only within
710
+ a table, or database, but unique within the entire PostgreSQL
711
+ installation.
696
712
697
- Postgres uses oids in its internal system tables to link rows in
713
+ PostgreSQL uses oids in its internal system tables to link rows in
698
714
separate tables. These oids can be used to identify specific user rows
699
715
and used in joins. It is recommended you use column type oid to store
700
716
oid values. See the sql(l) manual page to see the other internal
@@ -705,7 +721,7 @@ BYTEA bytea variable-length array of bytes
705
721
are used by index entries to point to physical rows. They can not be
706
722
accessed through sql.
707
723
708
- 3.21) What is the meaning of some of the terms used inPostgres ?
724
+ 3.21) What is the meaning of some of the terms used inPostgreSQL ?
709
725
710
726
Some of the source code and older documentation use terms that have
711
727
more common usage. Here are some: