[pgsql-jp: 27353] Re: FreeBSD上のPostgreSQL では、position は予約語ですか?

NAKAMURA Takeshi 1yen @ sh.rim.or.jp
2002年 9月 6日 (金) 21:34:23 JST


仲村です。

From: "Shindo @ AtSystem" <shindo @ atsystem.jp>
Date: Fri, 06 Sep 2002 21:24:04 +0900
Subject: [pgsql-jp: 27352] Re: FreeBSD上のPostgreSQL では、position は予約語ですか?

 私もまねてみました。

text @ BUN:~[1050]% uname -a
FreeBSD BUN.1YEN.CX 4.7-PRERELEASE FreeBSD 4.7-PRERELEASE #5: Thu Sep  5 23:26:40 JST 2002     root @ BUN.1YEN.CX:/usr/obj/usr/src/sys/BUN  i386
text @ BUN:~[1051]% createdb hoge
CREATE DATABASE
text @ BUN:~[1052]% psql --version
psql (PostgreSQL) 7.2.2
contains support for: readline, history, multibyte
Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
Portions Copyright (c) 1996, Regents of the University of California
Read the file COPYRIGHT or use the command \copyright to see the
usage and distribution terms.
text @ BUN:~[1053]% psql hoge
Password:
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

hoge=> create table tb (position text);
CREATE
hoge=> \d tb
         Table "tb"
  Column  | Type | Modifiers
----------+------+-----------
 position | text |

hoge=> \q
text @ BUN:~[1054]% dropdb hoge
DROP DATABASE

 う〜ん、自作関数(ストアードプロシージャ?)とか登録されてませんか。
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+
 関西沖縄青年の集い がじまるの会 手伝い 一人だけの勝手に神奈川支部
 仲村 武 <1Yen @ Bigfoot.COM>



pgsql-jp メーリングリストの案内