Lists: | pgsql-patches |
---|
From: | Chris Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | ECPG docs |
Date: | 2006-12-04 15:33:47 |
Message-ID: | 60vekr8ylg.fsf@dba2.int.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
I noticed the following error in the chapter on ECPG...
cbbrowne(at)dba2:pgsql-HEAD/doc/src/sgml> cvs diff -u ecpg.sgml
Index: ecpg.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v
retrieving revision 1.77
diff -c -u -r1.77 ecpg.sgml
cvs diff: conflicting specifications of output style
--- ecpg.sgml 23 Oct 2006 18:10:31 -0000 1.77
+++ ecpg.sgml 4 Dec 2006 15:32:16 -0000
@@ -4665,7 +4665,7 @@
</para>
<para>
- The preprocessed file can be compiled normally, for example:
+ The processed file can be compiled normally, for example:
<programlisting>
cc -c prog1.c
</programlisting>
--
let name="cbbrowne" and tld="cbbrowne.com" in String.concat "@" [name;tld];;
http://linuxdatabases.info/info/linuxxian.html
Developmental Psychology
"Schoolyard behavior resembles adult primate behavior because "Ontogeny
Recapitulates Phylogeny" doesn't stop at birth."
-- Mark Miller
From: | "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com> |
---|---|
To: | "Chris Browne" <cbbrowne(at)acm(dot)org> |
Cc: | <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: ECPG docs |
Date: | 2006-12-04 16:33:44 |
Message-ID: | 45744DE8.2020309@enterprisedb.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
The original looks more correct to me. After the file has been run
through the preprocessor, it becomes "preprocessed".
Chris Browne wrote:
> I noticed the following error in the chapter on ECPG...
>
> cbbrowne(at)dba2:pgsql-HEAD/doc/src/sgml> cvs diff -u ecpg.sgml
> Index: ecpg.sgml
> ===================================================================
> RCS file: /projects/cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v
> retrieving revision 1.77
> diff -c -u -r1.77 ecpg.sgml
> cvs diff: conflicting specifications of output style
> --- ecpg.sgml 23 Oct 2006 18:10:31 -0000 1.77
> +++ ecpg.sgml 4 Dec 2006 15:32:16 -0000
> @@ -4665,7 +4665,7 @@
> </para>
>
> <para>
> - The preprocessed file can be compiled normally, for example:
> + The processed file can be compiled normally, for example:
> <programlisting>
> cc -c prog1.c
> </programlisting>
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
From: | Chris Browne <cbbrowne(at)acm(dot)org> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: ECPG docs |
Date: | 2006-12-04 17:40:28 |
Message-ID: | 60lkln8sqb.fsf@dba2.int.libertyrms.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
heikki(at)enterprisedb(dot)com ("Heikki Linnakangas") writes:
> The original looks more correct to me. After the file has been run
> through the preprocessor, it becomes "preprocessed".
The other option I was thinking of was "postprocessed," because the .c
file comes *after* processing.
--
let name="cbbrowne" and tld="linuxdatabases.info" in String.concat "@" [name;tld];;
http://linuxdatabases.info/info/emacs.html
Rules of the Evil Overlord #221. "My force-field generators will be
located inside the shield they generate."
<http://www.eviloverlord.com/>
From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | Chris Browne <cbbrowne(at)acm(dot)org> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: ECPG docs |
Date: | 2006-12-05 09:48:34 |
Message-ID: | 20061205094834.GA30969@feivel.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
On Mon, Dec 04, 2006 at 10:33:47AM -0500, Chris Browne wrote:
> I noticed the following error in the chapter on ECPG...
> ...
> - The preprocessed file can be compiled normally, for example:
> + The processed file can be compiled normally, for example:
I beg to disagree. ECPG is an "embedded SQL preprocessor", so why can't
the file be called "preprocessed"?
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | Chris Browne <cbbrowne(at)acm(dot)org> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: ECPG docs |
Date: | 2006-12-05 09:49:19 |
Message-ID: | 20061205094919.GB30969@feivel.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-patches |
On Mon, Dec 04, 2006 at 12:40:28PM -0500, Chris Browne wrote:
> The other option I was thinking of was "postprocessed," because the .c
> file comes *after* processing.
Well, the .c file is the one that should be processed. So you have to
preprocess the .pc file to get a .c file.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!