Re: [despammed] Re: Using a preprocessor for constants in SQL

From: Andreas Kretschmer <akretschmer(at)despammed(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: [despammed] Re: Using a preprocessor for constants in SQL
Date: 2005-02-04 14:38:37
Message-ID: 20050204143837.GB28910@Pinguin.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

am 04.02.2005, um 15:29:26 +0100 mailte Arthur van Dorp folgendes:
> >Uh, ok, bad wording. It's more about easily changing the values during
> >testing so that I can use the refined code to deploy it. So it's about
> >ease of change during development, not in the production stage.
>
> I could probably use "CREATE TYPE" to do something like this. But that
> wouldn't be very portable.

You can write a little filter-script with perl, awk, sed, ... to do the
task.

Regards, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47212, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message phil campaigne 2005-02-04 15:34:38 Duration betweeen 2 timestamps
Previous Message Arthur van Dorp 2005-02-04 14:29:26 Re: Using a preprocessor for constants in SQL