[GENERAL] Backward compatibility

Поиск
Список
Период
Сортировка
От Igor Korot
Тема [GENERAL] Backward compatibility
Дата
Msg-id CA+FnnTwNnYv-U98Nuaxqi2jJfTaxbzb+Ezk+ppQEpsX3MnOo1Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] Backward compatibility
Re: [GENERAL] Backward compatibility
Список pgsql-general
Hi, ALL,
According to the documentation PostgreSQL 9.6 (latest) supports

CREATE INDEX IF NOT EXIST

However, the version 9.4 and below supports only

CREATE INDEX.

Is there a query or a libpg function which can return the version of
the server I'm running?

And in the latter case - is there a way to check if the index exist?

I guess I will have to query "information_schema" again...

Thank you.


В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] Bug in postgres 9.6.2?
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: Re: [GENERAL] Backward compatibility