PostgreSql 8.1.3 Test
A table can have only one primary key column.
After a PostgreSQL installation, how will you create the database cluster?
An ISO-8601 time may be entered into a table using the numeric format 012411 instead of 01:24:11.
Are the contents of the pg_autovacuum system catalog saved when pg_dumpall is used to backup the database?
Can deferrable constraints be deferred by a trigger?
Consider the following empty table: CREATE TABLE example ( a integer, b integer, c integer, UNIQUE (a, c) ); Which of the following inserts will cause an error?
Consider the following query: Create table foo (bar varchar); What will be the size limit of the bar?
Does PostgreSQL support SSL?
For proper results, which of the following should contain a tsvector?
Given a table special_products that inherits from a table store_products, which of the following statements will modify store_products only without affecting its child table?
How can you configure PostgreSQL autovacuum?
How do you alter a column to forbid null values?
How do you create a table with a field of the int array type?
How do you select a single random row from a table?
How will you change the TCP port which PostgreSQL will listen to?
How will you list the available functions from psql?
How will you rank text search results?
If max_connections is 10 and 10 connections are currently active, how can you be sure the superuser will be available to connect?
In the following list, which operators do a case insensitive string matching?
In the following operation, which ones can trigger a trigger?
On a UNIX system, what is the best way to prevent all non-local connections to the postmaster?
Out of the following backup approaches, which ones are applicable to PostgreSQL?
PostgreSQL triggers can be written in C directly.
SELECT !!3; What output will this statement give?
SELECT 'infinity'::timestamp; Will this statement produce an error?
SELECT rtrim('foobar', 'abr'); The result of this statement is foo.
The following statement will retrieve the second element of the array column products in table store_products. SELECT products[1] FROM store_products;
To backup a database, the postmaster daemon must be halted.
What can be stored in a column of type decimal(4,3)?
What command will correctly restore a backup made with the following command? pg_dump -Fc dbname > filename
What interfaces are available in the base distribution of PostgreSQL?
What is the ~ operator?
What is the command used to import a backup made with pg_dumpall > file.dmp?
What is the default ordering when ORDER BY is not specified?
What is the difference between to_tsvector() and ::tsvector ?
What is the difference between tokens and lexemes?
What is the effect of turning fsync off in postgresql.conf?
What is the name of the special time input with value 00:00:00.00 UTC?
What is the storage size of an integer on a 64bit system?
What is the well known port number for the postgresql database service?
What is true regarding file system backup?
What kind of triggers are offered by PostgreSQL?
What library is used by PostgreSQL for encryption?
When using LIKE to compare strings, what is the wildcard operator (operator which matches zero or more characters)?
Which authentication methods are supported by PostgreSQL?
Which function should be used to highlight the results?
Which index types are supported by PostgreSQL?
Which index types support multicolumn indexes?
Which kind of index can be declared unique?
Which of the following queries will create a table with two fields, "id" and "name" with "id" as an auto incrementing primary key?
Which of the following statements will cast the integer value 1 to type text?
Which of the following statements will create a table special_products which is a child of the table store_products?
Which of the following statements will create a table with a multidimensional array as second column?
Which of the following statements will create a table?
Which of the following statements will produce an error?
Which of the following statements will retrieve the number of values stored in an array column?
Which one of the following text search functions does not exist?
Which PostgreSQL version added the enum datatype?
While creating a table with a field of the serial type, a sequence will be created.
While creating a trigger, the function it will call may be created after it and attached to it.