pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Henderson <jrh@is.com.fj>
To: pgsql-general@hub.org
Subject: is this a bug?
Date: Tue, 25 Jan 2000 11:34:14 +1200
Message-ID: <001f01bf66c3$868237c0$ea7c3eca@john.is.com.fj> (raw)

Hi all,
Using PostgreSQL 6.4 on BSD/OS 3.0
Is this a bug? Otherwise what am I doing wrong?

isfiji=> \q
moe:~ $ psql isfiji
Welcome to the POSTGRESQL interactive sql monitor:
  Please read the file COPYRIGHT for copyright terms of POSTGRESQL

   type \? for help on slash commands
   type \q to quit
   type \g or terminate with semicolon to execute query
 You are currently connected to the database: isfiji

isfiji=> select a.sess_id,b.sess_id,a.user_name,b.user_name,
isfiji-> a.nas_ip,b.nas_ip,a.port,b.port from startrecs a,stoprecs b
isfiji-> where a.nas_ip=b.nas_ip
isfiji-> and a.sess_id=b.sess_id
isfiji-> and a.user_name=b.user_name;
sess_id |sess_id |user_name     |user_name     | nas_ip| nas_ip|port|port
--------+--------+--------------+--------------+-------+-------+----+----
000050E2|000050E2|rchand        |rchand        |0.0.0.0|0.0.0.0|   0|   0
000050E6|000050E6|dallys        |dallys        |0.0.0.0|0.0.0.0|   0|   0
000050E8|000050E8|sana          |sana          |0.0.0.0|0.0.0.0|   0|   0
000050ED|000050ED|jdjohnson     |jdjohnson     |0.0.0.0|0.0.0.0|   0|   0
0000509F|0000509F|ritesh        |ritesh        |0.0.0.0|0.0.0.0|   0|   0
000050EE|000050EE|barbara       |barbara       |0.0.0.0|0.0.0.0|   0|   0
000050EF|000050EF|barbara       |barbara       |0.0.0.0|0.0.0.0|   0|   0
000050F0|000050F0|axis          |axis          |0.0.0.0|0.0.0.0|   0|   0
etc.....
(363 rows)

isfiji=> select a.sess_id,b.sess_id,a.user_name,b.user_name,
isfiji-> a.nas_ip,b.nas_ip,a.port,b.port from startrecs a,stoprecs b
isfiji-> where a.sess_id=b.sess_id
isfiji-> and a.user_name=b.user_name
isfiji-> and a.nas_ip=b.nas_ip;
sess_id|sess_id|user_name|user_name|nas_ip|nas_ip|port|port
-------+-------+---------+---------+------+------+----+----
(0 rows)

isfiji=>

Thanks,
John




view thread (35+ messages)  latest in thread

Message-ID: <001f01bf66c3$868237c0$ea7c3eca@john.is.com.fj>
Permalink:  ../001f01bf66c3$868237c0$ea7c3eca@john.is.com.fj/
Also on:    postgresql.org/message-id/001f01bf66c3$868237c0$ea7c3eca@john.is.com.fj

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jrh@is.com.fj, pgsql-general@hub.org
  Subject: Re: is this a bug?
  In-Reply-To: <001f01bf66c3$868237c0$ea7c3eca@john.is.com.fj>
  References: <001f01bf66c3$868237c0$ea7c3eca@john.is.com.fj>

* 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