| От | |
|---|---|
| Тема | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера