Re: cygserver

From: Fher <fher(at)librosyarte(dot)com(dot)mx>
To: "sandrigo(dot)lezcano(at)gmail(dot)com" <sandrigo(dot)lezcano(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: cygserver
Date: 2005-02-23 20:43:37
Message-ID: 421CEAF9.10300@librosyarte.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

interesante ...

lo unico que se me ocurre es que el psql con la opcion -h este tomando
la conexion por tcp/ip
y por supuesto el servicio de pg8.0 mientras que haciendo solamente psql
toma el socket de
/tmp/s.PGSQL.5432 en el cygwin

sandrigo(dot)lezcano(at)gmail(dot)com escribió:

> mmm.. increible!! funciona!! tus scripts FHER
> lo raro es como hace diferencia entre el Pg8.0 y le Pg7.4.5-cygwin
> los 2 juntos funcionan!! cual seria el
> el host do pg8.0?? localhost ???
> y el 7.4.5 del cygwin ??? su host??
> pues usando psql del cygwin da:
>
> sandrigo(at)desenv10 ~
> $ mc
> $ ./db-start
>
> sygserver starting...
> cygserver: Initialization complete. Waiting for requests.
>
> sandrigo(at)desenv10 /
> $ psql -U postgres -h localhost -d template1
> Password:
> Welcome to psql 7.4.5, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help on internal slash commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> template1=# select version();
> version
>
> --------------------------------------------------------------------------------
>
> ----------
> PostgreSQL 8.0.0 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC)
> 3.4.2 (mingw
> -special)
> (1 row)
>
> template1=# \q
>
> sandrigo(at)desenv10 /
> $ psql template1
> Welcome to psql 7.4.5, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help on internal slash commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> template1=# select version();
> version
>
> --------------------------------------------------------------------------------
>
> -------
> PostgreSQL 7.4.5 on i686-pc-cygwin, compiled by GCC gcc (GCC) 3.3.1
> (cygming sp
> ecial)
> (1 row)
>
> template1=# \q
>
> sandrigo(at)desenv10 /
> $
>

In response to

  • cygserver at 2005-02-23 19:16:49 from sandrigo.lezcano@gmail.com

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Diego Gil 2005-02-23 20:44:49 Re: clientes graficos
Previous Message Oswaldo Hernández 2005-02-23 20:35:02 Re: crosstab