Re: overwrite column data select - Postgres 9.2

Поиск
Список
Период
Сортировка
От
Тема Re: overwrite column data select - Postgres 9.2
Дата
Msg-id 20160921053930.7602055C@m0087797.ppops.net
обсуждение исходный текст
Ответ на overwrite column data select - Postgres 9.2  (Patrick B <patrickbakerbr@gmail.com>)
Список pgsql-general
> Hi guys,

> I've got a table with email column:
> email CHARACTER VARYING(50) DEFAULT ''::CHARACTER VARYING NOT NULL,

> There are 30k rows and the email column is not null... there is data in there.
> But for testing purpose I need to overwrite the email. So the customer won't get an email from me while testing code.

> The email could be replaced by: test.UID@example.com

> How can I do that?
> Thanks!
> Patrick

In my mind, that's not a DB issue but an application issue since Pg doesn't send email (or I haven't seen that ability
init). So change the application that does the sending and comment out the "send" call. If you don't have the source
forthe app and can't do that, then disable the sending part at the OS level; a good sys-admin should have no trouble
withthat (turning off sendmail or whatever). 

HTH,
Kevin


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

Предыдущее
От: Patrick B
Дата:
Сообщение: generate CSV with Copy+Quotes - Postgres 9.2
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: generate CSV with Copy+Quotes - Postgres 9.2