From: Hans-Jürgen Schönig <hs@cybertec.at>
To: pgsql-sql@postgresql.org
Subject: Re: How to use the template table in postgresql
Date: Wed, 30 May 2001 11:15:32 +0200
Message-ID: <3B14BA34.C9E637DA@cybertec.at> (raw)
References: <9f2cnp$1g97$1@news.tht.net>
stone schrieb:
> Hello:
> I'm new user of postgresql. My problem is that:
> 1. How to create template table? Is it right of ' Create temptable
> test(......)'?
> 2.My application is Client/Server, can I has some workstations create the
> same template table name on the same time? If I could, How can I do with it?
> Thanks for your help. Stone.
If you want to find out more about the syntax of a command you can use \h as
shown below:
myodbc=# \h create table
Command: CREATE TABLE
Description: Creates a new table
Syntax:
CREATE [ TEMPORARY | TEMP ] TABLE table_name (
{ column_name type [ column_constraint [ ... ] ]
| table_constraint } [, ... ]
) [ INHERITS ( parent_table [, ... ] ) ]
Temporary tables are only visible for the user who created the table - you need
not worry that something evil happens.
A temporary table is killed as soon as the session is closed.
Hans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: hs@cybertec.at
Subject: Re: How to use the template table in postgresql
In-Reply-To: <3B14BA34.C9E637DA@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox