diff options
Diffstat (limited to 'src/man')
-rw-r--r-- | src/man/bki.5 | 4 | ||||
-rw-r--r-- | src/man/create_function.l | 3 | ||||
-rw-r--r-- | src/man/create_index.l | 30 | ||||
-rw-r--r-- | src/man/create_rule.l | 4 | ||||
-rw-r--r-- | src/man/create_table.l | 6 | ||||
-rw-r--r-- | src/man/libpq.3 | 4 | ||||
-rw-r--r-- | src/man/sql.l | 4 |
7 files changed, 40 insertions, 15 deletions
diff --git a/src/man/bki.5 b/src/man/bki.5 index f7e3a87bad..9fb8e6b2ce 100644 --- a/src/man/bki.5 +++ b/src/man/bki.5 @@ -1,5 +1,5 @@ .\" This is -*-nroff-*- -.\" $Header: /cvsroot/pgsql/src/man/Attic/bki.5,v 1.2 1998/03/30 17:25:47 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/bki.5,v 1.3 1998/04/07 18:12:50 momjian Exp $ .TH BKI 5 11/04/96 Postgres Postgres .SH NAME *.bki @@ -207,7 +207,7 @@ collection as object .IR 421, print out the class, and then close it. .nf -create pg_opclass (opcname=name) +create pg_opclass (opcname=char16) open pg_opclass insert oid=421 (int_ops) print diff --git a/src/man/create_function.l b/src/man/create_function.l index 1213dc95b0..cff79889bb 100644 --- a/src/man/create_function.l +++ b/src/man/create_function.l @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.6 1998/03/30 17:25:48 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/create_function.l,v 1.7 1998/04/07 18:12:51 momjian Exp $ .TH "CREATE FUNCTION" SQL 11/05/95 PostgreSQL PostgreSQL .SH "NAME" create function - define a new function @@ -138,6 +138,7 @@ bool bool include/c.h box (BOX *) utils/geo-decls.h bytea (bytea *) include/postgres.h char char N/A +char16 Char16 or (char16 *) include/postgres.h cid CID include/postgres.h int2 int2 include/postgres.h int28 (int28 *) include/postgres.h diff --git a/src/man/create_index.l b/src/man/create_index.l index 333d555b99..2247026bce 100644 --- a/src/man/create_index.l +++ b/src/man/create_index.l @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.9 1998/03/30 17:25:50 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/create_index.l,v 1.10 1998/04/07 18:12:52 momjian Exp $ .TH "CREATE INDEX" SQL 11/05/95 PostgreSQL PostgreSQL .SH NAME create index - construct a secondary index @@ -99,6 +99,26 @@ btree |bpchar_ops |<= btree |bpchar_ops |= btree |bpchar_ops |> btree |bpchar_ops |>= +btree |char16_ops |< +btree |char16_ops |<= +btree |char16_ops |= +btree |char16_ops |> +btree |char16_ops |>= +btree |char2_ops |< +btree |char2_ops |<= +btree |char2_ops |= +btree |char2_ops |> +btree |char2_ops |>= +btree |char4_ops |< +btree |char4_ops |<= +btree |char4_ops |= +btree |char4_ops |> +btree |char4_ops |>= +btree |char8_ops |< +btree |char8_ops |<= +btree |char8_ops |= +btree |char8_ops |> +btree |char8_ops |>= btree |char_ops |< btree |char_ops |<= btree |char_ops |= @@ -180,6 +200,10 @@ btree |varchar_ops|= btree |varchar_ops|> btree |varchar_ops|>= hash |bpchar_ops |= +hash |char16_ops |= +hash |char2_ops |= +hash |char4_ops |= +hash |char8_ops |= hash |char_ops |= hash |date_ops |= hash |float4_ops |= @@ -230,7 +254,7 @@ The operator classes .IR oidint2_ops , .IR oidint4_ops , and -.IR oidname_ops +.IR oidchar16_ops represent the use of .IR "functional indices" to simulate multi-key indices. @@ -276,7 +300,7 @@ create index empindex on emp using btree (age int4_ops) --Create a btree index on employee name. -- create index empname - on emp using btree (name name_ops) + on emp using btree (name char16_ops) .fi .nf -- diff --git a/src/man/create_rule.l b/src/man/create_rule.l index 4347720f59..3c84427f32 100644 --- a/src/man/create_rule.l +++ b/src/man/create_rule.l @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/create_rule.l,v 1.5 1998/03/30 17:25:51 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/create_rule.l,v 1.6 1998/04/07 18:12:53 momjian Exp $ .TH "CREATE RULE" SQL 11/05/95 PostgreSQL PostgreSQL .SH NAME create rule - define a new rule @@ -183,7 +183,7 @@ create rule example_3 is -- --Create a view of the employees working in the toy department. -- -create TOYEMP(name = name, salary = int4) +create TOYEMP(name = char16, salary = int4) create rule example_4 is on select to TOYEMP diff --git a/src/man/create_table.l b/src/man/create_table.l index 1dd6ee3fe2..d314241ce5 100644 --- a/src/man/create_table.l +++ b/src/man/create_table.l @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.15 1998/03/30 17:25:51 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/create_table.l,v 1.16 1998/04/07 18:12:54 momjian Exp $ .TH "CREATE TABLE" SQL 09/25/97 PostgreSQL .SH NAME create table - create a new class @@ -78,14 +78,14 @@ name as a system catalog class. -- -- Create class emp with attributes name, sal and bdate -- -create table emp (name name, salary float4, bdate abstime) +create table emp (name char16, salary float4, bdate abstime) .fi .nf -- --Create class permemp with pension information that --inherits all fields of emp -- -create table permemp (plan name) inherits (emp) +create table permemp (plan char16) inherits (emp) .fi .nf -- diff --git a/src/man/libpq.3 b/src/man/libpq.3 index 77423866a7..f10ac9f45e 100644 --- a/src/man/libpq.3 +++ b/src/man/libpq.3 @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.14 1998/03/30 17:25:55 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.15 1998/04/07 18:12:56 momjian Exp $ .TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL .SH DESCRIPTION Libpq is the programmer's interface to Postgres. Libpq is a set of @@ -556,7 +556,7 @@ int PQendcopy(PGconn *conn); .fi As an example: .nf -PQexec(conn, "create table foo (a int4, b name, d float8)"); +PQexec(conn, "create table foo (a int4, b char16, d float8)"); PQexec(conn, "copy foo from stdin"); PQputline(conn, "3<TAB>hello world<TAB>4.5\en"); PQputline(conn,"4<TAB>goodbye world<TAB>7.11\en"); diff --git a/src/man/sql.l b/src/man/sql.l index afe8d59bb2..73b64ee4a7 100644 --- a/src/man/sql.l +++ b/src/man/sql.l @@ -1,6 +1,6 @@ .\" This is -*-nroff-*- .\" XXX standard disclaimer belongs here.... -.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.9 1998/03/30 17:26:00 momjian Exp $ +.\" $Header: /cvsroot/pgsql/src/man/Attic/sql.l,v 1.10 1998/04/07 18:12:57 momjian Exp $ .TH INTRODUCTION SQL 11/5/95 PostgreSQL PostgreSQL .SH "Section 4 - SQL Commands (COMMANDS)" .SH "General Information" @@ -219,7 +219,7 @@ parameter is: .fi For example, consider the definition of a function, DEPT, as .nf -create function DEPT (name) +create function DEPT (char16) returns dept as 'select * from dept where name=$1' |