pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: msi77 <msi77@yandex.ru>
To: pgsql-sql@postgresql.org
Subject: Re: Queyring for columns which are exist in table.
Date: Wed, 26 Jan 2011 10:17:46 +0300
Message-ID: <194831296026267@web130.yandex.ru> (raw)

Why would not use information schema to checking of existence of some column in a table:

select column_name from information_schema.columns where table_name='tbl'



view thread (8+ messages)  latest in thread

Message-ID: <194831296026267@web130.yandex.ru>
Permalink:  ../194831296026267@web130.yandex.ru/
Also on:    postgresql.org/message-id/194831296026267@web130.yandex.ru

 · 

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-sql@postgresql.org
  Cc: msi77@yandex.ru
  Subject: Re: Queyring for columns which are exist in table.
  In-Reply-To: <194831296026267@web130.yandex.ru>

* 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