pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomasz Myrta <jasiek@klaster.net>
To: Richard Huxton <dev@archonet.com>
Cc: PGSQL-SQL <pgsql-sql@postgresql.org>
Subject: Re: virtual table
Date: Mon, 23 Jun 2003 11:09:42 +0200
Message-ID: <3EF6C3D6.7080904@klaster.net> (raw)
In-Reply-To: <200306230954.54185.dev@archonet.com>
References: <3EF61E44.2020601@klaster.net>
	<200306230929.24372.dev@archonet.com>
	<3EF6BCB4.2040209@klaster.net>
	<200306230954.54185.dev@archonet.com>

Dnia 2003-06-23 10:54, Użytkownik Richard Huxton napisał:

> Hmm - I think your problem is going to come before that. Any time you do an 
> INSERT, PostgreSQL is going to need to know the types of all the columns 
> involved.
> 
> For this sort of thing, I try to keep all the related bits (initial function, 
> views, triggers) in the same text-file to encourage me to remember to update 
> them all together.
I also do this - it isn't really difficult with well written scripts. I was 
just wondering if I don't waste my time tracking all the changes.

> 
> It sounds like this table1 is only being used during transfer. Is there any 
> reason why you aren't just inserting the required rows into table2.
My queries are ordinary transportation problems with 0 up to 2 changes. I 
found it's better (for performance reason) to find all possible relations as 
single rows and split them at the end into simple connections. Maybe I should 
dig into this problem again and rewrite my queries...

Regards,
Tomasz Myrta





view thread (6+ messages)  latest in thread

Message-ID: <3EF6C3D6.7080904@klaster.net>
Permalink:  ../3EF6C3D6.7080904@klaster.net/
Also on:    postgresql.org/message-id/3EF6C3D6.7080904@klaster.net

 · 

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: jasiek@klaster.net, dev@archonet.com
  Subject: Re: virtual table
  In-Reply-To: <3EF6C3D6.7080904@klaster.net>

* 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