File: bki-example.html

package info (click to toggle)
pgadmin3 1.4.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 29,796 kB
  • ctags: 10,758
  • sloc: cpp: 55,356; sh: 6,164; ansic: 1,520; makefile: 576; sql: 482; xml: 100; perl: 18
file content (31 lines) | stat: -rw-r--r-- 1,526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>51.4.Example</title>
<link rel="stylesheet" href="stylesheet.css" type="text/css">
<link rev="made" href="pgsql-docs@postgresql.org">
<meta name="generator" content="DocBook XSL Stylesheets V1.70.0">
<link rel="start" href="index.html" title="PostgreSQL 8.1.4 Documentation">
<link rel="up" href="bki.html" title="Chapter51.BKI Backend Interface">
<link rel="prev" href="bki-structure.html" title="51.3.Structure of the Bootstrap BKI File">
<link rel="next" href="planner-stats-details.html" title="Chapter52.How the Planner Uses Statistics">
<link rel="copyright" href="ln-legalnotice.html" title="Legal Notice">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="bki-example"></a>51.4.Example</h2></div></div></div>
<p>   The following sequence of commands will create the
   table <code class="literal">test_table</code> with OID 420, having two columns
   <code class="literal">cola</code> and <code class="literal">colb</code> of type
   <code class="type">int4</code> and <code class="type">text</code>, respectively, and insert
   two rows into the table.
</p>
<pre class="programlisting">create test_table 420 (cola = int4, colb = text)
open test_table
insert OID=421 ( 1 "value1" )
insert OID=422 ( 2 _null_ )
close test_table</pre>
<p>
  </p>
</div></body>
</html>