pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Pflug <pgadmin@pse-consulting.de>
To: John R Pierce <pierce@hogranch.com>
Cc: Llewellyn Falco <isidore@setgame.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: request
Date: Sat, 07 May 2005 20:00:46 +0200
Message-ID: <427D024E.8030403@pse-consulting.de> (raw)
In-Reply-To: <427C53F1.40207@hogranch.com>
References: <00fd01c552b6$ae4f1130$0a01a8c0@lfalco>
	<427C53F1.40207@hogranch.com>

John R Pierce wrote:

>> I would really like postgres to model the alter syntax of mysql, 
>> which is really easy to modify table schema especially to include the 
>> AFTER col_name  part.
>
>
> A) why does the order of the columns in a particular table matter at all?

If coding without caring (about portability/robustness), unfortunately 
programmers are seduced by MySQL to work like that..

>
> B) is this any sort of SQL standard?

Definitely no.
Do not use SELECT * if you need a specific column ordering, *that* is 
SQL standard.

Regards,
Andreas





view thread (8+ messages)  latest in thread

Message-ID: <427D024E.8030403@pse-consulting.de>
Permalink:  ../427D024E.8030403@pse-consulting.de/
Also on:    postgresql.org/message-id/427D024E.8030403@pse-consulting.de

 · 

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-bugs@postgresql.org
  Cc: pgadmin@pse-consulting.de, pierce@hogranch.com, isidore@setgame.com
  Subject: Re: request
  In-Reply-To: <427D024E.8030403@pse-consulting.de>
  References: <00fd01c552b6$ae4f1130$0a01a8c0@lfalco> <427C53F1.40207@hogranch.com> <427D024E.8030403@pse-consulting.de>

* 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