pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14633: ecpg : nothing is generated when using option -v
3+ messages / 3 participants
[nested] [flat]

* BUG #14633: ecpg : nothing is generated when using option -v
@ 2017-04-27 12:20  zosrothko@orange.fr
  0 siblings, 1 reply; 3+ messages in thread

From: zosrothko@orange.fr @ 2017-04-27 12:20 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14633
Logged by:          Francis ANDRE
Email address:      zosrothko@orange.fr
PostgreSQL version: 9.5.1
Operating system:   Win7 Pro
Description:        

Hi

Running the ecpg precompiler command with option -v generates an empty
main.cxx

C:\MXW\Clients\PagesJaunes\SQLDynamic\SQLDynamic>"C:\Program Files
(x86)\PostgreSQL\9.5\bin\ecpg.exe" -v -o main.cxx main.pgc 

ecpg, le préprocesseur C embarqué de PostgreSQL, version 4.11.0
la recherche EXEC SQL INCLUDE ... commence ici :
 .
 /usr/local/include
 C:/Program Files (x86)/PostgreSQL/9.5/include
 /usr/include
fin de la liste de recherche

C:\MXW\Clients\PagesJaunes\SQLDynamic\SQLDynamic>type main.cxx

C:\MXW\Clients\PagesJaunes\SQLDynamic\SQLDynamic>



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #14633: ecpg : nothing is generated when using option -v
@ 2017-04-27 17:35  Michael Meskes <meskes@postgresql.org>
  parent: zosrothko@orange.fr
  0 siblings, 1 reply; 3+ messages in thread

From: Michael Meskes @ 2017-04-27 17:35 UTC (permalink / raw)
  To: zosrothko@orange.fr; pgsql-bugs

> Running the ecpg precompiler command with option -v generates an empty
> main.cxx
> ...

Not sure I understand why you think this is a bug. 'ecpg -v' is supposed to

Print additional information including the version and the "include" path.

It is not supposed to do any preprocessing. But since you added an '-o'
option it did create the file.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #14633: ecpg : nothing is generated when using option -v
@ 2017-05-07 13:25  zosrothko <zosrothko@orange.fr>
  parent: Michael Meskes <meskes@postgresql.org>
  0 siblings, 0 replies; 3+ messages in thread

From: zosrothko @ 2017-05-07 13:25 UTC (permalink / raw)
  To: Michael Meskes <meskes@postgresql.org>; pgsql-bugs



Le 27/04/2017 à 19:35, Michael Meskes a écrit :
>> Running the ecpg precompiler command with option -v generates an empty
>> main.cxx
>> ...
> Not sure I understand why you think this is a bug. 'ecpg -v' is supposed to
>
> Print additional information including the version and the "include" path.
>
> It is not supposed to do any preprocessing. But since you added an '-o'
> option it did create the file.
Ok... I would expect that -v combined with -o would do the preprocessing
of the ecpg file while printing additional information.
> Michael



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2017-05-07 13:25 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-04-27 12:20 BUG #14633: ecpg : nothing is generated when using option -v zosrothko@orange.fr
2017-04-27 17:35 ` Michael Meskes <meskes@postgresql.org>
2017-05-07 13:25   ` zosrothko <zosrothko@orange.fr>

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