Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YzCc2-0007CA-Vp for pgsql-docs@arkaria.postgresql.org; Sun, 31 May 2015 23:25:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YzCc2-000886-Ex for pgsql-docs@arkaria.postgresql.org; Sun, 31 May 2015 23:25:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YzCc1-00087y-MF for pgsql-docs@postgresql.org; Sun, 31 May 2015 23:25:49 +0000 Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YzCbx-00022c-Ib for pgsql-docs@postgresql.org; Sun, 31 May 2015 23:25:48 +0000 Received: by lbcmx3 with SMTP id mx3so74627095lbc.1 for ; Sun, 31 May 2015 16:25:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=5CTlOTYmeP996mQOK1pKv3qrudYvYO0mVHeCgAyBd88=; b=ajty8AbGK97Ghlk9TM1qrCm9yK4poP4tVHfRQYJs6/RBJCAo28hiE+SOYIhFpSHjyh /Bg6KaV4H6gfkoqLvo4Cu4NxNfSyQQ14bGKsh1H6O2ubcLhay5LZTnLfqClFeAsBGmGZ 5m9DkTeg5xFxa50wZucaMQHQEV3gcjPOArTFO5YB8r/llJsBaKMo+IewlFJpQwwTOwa8 dmaGOOM4JvNJHM0YPTO0equq8CLL8rJfEpRx4VWX+5FDTjrj7DQZB+BellCO1gAdocZ5 Dt543XkNrHvHbI/pAf5V31VoZQaNPFBB/k44tduXayLFyscKNXjbjChH6WYBoDLBYRdz e1pw== X-Received: by 10.112.220.7 with SMTP id ps7mr18059949lbc.72.1433114743938; Sun, 31 May 2015 16:25:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.3.101 with HTTP; Sun, 31 May 2015 16:25:13 -0700 (PDT) In-Reply-To: <32511.1433110471@sss.pgh.pa.us> References: <32009.1433109284@sss.pgh.pa.us> <32511.1433110471@sss.pgh.pa.us> From: =?UTF-8?B?Q2zDqW1lbnQgUHLDqXZvc3Q=?= Date: Mon, 1 Jun 2015 01:25:13 +0200 Message-ID: Subject: Re: Documentation on information_ schema columns that does not exist To: Tom Lane Cc: Peter Eisentraut , pgsql-docs@postgresql.org Content-Type: multipart/mixed; boundary=001a1134d9103c80060517690736 X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --001a1134d9103c80060517690736 Content-Type: multipart/alternative; boundary=001a1134d9103c80000517690734 --001a1134d9103c80000517690734 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Well spotted! I attached 2 patches: 1 to fix erroneous documentation and the other to fix information schema types. regards, cl=C3=A9ment pr=C3=A9vost On 1 June 2015 at 00:14, Tom Lane wrote: > I wrote: > > Another problem in the same area is that the column types of > > foreign_table_schema and foreign_table_name seem to be "name": > > Further pursuant to that, these are the information_schema columns > that don't seem to have been cast to the spec-required type: > > column_options | column_name | name > column_options | table_name | name > column_options | table_schema | name > foreign_table_options | foreign_table_name | name > foreign_table_options | foreign_table_schema | name > foreign_tables | foreign_table_name | name > foreign_tables | foreign_table_schema | name > > regards, tom lane > --001a1134d9103c80000517690734 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well spotted!

I attached 2 p= atches: 1 to fix erroneous documentation and the other to fix information s= chema types.

regards, cl=C3=A9ment pr=C3=A9vost

On 1 June 2015 at 00:14, Tom Lane <tgl@s= ss.pgh.pa.us> wrote:
= I wrote:
> Another problem in the same area is that the column types of
> foreign_table_schema and foreign_table_name seem to be "name"= ;:

Further pursuant to that, these are the information_schema columns that don't seem to have been cast to the spec-required type:

=C2=A0column_options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | column_name= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | name
=C2=A0column_options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | table_name= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| name
=C2=A0column_options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | table_schem= a=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| name
=C2=A0foreign_table_options=C2=A0 =C2=A0 =C2=A0| foreign_table_name=C2=A0 = =C2=A0| name
=C2=A0foreign_table_options=C2=A0 =C2=A0 =C2=A0| foreign_table_schema | nam= e
=C2=A0foreign_tables=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | foreign_tab= le_name=C2=A0 =C2=A0| name
=C2=A0foreign_tables=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | foreign_tab= le_schema | name

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 regards, tom lane

--001a1134d9103c80000517690734-- --001a1134d9103c80060517690736 Content-Type: application/octet-stream; name="conform-information-schema-foreign-table-column-type-to-spec.patch" Content-Disposition: attachment; filename="conform-information-schema-foreign-table-column-type-to-spec.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iad329uo0 ZGlmZiAtLWdpdCBhL3NyYy9iYWNrZW5kL2NhdGFsb2cvaW5mb3JtYXRpb25f c2NoZW1hLnNxbCBiL3NyYy9iYWNrZW5kL2NhdGFsb2cvaW5mb3J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lKCkgQVMgc3Fs X2lkZW50aWZpZXIpIEFTIGZvcmVpZ25fdGFibGVfY2F0YWxvZywKLSAgICAg ICAgICAgbi5uc3BuYW1lIEFTIGZvcmVpZ25fdGFibGVfc2NoZW1hLAotICAg ICAgICAgICBjLnJlbG5hbWUgQVMgZm9yZWlnbl90YWJsZV9uYW1lLAorICAg ICAgICAgICBDQVNUKG4ubnNwbmFtZSBBUyBzcWxfaWRlbnRpZmllcikgQVMg Zm9yZWlnbl90YWJsZV9zY2hlbWEsCisgICAgICAgICAgIENBU1QoYy5yZWxu YW1lIEFTIHNxbF9pZGVudGlmaWVyKSBBUyBmb3JlaWduX3RhYmxlX25hbWUs CiAgICAgICAgICAgIHQuZnRvcHRpb25zIEFTIGZ0b3B0aW9ucywKICAgICAg ICAgICAgQ0FTVChjdXJyZW50X2RhdGFiYXNlKCkgQVMgc3FsX2lkZW50aWZp ZXIpIEFTIGZvcmVpZ25fc2VydmVyX2NhdGFsb2csCiAgICAgICAgICAgIENB U1Qoc3J2bmFtZSBBUyBzcWxfaWRlbnRpZmllcikgQVMgZm9yZWlnbl9zZXJ2 ZXJfbmFtZSwK --001a1134d9103c80060517690736 Content-Type: application/octet-stream; name="remove-invalid-information-schema-doc.patch" Content-Disposition: attachment; filename="remove-invalid-information-schema-doc.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iad329vf1 ZGlmZiAtLWdpdCBhL2RvYy9zcmMvc2dtbC9pbmZvcm1hdGlvbl9zY2hlbWEu c2dtbCBiL2RvYy9zcmMvc2dtbC9pbmZvcm1hdGlvbl9zY2hlbWEuc2dtbApp bmRleCBjYTFmMjBiLi5jNmU2YzlkIDEwMDY0NAotLS0gYS9kb2Mvc3JjL3Nn bWwvaW5mb3JtYXRpb25fc2NoZW1hLnNnbWwKKysrIGIvZG9jL3NyYy9zZ21s L2luZm9ybWF0aW9uX3NjaGVtYS5zZ21sCkBAIC0yODk4LDE4ICsyODk4LDYg QEAgT1JERVIgQlkgYy5vcmRpbmFsX3Bvc2l0aW9uOwogICAgICA8L3Jvdz4K IAogICAgICA8cm93PgotICAgICAgPGVudHJ5PjxsaXRlcmFsPmZvcmVpZ25f c2VydmVyX2NhdGFsb2c8L2xpdGVyYWw+PC9lbnRyeT4KLSAgICAgIDxlbnRy eT48dHlwZT5zcWxfaWRlbnRpZmllcjwvdHlwZT48L2VudHJ5PgotICAgICAg PGVudHJ5Pk5hbWUgb2YgdGhlIGRhdGFiYXNlIHRoYXQgdGhlIGZvcmVpZ24g c2VydmVyIGlzIGRlZmluZWQgaW4gKGFsd2F5cyB0aGUgY3VycmVudCBkYXRh YmFzZSk8L2VudHJ5PgotICAgICA8L3Jvdz4KLQotICAgICA8cm93PgotICAg ICAgPGVudHJ5PjxsaXRlcmFsPmZvcmVpZ25fc2VydmVyX25hbWU8L2xpdGVy YWw+PC9lbnRyeT4KLSAgICAgIDxlbnRyeT48dHlwZT5zcWxfaWRlbnRpZmll cjwvdHlwZT48L2VudHJ5PgotICAgICAgPGVudHJ5Pk5hbWUgb2YgdGhlIGZv cmVpZ24gc2VydmVyPC9lbnRyeT4KLSAgICAgPC9yb3c+Ci0KLSAgICAgPHJv dz4KICAgICAgIDxlbnRyeT48bGl0ZXJhbD5vcHRpb25fbmFtZTwvbGl0ZXJh bD48L2VudHJ5PgogICAgICAgPGVudHJ5Pjx0eXBlPnNxbF9pZGVudGlmaWVy PC90eXBlPjwvZW50cnk+CiAgICAgICA8ZW50cnk+TmFtZSBvZiBhbiBvcHRp b248L2VudHJ5Pgo= --001a1134d9103c80060517690736 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --001a1134d9103c80060517690736--