pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shavonne Marietta Wijesinghe <shavonne.marietta@studioform.it>
To: pgsql-sql@postgresql.org
Subject: copy table
Date: Fri, 14 Oct 2005 10:44:13 +0200
Message-ID: <004801c5d09b$747fad80$1102a8c0@dream> (raw)

Hello

How can i copy a table from one schema to another..

Example..

* I have a database "mydatabase"
* then i have 2 schemas "myschema1" and "myschema2"
* in "myschema1" i have inserted a new line and i want to copy that to "myschema2" so they both will be same.. 

How can i do it with SQL ?? 

I use pgadmin 3 to make my database in postgresql

thank u

view thread (3+ messages)  latest in thread

Message-ID: <004801c5d09b$747fad80$1102a8c0@dream>
Permalink:  ../004801c5d09b$747fad80$1102a8c0@dream/
Also on:    postgresql.org/message-id/004801c5d09b$747fad80$1102a8c0@dream

 · 

reply

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: shavonne.marietta@studioform.it
  Subject: Re: copy table
  In-Reply-To: <004801c5d09b$747fad80$1102a8c0@dream>

* 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