From: Bryce Nesbitt <bryce1@obviously.com>
To: pgsql-sql@postgresql.org
Cc: Hiltibidal, Robert <Robert.Hiltibidal@argushealth.com>
Subject: Re: Seeking quick way to clone a row, but give it a new pk.
Date: Wed, 07 Feb 2007 23:16:12 -0800
Message-ID: <45CACE3C.4010302@obviously.com> (raw)
In-Reply-To: <A6C93EF9812C8346A8E8BD6AE573E52D055B9811@ARG-EXVS01.corp.argushealth.com>
References: <A6C93EF9812C8346A8E8BD6AE573E52D055B9811@ARG-EXVS01.corp.argushealth.com>
I have a table that describes some properties. It is logically
equivalent to:
pk userid favorite_color time_zone count
122 100 red Pacific 7
145 101 blue Eastern 7
For various reasons I need to manually add a few rows to this table.
Manually copying one users row, then editing it, would be easier than
starting from scratch.
Hiltibidal, Robert wrote:
> What are you trying to accomplish?
>
> The more normalized a database is the faster it operates, the more
> efficient it will be. What you are describing creates a lot of in
> efficiencies within a database.
>
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: bryce1@obviously.com, Robert.Hiltibidal@argushealth.com
Subject: Re: Seeking quick way to clone a row, but give it a new pk.
In-Reply-To: <45CACE3C.4010302@obviously.com>
* 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