From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ben Kim <bkim@coe.tamu.edu>
Cc: josh@segrestfarms.com <josh@segrestfarms.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
Date: Tue, 09 Aug 2005 22:20:27 -0400
Message-ID: <21462.1123640427@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.GSO.4.10.10508091555300.22191-100000@coe.tamu.edu>
References: <Pine.GSO.4.10.10508091555300.22191-100000@coe.tamu.edu>
Ben Kim <bkim@coe.tamu.edu> writes:
>> In reviewing my tables, I found that for some strange reason a handful
>> of fields are not double-quoted. Strange quirk:
>> ...
> In my case, DTS's "create" always wrapped the field names with double
> quote. The script seems to me not from DTS.
I think it's from pg_dump. pg_dump (and most other PG-related tools)
will only quote names that need to be quoted per the PG rules ...
in other words, if it's all lower case, it does not need quotes.
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, bkim@coe.tamu.edu, josh@segrestfarms.com
Subject: Re: SQL Server 2000 to PostgreSQL 8.0.3
In-Reply-To: <21462.1123640427@sss.pgh.pa.us>
References: <Pine.GSO.4.10.10508091555300.22191-100000@coe.tamu.edu> <21462.1123640427@sss.pgh.pa.us>
* 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