PgAdmin errors

Поиск
Список
Период
Сортировка
От Hall, Samuel L (Sam)
Тема PgAdmin errors
Дата
Msg-id 69751890A64B3241A83BDB52A30BF29D1936F5B6@US70UWXCHMBA02.zam.alcatel-lucent.com
обсуждение исходный текст
Ответы Re: PgAdmin errors  (John R Pierce <pierce@hogranch.com>)
Список pgsql-general

When I try to run SQL from PgAdmin : CREATE TABLE tse_history_old LIKE tse_history INCLUDING ALL WITH OIDS

I get this  error

ERROR:  syntax error at or near "LIKE"

LINE 2: CREATE TABLE tse_history_old LIKE tse_history INCLUDING ALL ...

 

testing, I find that using the word “LIKE” always causes errors

 

"PostgreSQL 9.3.0 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3, 64-bit"

Running PgAdmin on Windows 7 64 bit

 

What I need to do is copy a table completely, all data, indexes, keys

 

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

Предыдущее
От: Tim Spencer
Дата:
Сообщение: Re: Disk Encryption in Production
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: To monitor the number of PostgreSQL database connections?