pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas G. Lockhart <lockhart@alumni.caltech.edu>
To: Bruce Momjian <maillist@candle.pha.pa.us>
To: Tatsuo Ishii <t-ishii@sra.co.jp>
Cc: hackers@postgreSQL.org
Subject: Re: [HACKERS] Open 6.4 items
Date: Tue, 25 Aug 1998 06:28:35 +0000
Message-ID: <35E25993.CA72C45C@alumni.caltech.edu> (raw)
References: <199808250258.WAA02834@candle.pha.pa.us>

> > > SERIAL type auto-creates sequence
> This would be nice to have for 6.4.  Someone mentioned you can create
> the sequence before the table, so maybe we can jam it in. If it is not
> 100% correct, we have a month to make it correct, right?

postgres=> create table s (x text, i serial);
NOTICE:  CREATE TABLE will create implicit sequence s_i_seq for SERIAL
column s.i
CREATE
postgres=> insert into s values ('one');
INSERT 894455 1
postgres=> insert into s values ('two');
INSERT 894456 1
postgres=> insert into s values ('three');
INSERT 894457 1
postgres=> select * from s;
x    |i
-----+-
one  |1
two  |2
three|3
(3 rows)

> > > remove PARSEDEBUG defines if not longer needed
> Remember, I suggested a way you could keep them with more eligant
> defines.  Any comments?

Well, I think that at least most of them should come out of the code
altogether. The more elegant solution probably leads to code clutter
also, just a bit more readable since it indents with the rest of the
code.

> > > double-quotes from pg_dump of field names
> > I have some patches for this, but have not had time to test yet.
> Cool.  Let the beta testers test it!

Hmm. So that would make them alpha testers, right? :) Might be OK for
this one, if someone is willing to try it. I'd hate to make a change and
then forget about it though. Tatsuo?

                       - Tom



view thread (141+ messages)  latest in thread

Message-ID: <35E25993.CA72C45C@alumni.caltech.edu>
Permalink:  ../35E25993.CA72C45C@alumni.caltech.edu/
Also on:    postgresql.org/message-id/35E25993.CA72C45C@alumni.caltech.edu

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: lockhart@alumni.caltech.edu, maillist@candle.pha.pa.us, t-ishii@sra.co.jp, hackers@postgreSQL.org
  Subject: Re: [HACKERS] Open 6.4 items
  In-Reply-To: <35E25993.CA72C45C@alumni.caltech.edu>

* 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