Личный кабинет
Укажите e-mail, на который будет выслан код восстановления пароля.
На указанный вами адрес e-mail был выслан код подтверждения аккаунта. Введите полученный код для продолжения:
Введите новый пароль два раза:
Hi guys,i've got this column:path_name character varying(255)I store full S3 bucket path for the attachments of my application on it; example:/{s3bucket}/filesuser/client/27801123/attachment/4510/main/{s3bucket}/filesuser/client/27801123/attachment/4510/fileI wanna do a select, where path_name has only 'main' and not anything else.
path_name character varying(255)
/{s3bucket}/filesuser/client/27801123/attachment/4510/main
/{s3bucket}/filesuser/client/27801123/attachment/4510/file
On Apr 6, 2017 05:57, "Patrick B" <patrickbakerbr@gmail.com> wrote:Hi guys,i've got this column:path_name character varying(255)I store full S3 bucket path for the attachments of my application on it; example:/{s3bucket}/filesuser/client/27801123/attachment/4510/main/{s3bucket}/filesuser/client/27801123/attachment/4510/fileI wanna do a select, where path_name has only 'main' and not anything else.WHERE path_nane LIKE '%/main'
WHERE (path_name)::text ~ '^\/filesuser\/client/\d+/(attachment)/\d+/(main)+'